/* Signed-out pages: login, OTP verification, registration, phone change and
   account deletion. Layout primitives (.auth-container, .auth-card, .auth-btn)
   live in theme.css; this file only adds what those pages need on top. */

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Brand lockup ===== */
.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}

.auth-brand picture {
    display: block;
}

.auth-brand img {
    display: block;
    width: auto;
    height: 56px;
}

.auth-brand .logo-sub {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text-secondary);
}

.auth-intro {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0 0 1.25rem;
    text-align: center;
}

/* ===== One-time code input ===== */
.otp-input {
    text-align: center;
    letter-spacing: 0.5rem;
    font-size: 1.5rem;
    padding: 0.75rem;
}

.htmx-request .auth-btn {
    opacity: 0.6;
}

.auth-btn-spaced {
    margin-top: 1.25rem;
}

/* ===== Debug OTP banner (DEBUG builds only) ===== */
.auth-debug-otp {
    margin-bottom: 1rem;
    text-align: center;
}

.auth-debug-otp code {
    font-weight: 700;
}

/* ===== Footer ===== */
.auth-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 1rem;
}

.auth-footer a {
    color: var(--text-tertiary);
    font-size: 0.8125rem;
    text-decoration: none;
}

.auth-cancel {
    margin-top: 1rem;
    text-align: center;
}
