
        /* ==========================================
           BOTÓN TEMPORAL DE PRUEBA RÁPIDA 
           ========================================== */
        .btn-test-rapido {
            position: fixed;
            bottom: 20px;
            right: 20px;
            padding: 10px 15px;
            background-color: #ff5722; /* Color naranja llamativo */
            color: white;
            border: none;
            border-radius: 5px;
            font-family: sans-serif;
            font-size: 12px;
            font-weight: bold;
            cursor: pointer;
            z-index: 10000; /* Por encima de todo, incluso del fondo oscuro */
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
            transition: background 0.2s;
        }
        .btn-test-rapido:hover { background-color: #e64a19; }


        /* ==========================================
           ESTILOS DE LA VENTANA EMERGENTE (POP-UP)
           ========================================== */
        
        /* Fondo oscuro que cubre toda la pantalla */
        .modal-overlay {
            display: none; 
            opacity: 0;
            pointer-events: none; 
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            transition: opacity 0.3s ease; 
        }

        /* CLASE ACTIVA */
        .modal-overlay.active {
            display: flex !important;
            opacity: 1;
            pointer-events: auto;
        }

        /* La caja blanca del formulario */
        .modal-content {
            background: #ffffff;
            padding: 30px;
            border-radius: 8px;
            width: 90%;
            max-width: 450px;
            position: relative;
            box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }

        .modal-overlay.active .modal-content {
            transform: scale(1);
        }

        /* Botón para cerrar (X) */
        .close-btn {
            position: absolute;
            top: 15px; right: 20px;
            font-size: 26px;
            cursor: pointer;
            color: #666;
            transition: color 0.2s;
        }
        .close-btn:hover { color: #000; }

        /* Estilos de los campos del formulario */
        .form-group { margin-bottom: 15px; }
        .form-group label { display: block; margin-bottom: 5px; font-weight: bold; color: #333; font-family: sans-serif; }
        .form-group input {
            width: 100%; padding: 10px;
            border: 1px solid #ccc; border-radius: 4px;
            box-sizing: border-box; font-size: 14px;
        }

        /* Botón de Enviar */
        .btn-submit {
            width: 100%; padding: 12px;
            background-color: #28a745; color: white;
            border: none; border-radius: 4px;
            font-size: 16px; cursor: pointer; font-weight: bold;
            transition: background 0.3s;
        }
        .btn-submit:hover { background-color: #218838; }
        .btn-submit:disabled { background-color: #6c757d; cursor: not-allowed; }
        
        #form-response { margin-top: 15px; text-align: center; font-weight: bold; font-family: sans-serif; }
