:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #0a0d12;
  color: #edf2f7;
}
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 0, #162338 0, #0a0d12 52%);
}
.auth-card {
  width: min(100%, 430px);
  padding: 28px;
  border: 1px solid #273244;
  border-radius: 16px;
  background: rgba(16, 21, 30, .96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}
.brand {
  color: #9fc5ff;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
h1 { margin: 18px 0 8px; font-size: 1.75rem; letter-spacing: -.02em; }
p { color: #aeb9c9; line-height: 1.5; }
strong { color: #edf2f7; font-weight: 650; overflow-wrap: anywhere; }
form { display: grid; gap: 16px; margin-top: 24px; }
label { display: grid; gap: 7px; color: #dbe4ef; font-weight: 600; }
input {
  width: 100%;
  border: 1px solid #36445a;
  border-radius: 9px;
  padding: 12px 13px;
  background: #0c1119;
  color: inherit;
  font: inherit;
}
input:focus { outline: 2px solid #6ba7ff; outline-offset: 2px; }
button {
  border: 0;
  border-radius: 9px;
  padding: 12px 16px;
  background: #79adff;
  color: #07101d;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
button:disabled { cursor: wait; opacity: .65; }
.auth-symbol { display: grid; place-items: center; width: 44px; height: 44px; margin-top: 22px; border: 1px solid #36445a; border-radius: 50%; background: #121a27; color: #9fc5ff; font-size: 1.2rem; }
.link-button { padding: 0; border: 0; background: transparent; color: #9fc5ff; font-weight: 600; }
.link-button:hover { text-decoration: underline; }
.error {
  margin-top: 16px;
  border: 1px solid #7b3741;
  border-radius: 9px;
  padding: 10px 12px;
  background: #2a1419;
  color: #ffd2d7;
}
.help { margin: 0; font-size: .86rem; font-weight: 400; }
.alternate { margin: 20px 0 0; text-align: center; font-size: .9rem; }
.alternate a { color: #9fc5ff; }
@media (max-width: 480px) {
  body { place-items: start center; padding: max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom)); }
  .auth-card { margin-top: 7vh; padding: 22px; border-radius: 13px; }
  h1 { font-size: 1.5rem; }
  input, button { min-height: 44px; }
}
