
.date-selects {
        display: flex;
        justify-content: center; /* Centra los elementos */
    }
    .form-check-input:checked {
    background-color: #00fff7 !important;/* botones si y no */
}
    .texto-responsive {
        margin-top: 2px;  
        display: block; 
    }

    .date-selects select {
        max-width: 200px;
        background-color: #fffffffe !important; 
        color: #fcfcfc; 
        text-align: center; 
    }

    .form-control::placeholder {
    background-color: #EBECE8;/* fondo del formulario    */
        color: #000000 !important; /* Texto de los contenedores para escribir   */
        opacity: 1;
        text-align: center; 
    }

    option {
        color: #000000; /* Texto de los contenedores para escribir   */
        text-align: center; 
    }

    body {
    background-color: #EBECE8;/* fondo del formulario    */
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    }

    .form-control {
    border-radius: 6px !important;
    border-color:#029E99;   /* color del borde de los contenedores   */
}
    .form-control:focus {
        box-shadow: 0 0 0 0.25rem #029E99; /* color del borde de los contenedores  cuando seleccionas el campo   */    
}

    .intro-text {
        color: #EBECE8;/* Texto color claro  */
        margin-bottom: 2.5rem;
        font-size: 1.5rem;
        line-height: 1.7;
        text-align: center;
        }

    .form-check-label{
        color: #EBECE8 !important;/*  colror de Texto  de si y no   */
    }

    .container{
        background-color: #142448;/*  fondo de la tarjeta   */
        padding: 2.5rem;
        max-width: 1040px;
        margin: 2rem auto;
        border-radius: 12px;
        box-shadow: 0 8px 24px #142448;/*  fondo de la tarjeta   */
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
}

    .container{
        animation: fadeIn 0.6s ease-out forwards;
    }
            h1 {
            color: #59D2EC;/* color del titulo  */
            font-weight: 600;
            margin: 2rem 0 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }
        
        h1:after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background: #6e078800;
            margin: 0.5rem auto 0;
        }

        .sections{
            color: #029E99;/* color de los subtituos   */
            text-align: center; 
            margin-bottom: 2%;         
        }

        input:-webkit-autofill,
        input:-webkit-autofill:hover,
        input:-webkit-autofill:focus,
        input:-webkit-autofill:active {
            -webkit-box-shadow: 0 0 0 1000px #db0c8c inset !important;
            box-shadow: 0 0 0 1000px #EBECE8 inset !important;
            -webkit-text-fill-color: #000000 !important;
        }

        input[type="text"],
    select {
        color: #000000!important; 
        text-align: center; 
    }

input[type="text"]:focus,
select:focus {
    color: #000000!important;
    text-align: center;
}

    .btn-wide {
        width: 200px;
        padding: 10px 20px;
        font-weight: 600;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        margin-top: 1.5rem;
    }

    .curp {
        text-align: center;
        margin: 0 auto; /* Centra horizontalmente */
        max-width: 100%; /* Evita desbordamiento */
    }

    /* Para pantallas grandes (escritorio) */
    @media (min-width: 992px) {
        .curp {
            margin-left: 300px;
            margin-right: 0;
            text-align: center;
        }
    }

    /* Para pantallas medianas (tablets) */
    @media (min-width: 768px) and (max-width: 991.98px) {
        .curp {
            margin-left: 100px;
            margin-right: 100px;
            text-align: center;
        }
    }

    /* Para pantallas pequeñas (móviles) */
    @media (max-width: 767.98px) {
        .curp {
            margin-left: 0;
            margin-right: 0;
            text-align: center;
            padding: 0 15px; /* Añade padding lateral en móviles */
        }
        
        /* Campo CURP mismo ancho que otros campos en móvil */
        .curp .form-control,
        .curp input[type="text"] {
            width: 100% !important;
            max-width: 100% !important;
        }
    }
        
    .btn-outline-primary {
        color: #029E99;/* texto del boton enviar  */
        border-color: #029E99;
    }

    .btn-outline-primary:hover {
        background-color: #029E99;;/* fondo  del boton enviar  */
        color:  #151514;  /* texto  del boton enviar al estar encima  */
    }


    .footer {
        background-color: #142448!important;/* color del footer  */
        padding: 20px 0;
        font-size: 14px;
        transition: all 0.3s;
        flex-shrink: 0;
        border-top: 1px solid #59d2ec;/* raya del footer   */
}
img {
    width: 100%; /* Asegura que la imagen no exceda el ancho de su contenedor */
    height: 435px;    /* permite que la altura se ajuste proporcionalmente */
    display: block;  /* Para eliminar posibles espacios debajo de la imagen si está dentro de un div */
    margin: 0 auto;  /* Si necesitas centrarla horizontalmente, aunque el div padre ya lo hace */
}
/* Responsive */
    @media (max-width: 768px) {

        
        h1 {
            font-size: 1.6rem;
            text-align: justify;
            text-justify: inter-character;
        }
        
        h2 {
            font-size: 1.5rem;
        }
        
        .intro-text {
            text-align: justify;
            text-justify: inter-word;
        }
        img{
            width: 100%; 
            height: auto; 
                    
        }
        .texto-responsive {
        margin-top: 7px;  
        display: block; 
    }
    } 
    /* para pantallas aún más pequeñas si es necesario */
    @media (max-width: 576px) {
        
        h1 {
            font-size: 1.6rem;
            text-align: justify;
            text-justify: inter-character;
        }
        
        h2 {
            font-size: 1.8rem;
        }
    }
   



/* === SOLO ESTILOS PARA CAMPOS OSCUROS === */
select, 
select.form-control {
    color: #000000 !important;/* texto */
    background-color: #EBECE8 !important;/* fondo */
}

select option {
    color: #000000 !important;/* texto */
    background-color: #EBECE8 !important;/* fondo */
}

/* Solo inputs que necesiten texto blanco */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
.form-control {
    color: #000000 !important;/* texto */
    background-color: #EBECE8 !important;/* fondo */
}

.form-control::placeholder {
    color: #000000 !important;/* texto */
    opacity: 0.8 !important;
}


