/* ============================================================================
    AUTH — tchronos
    Estilos exclusivos de páginas de autenticación.
    Se carga junto con app.css en: login, register, forgot-password, reset-password.
   ============================================================================ */

/* ============================================================================
    1. LAYOUT AUTH
   ============================================================================ */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: var(--space-4);
}

/* Base móvil: card ocupa toda la pantalla, sin sombra, sin bordes redondeados */
.auth-card {
    background: var(--bg-card);
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    padding: var(--space-6);
}

/* Tablet+: card flotante centrada */
@media (min-width: 480px) {
    .auth-card {
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow-xl);
        max-width: 420px;
        padding: var(--space-10);
    }
}

/* ============================================================================
    2. HEADER DE LA CARD
   ============================================================================ */

.auth-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.auth-logo {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-4);
}

.auth-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.auth-subtitle {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
}

/* ============================================================================
    3. LINKS
   ============================================================================ */

.auth-links {
    text-align: center;
    margin-top: var(--space-6);
}

.auth-link {
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.auth-link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.auth-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.auth-separator {
    color: var(--color-text-muted);
    margin: 0 var(--space-2);
}

/* ============================================================================
    4. BOTÓN PRIMARIO — override para contexto auth
    En auth el botón ocupa el ancho completo del formulario.
   ============================================================================ */

.btn-primary {
    width: 100%;
    padding: var(--space-4);
}

/* ============================================================================
    5. TURNSTILE — estado de verificación
   ============================================================================ */

.turnstile-status {
    margin: calc(var(--space-2) * -1) 0 var(--space-3);
    font-size: 12px;
    text-align: center;
    color: var(--color-text-muted);
}

.turnstile-status.is-verified {
    color: var(--color-success);
}

.turnstile-status.is-error {
    color: var(--color-danger);
}

