:root {
  color-scheme: light;
  --ink: #05070b;
  --muted: #65707a;
  --line: #d9dee3;
  --primary: #d71920;
  --primary-2: #b91218;
  font-family:
    Jost, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(5, 7, 11, 0.96), rgba(8, 13, 20, 0.9)),
    linear-gradient(90deg, rgba(215, 25, 32, 0.2), transparent 34%),
    #05070b;
}

button,
input {
  font: inherit;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(430px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  color: var(--ink);
}

.brand-emblem {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  background: #05070b;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.brand-wordmark {
  font-size: 27px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 900;
}

p {
  margin: 4px 0 0;
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 13px;
}

label {
  display: grid;
  gap: 6px;
}

label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 11px;
  outline: none;
}

input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.13);
}

button {
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(180deg, #e51c24, var(--primary));
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(215, 25, 32, 0.2);
}

button:hover {
  background: var(--primary-2);
}

.message {
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
}

.message.error {
  color: #a20f16;
}

.hidden {
  display: none;
}
