/* ==== ESTILOS GENERALES ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif !important;
}

/* ==== SECCIÓN DEL FORMULARIO ==== */
.form-section {
    padding: 80px 0;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==== CONTENEDOR DEL FORMULARIO (Más ancho y centrado) ==== */
.formulario {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.form {
    width: 800px;
    height: 510px;
    border: 1px solid #ddd;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.formIframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
    font-weight: 300;
}

/* ==== TÍTULO DEL FORMULARIO ==== */
.form-title {
    font-size: 18px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;
}

/* ==== ESTILOS DE LOS CAMPOS DE ENTRADA (Más grandes) ==== */
input:not(#baceptapoliticas), 
select {
    width: 95%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 15px;
    background-color: #f9f9f9;
    outline: none;
    font-size: 15px;
    transition: all 0.3s ease-in-out;
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif !important;
}

input:focus, 
select:focus {
    border-color: rgb(0 165 243);
    box-shadow: 0 0 6px rgba(0, 165, 243, 0.3);
}
.iti__selected-flag {
  height: 39px !important;
  z-index: 1;
  position: relative;
  display: flex
;
  align-items: center;
  /* height: 100%; */
  padding: 0 6px 0 8px;
}
.iti * {
  box-sizing: border-box;
}
/* ==== ESTILO LABEL (Más legible) ==== */
.label {
    color: #555;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif !important;
}

/* ==== BOTÓN DE ENVÍO (Más grande) ==== */
#subButton {
    width: 50%;
    padding: 10px;
    font-size: 18px;
    font-weight: 900;
    border: none;
    background: #FDBE00;
    border-radius: 20px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 10px;
    font-family: 'Open Sans', sans-serif !important;
}

input[type="submit"],
button[type="submit"] {
    width: 40%;
    padding: 10px;
    font-size: 16px;
    font-weight: 900;
    border: none;
    background: #00AAF8;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 10px;
    font-family: 'Open Sans', sans-serif !important;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
#subButton:hover {
    background: #0088CC;
}

/* ==== CHECKBOXES ==== */
input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin-right: 8px !important;
    vertical-align: middle;
}

/* ==== ALINEACIÓN DE CHECKBOXES CON LABELS ==== */
.w3-col.s12.sin_p.control.control--checkbox {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 10px !important;
    gap: 8px !important;
}

.w3-col.s12.sin_p.control.control--checkbox label {
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.w3-col.s12.sin_p.control.control--checkbox input[type="checkbox"] {
    margin: 0 !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}

/* ==== EFECTO HOVER EN INPUTS ==== */
input:hover, select:hover {
    font-weight: bold;
    background-color: #e7e7e7;
}

/* ==== RESPONSIVE ==== */
@media screen and (max-width: 1024px) {
    .form {
        width: 620px;
        min-height: 400px;
        padding: 30px 20px;
    }

    .form-title {
        font-size: 22px;
    }

    .formIframe {
        height: 600px;
    }

    input:not(#baceptapoliticas), 
    select {
        padding: 8px;
        font-size: 14px;
    }

    #subButton {
        font-size: 14px;
        padding: 8px;
    }
}

@media screen and (max-width: 480px) {
    .form {
        width: 420px !important;
        height: 555px !important;
        margin: 0 auto;
        height: 100%;
        padding: 20px 15px;
    }
    
    .formIframe {
        height: 600px;
    }
    
    #subButton {
        width: 80% !important;
        font-size: 16px !important;
        padding: 9px !important;
        margin: 10px auto !important;
        display: block !important;
        border-radius: 30px !important;
    }
}

/* ==== ELIMINAR MÁS INFO ==== */
#masInfButton {
    display: none !important;
}