/* Auth screens (login, signup, forgot, reset, check-email, verify). Loaded after app.css. */
.auth-shell { background: var(--bg); }
.auth-hero { padding: 56px 52px; gap: 20px; }
.auth-hero > *:not(.hero-shape) { position: relative; z-index: 1; }
.auth-hero .brand { font-size: 22px; margin-bottom: 12px; }
.auth-hero .hero-title { font-size: 32px; line-height: 1.2; color: #fff; margin: 0; max-width: 440px; letter-spacing: -.02em; }
.hero-points { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hero-points li { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 15px; }
.hero-points .auth-ico { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.14); color: #fff; box-sizing: border-box; }
.hero-shape { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero-shape.s1 { width: 260px; height: 260px; top: -90px; right: -70px; background: rgba(141,187,228,.22); }
.hero-shape.s2 { width: 120px; height: 120px; left: -40px; bottom: 90px; border: 18px solid rgba(244,165,131,.35); }
.hero-shape.s3 { width: 70px; height: 70px; right: 22%; bottom: 40px; background: rgba(244,165,131,.4); }
.auth-panel { padding: 24px 16px; }
.auth-panel .auth { padding: 0; max-width: 420px; }
.auth-panel .auth > .card { padding: 28px; border-radius: var(--r-card); box-shadow: var(--shadow); }
.auth-panel .auth .auth-brand { display: none; justify-content: center; }
.auth h1 { font-size: 24px; margin: 0; letter-spacing: -.01em; }
.auth .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
/* One action per line, all the same size (submit buttons, "back to login", resend). */
.auth form button[type=submit], .auth-actions > * { width: 100%; justify-content: center; min-height: 44px; }
.auth-actions { display: flex; flex-direction: column; gap: 10px; }
.auth .card > p { margin: 0; }
.auth-back { margin: 0; }
/* login, step 2 (2FA): the account is shown read-only with a "change" link */
.auth-ident { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel-2); }
.auth-ident .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.auth-ident .ico { color: var(--muted); }
input.otp-input { font: 600 22px/1.2 ui-monospace, Consolas, monospace; letter-spacing: .35em; text-align: center; padding: 10px 12px; }
input.otp-input::placeholder { letter-spacing: .35em; opacity: .35; }
@media (max-width: 800px) {
  .auth-panel .auth .auth-brand { display: flex; }
  .auth-panel { align-items: flex-start; padding-top: 28px; }
  .auth-panel .auth > .card { padding: 20px; }
}
@media (max-width: 400px) {
  .auth-panel { padding: 16px 12px; }
}
