:root {
  color: #fff;
  background: #0b1220;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --bg: #0b1220;
  --surface: #101928;
  --surface-raised: #162235;
  --red: #e11d2e;
  --red-dark: #b91524;
  --white: #fff;
  --silver: #a9adb5;
  --line: rgba(255, 255, 255, .14);
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.auth-card {
  width: min(100%, 360px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

.brand-logo {
  display: block;
  width: 148px;
  height: auto;
  margin-bottom: 26px;
}

h1 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
}

form {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

label {
  color: var(--silver);
  font-size: .78rem;
  font-weight: 650;
}

input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  background: var(--surface-raised);
  color: var(--white);
  font: inherit;
}

input:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

button {
  min-height: 44px;
  margin-top: 4px;
  border: 1px solid var(--red);
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

button:hover { background: var(--red-dark); border-color: var(--red-dark); }
button:disabled { cursor: wait; opacity: .62; }

.status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--silver);
  font-size: .82rem;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .auth-shell { padding: 16px; }
  .auth-card { padding: 24px; }
  .brand-logo { width: 140px; margin-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; }
}
