/* provider/auth/forgot_password.php · bloque 1 · movido fuera del HTML el 2026-09-24 (punto 4: style-src sin 'unsafe-inline') */
        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: 20px;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        }

        .forgot-container {
            width: 100%;
            max-width: 480px;
        }

        .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, #B48A3A, #F6D46B);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: #000;
        }

        .forgot-card h1 {
            font-size: 1.75rem;
            color: #fff;
            text-align: center;
            margin-bottom: 0.5rem;
        }

        .forgot-card .subtitle {
            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 #ef4444;
            color: #ef4444;
        }

        .alert-success {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid #10b981;
            color: #10b981;
        }

        .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;
            box-sizing: border-box;
        }

        .form-input:focus {
            outline: none;
            border-color: #F6D46B;
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
        }

        .form-input::placeholder {
            color: #9a9a9a;   /* LA COLA 528 (2026-10-16, contraste MEDIDO): con #666 sobre oscuro, ~3:1 */
        }

        .btn-submit {
            width: 100%;
            padding: 1rem;
            background: linear-gradient(135deg, #B48A3A, #F6D46B);
            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: #F6D46B;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s;
        }

        .back-link a:hover {
            color: #fff;
        }

        .security-notice {
            background: rgba(255, 255, 255, 0.05);
            border-left: 3px solid #F6D46B;
            padding: 1rem;
            border-radius: 8px;
            margin-top: 2rem;
        }

        .security-notice h3 {
            color: #F6D46B;
            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; }
}

/* LA COLA 673 (2026-10-29, barrido PC↔iPhone↔Android): el formulario no llegaba al 88 % del ancho del teléfono (C-453, casi borde a borde): menos relleno a los lados */
@media (max-width: 480px) {
    body { padding-left: 0; padding-right: 0; }
    .forgot-container { padding-left: 6px; padding-right: 6px; }
    .forgot-card { padding-left: 14px; padding-right: 14px; }
}
