/* Standalone account pages (forgot / reset / verify / resend) — extends auth-ticket.css */
html { background: #f5f5f5; }
body.tk-auth-body-page { margin: 0; background: #f5f5f5; min-height: 100vh; font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.tk-auth-solo { min-height: 100vh; place-items: center; padding-block: 1.5rem; }
.tk-auth .tk-lead { margin: 0 0 1rem; color: #475569; font-size: .95rem; line-height: 1.5; }
.tk-auth .tk-email-chip {
    display: inline-flex; align-items: center; gap: .45rem; max-width: 100%; margin: 0 0 1rem; padding: .4rem .8rem;
    border-radius: 999px; background: #f0fdf4; border: 1px dashed #86efac; color: #065f46; font-weight: 700; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tk-auth .tk-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-top: 1rem; }
.tk-auth .tk-btn-ghost {
    appearance: none; cursor: pointer; padding: .55rem .9rem; border-radius: 10px; font: inherit; font-weight: 800; font-size: .85rem;
    color: var(--au-brand); background: #fff; border: 1.5px dashed var(--au-brand);
}
.tk-auth .tk-btn-ghost:hover:not(:disabled) { background: #f0fdf4; }
.tk-auth .tk-btn-ghost:disabled { color: #94a3b8; border-color: #cbd5e1; cursor: not-allowed; }
.tk-auth .tk-back { color: var(--au-muted); font-weight: 700; font-size: .88rem; text-decoration: none; }
.tk-auth .tk-back:hover { color: var(--au-brand); }
.tk-auth .tk-timer { margin: .2rem 0 1rem; font-size: .85rem; color: #64748b; text-align: center; }
.tk-auth .tk-timer.expired { color: #b91c1c; }
.tk-auth .tk-timer strong { font-variant-numeric: tabular-nums; }

/* six-box code entry as ticket stubs */
.tk-otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin: .4rem 0 .6rem; }
.tk-otp input {
    width: 100%; aspect-ratio: 1 / 1.15; min-width: 0; padding: 0; text-align: center; font: 800 1.5rem/1 inherit; color: #0f172a;
    border: 1.5px solid #dbe3ec; border-radius: 12px; background: #fff; caret-color: var(--au-accent);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tk-otp input:focus { outline: 0; border-color: var(--au-accent); box-shadow: 0 0 0 4px rgba(16, 185, 129, .16); }
.tk-otp input.filled { border-color: var(--au-brand); background: #f0fdf4; }
.tk-otp input:disabled { background: #f1f5f9; color: #94a3b8; }
.tk-otp.shake { animation: tkShake .35s; }
@keyframes tkShake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@media (max-width: 380px) { .tk-otp { gap: .35rem; } .tk-otp input { font-size: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { .tk-otp.shake { animation: none; } }

.tk-auth button, .tk-auth input, .tk-auth a.tk-submit { font-family: inherit; }
.tk-auth-solo .tk-auth-body { padding-top: .9rem; }
.tk-auth .tk-email-chip svg { width: 15px; height: 15px; flex: none; }
.tk-auth .tk-auth-alerts:empty { display: none; }
.tk-auth .tk-auth-alerts:not(:empty) { margin-bottom: .1rem; }
