/* client/auth/forgot_password.php · bloque 1 · movido fuera del HTML el 2026-09-24 (punto 4: style-src sin 'unsafe-inline') */
        /* ===================================================================
           ESTILOS PARA RECUPERACIÓN DE CONTRASEÑA
           =================================================================== */
        
        body {
            background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;   /* LA COLA 466 (medido a 390 px): en fila, el aviso de la Ley 679 del pie quedaba AL LADO
                                          del formulario y lo estrujaba (los campos, 35 px de ancho en un iPhone); en columna, va debajo */
            color: #e8e8e8;            /* y sin color, ese aviso heredaba el negro sobre el fondo oscuro (1,0:1) */
            align-items: center;
            justify-content: center;
            padding: env(safe-area-inset-top, 20px) env(safe-area-inset-right, 20px) env(safe-area-inset-bottom, 20px) env(safe-area-inset-left, 20px);
        }
        
        .forgot-container {
            width: 100%;
            max-width: 500px;
            padding: 2rem;
        }
        
        .forgot-card {
            background: rgba(26, 26, 26, 0.95);
            border: 2px solid rgba(201, 162, 39, 0.3);
            border-radius: 24px;
            padding: 3rem 2.5rem;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }
        
        .logo-container {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .logo-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 1rem;
            background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: #000;
        }
        
        .forgot-card h1 {
            font-family: var(--font-display);
            font-size: 2rem;
            color: #fff;
            text-align: center;
            margin-bottom: 0.5rem;
        }
        
        .forgot-card p {
            text-align: center;
            color: #999;
            font-size: 0.95rem;
            margin-bottom: 2rem;
        }
        
        .alert {
            padding: 1rem;
            border-radius: 12px;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .alert-error {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid var(--error-color);
            color: var(--error-color);
        }
        
        .alert-success {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid var(--success-color);
            color: var(--success-color);
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-label {
            display: block;
            color: #fff;
            font-weight: 600;
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }
        
        .form-input {
            width: 100%;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(201, 162, 39, 0.2);
            border-radius: 12px;
            color: #fff;
            font-size: 1rem;
            transition: all 0.3s;
        }
        
        .form-input:focus {
            outline: none;
            border-color: var(--gold-primary);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
        }
        
        .btn-submit {
            width: 100%;
            padding: 1rem;
            background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
            color: #000;
            border: none;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 1rem;
        }
        
        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(201, 162, 39, 0.4);
        }
        
        .btn-submit:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }
        
        .back-link {
            text-align: center;
            margin-top: 1.5rem;
        }
        
        .back-link a {
            color: var(--gold-primary);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s;
        }
        
        .back-link a:hover {
            color: var(--gold-light);
        }
        
        .security-notice {
            background: rgba(255, 255, 255, 0.05);
            border-left: 3px solid var(--gold-primary);
            padding: 1rem;
            border-radius: 8px;
            margin-top: 2rem;
        }
        
        .security-notice h3 {
            color: var(--gold-primary);
            font-size: 0.95rem;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .security-notice p {
            color: #ccc;
            font-size: 0.85rem;
            text-align: left;
            margin: 0;
        }
        
        @media (max-width: 768px) {
            .forgot-container {
                padding: 1rem;
            }
            
            .forgot-card {
                padding: 2rem 1.5rem;
            }
            
            .forgot-card h1 {
                font-size: 1.5rem;
            }
        }
    

/* 2026-10-27 (medido con tools/pruebas/barrido_movil.mjs a 390 px): la tarjeta usaba el 78 % del ancho (52 + 32 px de rellenos). En el teléfono, ~90 %. */
@media (max-width: 480px) {
    .forgot-container { padding-left: 8px; padding-right: 8px; }
    .forgot-card { padding-left: 16px; padding-right: 16px; }
}
