/* ==========================================================================
   ARCHIVO: wwwroot/css/AuthPages.css
   Nota 1 (20/10/2026) - LGC: Estilos compartidos de las paginas de acceso sin menu
   (recuperacion de contraseña y contraseña vencida). Mismo fondo y colores que MfaVerify.
   Uso: <body class="auth-body"> ... <div class="auth-card card border-0"> ...
   ========================================================================== */

/* ── Fondo institucional ────────────────────────────────────────────────── */
body.auth-body {
    min-height: 100vh;
    background: #0D1B35;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

    body.auth-body::before {
        content: '';
        position: fixed;
        inset: 0;
        background: radial-gradient(ellipse 70% 60% at 20% 30%, rgba(27, 53, 102, .55) 0%, transparent 65%), radial-gradient(ellipse 60% 70% at 85% 75%, rgba(0, 174, 239, .08) 0%, transparent 60%);
        pointer-events: none;
    }

.auth-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(0, 174, 239, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 174, 239, .04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ── Tarjeta ────────────────────────────────────────────────────────────── */
.auth-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 40px auto 12px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}

.auth-header {
    background: linear-gradient(135deg, #1a3c6e, #2563eb);
    color: #fff;
    border-radius: 12px 12px 0 0;
    padding: 28px 32px 20px;
    text-align: center;
}

    .auth-header.auth-success { background: linear-gradient(135deg, #065f46, #059669); }
    .auth-header.auth-warning { background: linear-gradient(135deg, #7c2d12, #c2410c); }

.auth-icon {
    font-size: 2.4rem;
    margin-bottom: 6px;
}

.auth-badge {
    display: inline-block;
    background: rgba(255, 255, 255, .18);
    border-radius: 20px;
    padding: 3px 14px;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .04em;
}

.auth-text {
    color: #6B7280;
    text-align: center;
    font-size: .93rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

    .auth-text strong { color: #0D1B35; }

.auth-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #F1F5F9;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: .84rem;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 1.1rem;
}

    .auth-note i { color: #2563eb; margin-top: 3px; }

/* ── Campos de contraseña ───────────────────────────────────────────────── */
.auth-field {
    position: relative;
}

    .auth-field .form-control { padding-right: 2.6rem; }

    .auth-field .auth-eye {
        position: absolute;
        right: .8rem;
        top: 50%;
        transform: translateY(-50%);
        color: #6B7280;
        cursor: pointer;
    }

.auth-rules {
    font-size: .8rem;
    color: #6B7280;
}

/* ── Botones y enlaces ──────────────────────────────────────────────────── */
.btn-auth {
    display: block;
    background: #2563eb;
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: background .2s;
}

    .btn-auth:hover, .btn-auth:focus { background: #1a3c6e; color: #fff; }
    .btn-auth:disabled { opacity: .75; cursor: wait; }

.auth-link {
    font-size: .88rem;
    color: #6B7280;
    text-decoration: none;
}

    .auth-link:hover { color: #1a3c6e; }
    .auth-link strong { color: #2563eb; font-weight: 600; }

.auth-footer {
    position: relative;
    text-align: center;
    color: #64748B;
    font-size: .78rem;
    margin-bottom: 24px;
}
