/* Login and "use the app" pages: one centred card on the BitNetz surface. */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: linear-gradient(160deg, #24123a 0%, #3b1f5c 55%, #faf9fb 55.1%); }
.card { width: 100%; max-width: 380px; padding: 28px 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 32px rgba(36, 18, 58, .18); }
.card__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.card__logo img { height: 30px; }
.card__logo span { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .06em; color: var(--brand-dark); }
.card h1 { margin: 0 0 4px; font-size: var(--fs-4xl); }
.card p { margin: 0 0 18px; color: var(--ink-soft); line-height: 1.5; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 5px; font-size: var(--fs-sm); font-weight: 600; }
.field input { width: 100%; height: 44px; padding: 0 12px; font: inherit; font-size: var(--fs-lg); border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.field input:focus { border-color: var(--brand-dark); outline: 2px solid var(--brand-soft); }
.card .btn { width: 100%; height: 44px; justify-content: center; font-size: var(--fs-lg); }

/* --- Zwei-Faktor pages (30.11.2026): setup with QR, code at login, backup codes --- */
.card--wide { max-width: 480px; }
.field__code { letter-spacing: .3em; font-size: var(--fs-3xl) !important; font-variant-numeric: tabular-nums; text-align: center; }
.steps2fa { margin: 0 0 14px; padding-left: 20px; font-size: var(--fs-md); line-height: 1.5; }
.steps2fa li { margin-bottom: 8px; }
.qr { width: fit-content; margin: 10px 0 6px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.qr svg { display: block; }
.qr__manual { margin-bottom: 4px; font-size: var(--fs-sm); }
.qr__manual summary { cursor: pointer; color: var(--brand-dark); font-weight: 600; }
.qr__manual code { display: block; margin: 6px 0 2px; padding: 8px 10px; background: var(--brand-soft); border-radius: 4px; font-size: var(--fs-md); letter-spacing: .05em; word-break: break-all; }
.qr__manual span { color: var(--ink-soft); }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin: 0 0 18px; padding-left: 22px; }
.codes code { font-size: var(--fs-lg); font-weight: 700; letter-spacing: .08em; }
.gate__hint { margin: 14px 0 0 !important; font-size: var(--fs-xs); }
.gate__out { margin-top: 16px; text-align: center; }
.gate__out button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; font-size: var(--fs-sm); color: var(--ink-soft); cursor: pointer; text-decoration: underline; }
