 
        :root {
            --azul: #1e3a8a;
            --rojo: #dc2626;
            --blanco: #ffffff;
            --gris: #f3f4f6;
        }

        body {
            font-family: 'Segoe UI', sans-serif;
            background-color: var(--gris);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
        }

        /* Contenedor Principal */
        .container {
            background: var(--blanco);
            width: 90%;
            max-width: 450px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }

        .banner img {
            width: 100%;
            height: 120px;
            object-fit: cover;
        }

        .form-content { padding: 25px; }

        h2 { color: var(--azul); text-align: center; margin-top: 0; }

        .form-group { margin-bottom: 15px; }

        label { display: block; margin-bottom: 5px; font-weight: 600; color: #333; }

        /* Campos Obligatorios */
        input, select {
            width: 100%;
            padding: 10px;
            border: 2px solid #ddd;
            border-radius: 6px;
            box-sizing: border-box;
        }

        input:required, select:required {
            border-left: 5px solid var(--rojo); /* Marca visual de obligatorio */
        }

        .btn-submit {
            width: 100%;
            padding: 12px;
            background: var(--rojo);
            color: white;
            border: none;
            border-radius: 6px;
            font-weight: bold;
            cursor: pointer;
            font-size: 16px;
        }

        /* Estilos de la Modal */
        .modal-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.6);
            display: none; /* Oculta por defecto */
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .modal {
            background: white;
            padding: 30px;
            border-radius: 12px;
            text-align: center;
            max-width: 300px;
            border-top: 8px solid var(--azul);
        }

        .modal h3 { color: var(--azul); margin-bottom: 10px; }
        
        .btn-close {
            background: var(--azul);
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 15px;
        }
   
        /* Estilo compartido para inputs y selects */
        input, .select-field {
            width: 100%;
            padding: 12px;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            box-sizing: border-box;
            transition: border-color 0.3s ease;
            background-color: white; /* Asegura fondo blanco en el select */
            font-size: 1rem;
        }

        input:focus, .select-field:focus {
            outline: none;
            border-color: var(--azul-primario);
        }
  
        /* Estilos para el checkbox de privacidad */
        .form-checkbox {
            display: flex;
            align-items: flex-start; /* Alinea al inicio si el texto es largo */
            gap: 10px;
            margin-bottom: 1.5rem;
        }

        .form-checkbox input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-top: 2px; /* Alineación fina con el texto */
            cursor: pointer;
            accent-color: var(--azul-primario); /* Cambia el color del check al azul */
        }

        .form-checkbox label {
            font-size: 0.85rem;
            color: #4b5563;
            font-weight: normal; /* Menos peso que las etiquetas de los inputs */
            line-height: 1.4;
            cursor: pointer;
        }

        .form-checkbox label a {
            color: var(--azul-primario);
            text-decoration: underline;
            font-weight: 600;
        }

        .form-checkbox label a:hover {
            color: var(--rojo-primario);
        }

