/* Sign-in pages (login, forgot password, set password): glass card centred on the page. Needs glass.css. */
.auth-wrap { position: relative; min-height: 100vh; display: flex; flex-direction: column; padding: 24px; gap: 40px; }
.auth-top { width: 100%; max-width: 1360px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.auth-main { flex: 1; display: flex; justify-content: center; align-items: flex-start; }
.auth { width: 100%; max-width: 420px; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.auth h1 { font-size: 20px; }
.auth p { margin: 0; }
.auth .field input { width: 100%; }
.auth .btn.wide { width: 100%; }
.auth .links { text-align: center; font-size: 13px; color: var(--txt2); }
.auth .hint { font-size: 13.5px; }
.auth .info { font-size: 13.5px; line-height: 1.55; color: var(--txt2); }
.auth .chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--txt2); line-height: 1.5; cursor: pointer; }
.auth .chk input { margin-top: 2px; }
#error-message {
    display: none; padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5;
    color: color-mix(in srgb, var(--bad) 45%, #fff);
    border: 1px solid color-mix(in srgb, var(--bad) 40%, transparent);
    background: color-mix(in srgb, var(--bad) 11%, transparent);
}
#info-box { padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.divider { height: 1px; background: var(--line); }
.backup-codes { font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.9; letter-spacing: .04em; padding: 14px 16px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); margin: 0; columns: 2; user-select: all; white-space: pre; }
.auth form, #passkey-step, #offer-step, #backup-step, #passwordless { display: flex; flex-direction: column; gap: 18px; }
.auth form[hidden], #passkey-step[hidden], #offer-step[hidden], #backup-step[hidden], #passwordless[hidden] { display: none; }
