@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.ttf");
}

body {
    font-family: 'Montserrat';
    color: black;
    background-color: #E6E6E6;

}

/* NUEVO */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    height: 80%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    background-color: #f2f2f2;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.modal-header h2 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-body {
    flex-grow: 1;
    padding: 0;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-footer {
    background-color: #f2f2f2;
    padding: 10px 20px;
    text-align: center;
    border-top: 1px solid #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Línea decorativa */
hr {
    border: none;
    height: 1px;
    background: #BE9961;
    margin: 1.5rem 0;
    opacity: 0.6;
}

.container {
    display: flex;
    height: 100vh;
    flex-direction: row;
}

.logo-top img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.Left .logo img {
    max-width: 80%;
    height: auto;
    margin-bottom: 1rem;
}

.logo-foot img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.form-footer {
    text-align: right;
    font-size: small;

}

.Footer {
    border: 2px solid;
    border-radius: 10px;
    border-color: #AE3F50;
    margin-top: 20px;
}

.TxtFooter {
    text-align: center;
    color: #000000;
    display: block;
    margin: 2% 2% 2% 2%;
    font-weight: bold;
    font-size: 95%;
    letter-spacing: 1px;
}

.texto2 p {
    margin-top: 5rem;
}

.Left {
    background-color: #602132;
    color: white;
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    border-radius: 0 5rem 5rem 0;
}

.Right {
    background-image: url('../../IMG/Login2026/Fondo.svg');
    background-size: cover;
    background-position: center;
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-radius: 0;
}

form {
    width: 100%;
    max-width: 480px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

}

.espacioDivs {
    flex-grow: 0 !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
}

.form-control:focus,
.datatable-input:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    font-family: 'Montserrat';

}

label {
    display: block;
    margin-top: 3rem;
    font-weight: 600;
    font-size: larger;
}

input {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.3rem;
    border: 1px solid #797979;
    border-radius: 4px;
    font-family: 'Montserrat';
    font-size: medium;

}

button {
    width: 100%;
    padding: 0.6rem;
    background-color: #691b32;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #501425;
}



@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .Left,
    .Right {
        width: 100%;
        height: auto;
        /* altura flexible para móvil */
        border-radius: 0;
    }

    .Left {
        border-radius: 0 0 1.5rem 1.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    /* Reducir espacio entre imágenes */
    .logo-top img,
    .Left .logo img {
        margin-bottom: 0.5rem;
    }

    .texto2 p {
        margin-top: 0.5rem;
    }
}

/* ALEXA */
@media screen and (max-width: 576px) {
    .ImgHidalgoSEP {
        width: 100%;
    }

    .ImgPrograma {
        width: 100%;
    }

    label {
        margin-top: 1rem;
        font-size: 20%;
    }

    .Footer {
        border: 2px solid;
        border-radius: 10px;
        border-color: #AE3F50;
        margin-top: 20px;
        margin-bottom: 20px;
    }

}

.ImgHidalgoSEP {
    width: 60%;
}

.ImgPrograma {
    width: 100%;
}


/*
*/

.ImgSOSEC {
    width: 30%;
}






/*form acceso*/
.formacceso {
    background-color: #fff;
    padding: 20px;
    border-radius: 3%;
}

/*Efecto burbujas*/
.fondorojo {
    margin: 0px;
    background-position: center;
    background-color: #691b32;
}

.fondoimg1 {
    margin: 0px;
    background-position: center;
    background-color: #691b32;
    background-size: 100% 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/*burbujas*/
.burbuja {
    background-image: url(../IMG/Estrella_Blanca.png);
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    position: absolute;
    opacity: .3;
    top: -10%;
    animation: burbujas 3s linear infinite;
}

.burbuja:nth-child(1) {
    left: 0%;
    animation-duration: 3s;
    animation-delay: 0s;
}

.burbuja:nth-child(2) {
    left: 5%;
    animation-duration: 4.3s;
    animation-delay: 0s;
}

.burbuja:nth-child(3) {
    left: 10%;
    animation-duration: 6.8s;
    animation-delay: 0s;
}

.burbuja:nth-child(4) {
    left: 15%;
    animation-duration: 4.2s;
    animation-delay: 0s;
}

.burbuja:nth-child(5) {
    left: 20%;
    animation-duration: 3.4s;
    animation-delay: 0s;
}

.burbuja:nth-child(6) {
    left: 25%;
    animation-duration: 7.8s;
    animation-delay: 0s;
}

.burbuja:nth-child(7) {
    left: 30%;
    animation-duration: 5.6s;
    animation-delay: 0s;
}

.burbuja:nth-child(8) {
    left: 35%;
    animation-duration: 4.3s;
    animation-delay: 0s;
}

.burbuja:nth-child(9) {
    left: 40%;
    animation-duration: 2.7s;
    animation-delay: 0s;
}

.burbuja:nth-child(10) {
    left: 45%;
    animation-duration: 7.4s;
    animation-delay: 0s;
}

.burbuja:nth-child(11) {
    left: 50%;
    animation-duration: 5.9s;
    animation-delay: 0s;
}

.burbuja:nth-child(12) {
    left: 55%;
    animation-duration: 4.5s;
    animation-delay: 0s;
}

.burbuja:nth-child(13) {
    left: 60%;
    animation-duration: 6.6s;
    animation-delay: 0s;
}

.burbuja:nth-child(14) {
    left: 65%;
    animation-duration: 3.8s;
    animation-delay: 0s;
}

.burbuja:nth-child(15) {
    left: 70%;
    animation-duration: 5.7s;
    animation-delay: 0s;
}

.burbuja:nth-child(16) {
    left: 75%;
    animation-duration: 4.4s;
    animation-delay: 0s;
}

.burbuja:nth-child(17) {
    left: 80%;
    animation-duration: 6.8s;
    animation-delay: 0s;
}

.burbuja:nth-child(18) {
    left: 85%;
    animation-duration: 3.4s;
    animation-delay: 0s;
}

.burbuja:nth-child(19) {
    left: 90%;
    animation-duration: 5.1s;
    animation-delay: 0s;
}

.burbuja:nth-child(20) {
    left: 95%;
    animation-duration: 6s;
    animation-delay: 0s;
}

@keyframes burbujas {
    0% {
        top: 0;
        opacity: -0.9;
    }

    30% {
        transform: translateX(30px);
    }

    50% {
        opacity: .5;
    }

    100% {
        top: 60vh;
        opacity: 0;
    }
}

.titulodesign {
    font-weight: bold;
    font-size: 60px;
}

.primary-red-text {
    color: #691B31;
}

.DGTI-design {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 3px;
}

.PR-design {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

.titulo-bg {
    background-color: #dec9a3;
}

.formulariologin {
    padding: 50px;
}

.espaciobtn {
    margin-right: 16px;
}

@media screen and (min-width: 1490px) {
    .formulariologin {
        padding: 100px;
    }

    .formacceso {
        background-color: #fff;
        padding: 20px;
        border-radius: 6%;
    }
}

@media screen and (min-width: 1920px) {
    .formulariologin {
        padding: 150px;
    }

    .formacceso {
        background-color: #fff;
        padding: 20px;
        border-radius: 6%;
    }
}

.bold {
    font-weight: bold;
}

.errorlogin {
    color: #ff0000;
    font-style: italic;
}

.btn-ver {
    color: #fff !important;
    background-color: #691b32;
    border-color: #691b32;
}

.btn-principales {
    color: #ffffff;
    background-color: #602132;
    border-color: #602132;
    width: 250px;
    font-family: "Montserrat";
    font-size: 150%;
}

.btn-acceder {
    color: #ffffff !important;
    background-color: #602132 !important;
    border-color: #602132 !important;
    width: 100px !important;
    font-family: "Montserrat" !important;
    font-size: 100% !important;
}

.padding-images {
    padding: 1rem;
}

.card {
    border-radius: 5% !important;
}

.AP {
    font-weight: bold;
    font-weight: 600;
    font-size: 15px;
    text-align: right;
    color: #92918c;
}

.link-not {
    text-decoration: none;
    text-align: center;
    color: #AE3F50;
    font-size: 125%;
    margin-bottom: 10%;

}

.link-not:hover {
    cursor: pointer;
    text-decoration: none;
    color: #602132;
}

.link-not:focus {
    text-decoration: none;
    color: #AE3F50;
}

.link-not2 {
    margin-top: 2%;
    text-decoration: none;
    text-align: center;
    color: #706a6a;
    font-size: 125%;
}

.link-not2:hover {
    cursor: pointer;
    text-decoration: none;
    color: #2c2a2a;
}

.link-not2:focus {
    text-decoration: none;
    color: #706a6a;
}

.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.video-modal.is-open {
    display: block;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.video-modal__dialog {
    position: relative;
    width: min(900px, 92vw);
    margin: 8vh auto 0;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.45);
}

.video-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 18px;
    line-height: 38px;
}

.video-modal__ratio {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 */
}

.video-modal__ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}