:root { --auth-line: rgba(205, 233, 255, .28); }
.auth-body { min-height: 100vh; background-position: 64% center; }
.auth-body::before { background: linear-gradient(90deg, rgba(0, 19, 50, .88), rgba(1, 44, 90, .52)); }
.auth-shell { position: relative; z-index: 1; width: min(100% - 32px, 560px); margin: 0 auto; padding: 42px 0 34px; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; margin-bottom: 18px; padding: 0 15px; border: 1px solid rgba(205, 233, 255, .3); border-radius: 999px; color: #d9edfb; background: rgba(3, 40, 82, .42); font-size: 12px; font-weight: 600; transition: border-color .2s, background .2s, transform .2s; }
.auth-back:hover { border-color: rgba(139, 209, 255, .72); background: rgba(9, 79, 137, .56); transform: translateX(-2px); }
.auth-back:focus-visible { outline: 3px solid rgba(84, 186, 255, .35); outline-offset: 3px; }
.auth-brand { display: block; width: max-content; margin: 0 auto 28px; font: italic 500 38px/1 var(--serif); letter-spacing: -2px; }
.auth-card { padding: 38px 42px; border: 1px solid var(--auth-line); border-radius: 24px; background: linear-gradient(145deg, rgba(8, 65, 116, .88), rgba(1, 31, 69, .92)); box-shadow: 0 28px 80px rgba(0, 15, 43, .45); backdrop-filter: blur(18px); }
.auth-eyebrow { margin: 0 0 9px; color: #b9dcf5; font-size: 10px; font-weight: 600; letter-spacing: .38em; }
.auth-card h1 { margin: 0 0 22px; font: 500 clamp(40px, 9vw, 57px)/.95 var(--serif); letter-spacing: -1.7px; }
.auth-intro { margin: -9px 0 24px; color: #cfe1ef; font-size: 14px; line-height: 1.65; }
.auth-form { display: grid; gap: 17px; }
.auth-field { display: grid; gap: 7px; }
.auth-field label { font-size: 12px; font-weight: 600; color: #dcebf7; }
.auth-field input, .auth-field select { width: 100%; min-height: 50px; border: 1px solid rgba(218, 239, 255, .28); border-radius: 12px; padding: 0 15px; outline: none; color: white; background: rgba(0, 31, 67, .48); font: 14px var(--sans); transition: border-color .2s, box-shadow .2s; }
.auth-field input:focus, .auth-field select:focus { border-color: #54baff; box-shadow: 0 0 0 3px rgba(20, 151, 246, .17); }
.auth-field input::placeholder { color: rgba(220, 236, 248, .47); }
.auth-field select option { color: #092846; background: white; }
.auth-code { text-align: center; font-size: 28px !important; font-weight: 600 !important; letter-spacing: .34em; font-variant-numeric: tabular-nums; }
.auth-button { width: 100%; margin-top: 4px; min-height: 52px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; color: #c8dced; font-size: 12px; }
.auth-row a, .auth-link { color: #8bd1ff; text-decoration: underline; text-underline-offset: 3px; }
.auth-alert { margin: 0 0 20px; padding: 12px 14px; border-radius: 11px; font-size: 13px; line-height: 1.5; }
.auth-alert-error { color: #ffe3e3; border: 1px solid rgba(255, 142, 142, .35); background: rgba(142, 18, 39, .28); }
.auth-alert-success { color: #e1ffef; border: 1px solid rgba(99, 230, 164, .35); background: rgba(14, 110, 74, .27); }
.auth-alert-info { color: #e4f4ff; border: 1px solid rgba(111, 194, 249, .32); background: rgba(13, 94, 148, .3); }
.auth-legal { margin: 18px auto 0; max-width: 430px; text-align: center; color: rgba(211, 228, 241, .58); font-size: 10px; line-height: 1.5; }
.auth-actions { display: grid; gap: 12px; margin-top: 25px; }
.auth-actions .button { width: 100%; }
.account-list { display: grid; gap: 10px; margin: 25px 0; }
.account-list div { padding: 13px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(0,29,64,.28); }
.account-list dt { margin-bottom: 4px; color: #9fc8e5; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }
.account-list dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .auth-shell { padding-top: 27px; }
  .auth-brand { font-size: 32px; margin-bottom: 20px; }
  .auth-card { padding: 30px 23px; border-radius: 20px; }
  .auth-row { align-items: flex-start; flex-direction: column; }
}

