﻿@import url('https://rsms.me/inter/inter.css');

* {
    font-family: "Poppins", 'Font Awesome 5 Solid', 'Font Awesome 5 Brands', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif !important;
}

.fa, .fas {
    font-family: 'Font Awesome 5 Solid' !important;
}


:root {
    --tblr-font-sans-serif: 'Inter Var', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
}


body {
    font-feature-settings: "cv03", "cv04", "cv11";
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: auto;
    margin: 0 !important;
}


.body-bg-img {
    background-image: url('../Imagenes/fondo-login.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 !important;
}

.img-logo {
    width: 130px;
    height: auto;
}

#cardLogin {
    margin: auto;
    width: 100%;
}

.custom-card {
    border-radius: 12px !important; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important; 
    transition: transform 0.3s, box-shadow 0.3s !important; 
}

.custom-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}


.modal-dialog.modal-xl {
    max-width: 70%;
}


.ddlAlcance {
    position: absolute;
    z-index: 1050;
}

.login:before {
    content: "";
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 470px;
    width: 80%;
    filter: brightness(100);
    opacity: 0.1;
    position: absolute;
    bottom: 0;
    left: -11%;
}

.page-body.logos .card {
    border: none !important;
    box-shadow: none !important;
}

.page-body {
    margin-top: 0;
    min-height: 1000px;
    padding-bottom: 5rem;
    margin-bottom: 0;
}
/*#21356b*/
.page-wrapper {
    background-color: #21356b;
}

.navbar-brand-image {
    width: 250px !important;
    height: auto !important;
}

.bienvenidos {
    background-color: #003a82c7;
    box-shadow: 20px 20px 60px -30px;
}

.formulario {
    background-color: #fff;
    z-index: 2;
    position: relative;
}

.main-form:before {
    content: "";
    background-color: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.main-form-register:before {
    content: "";
    background-color: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}


.btn-login {
    border-radius: 30px !important;
    background-image: linear-gradient(to right, #2f47ff 0%, #da0651 51%, #2f47ff 100%) !important;
    background-size: 200% auto;
    background-position: left center;
    border-color: transparent !important;
    color: white;
    transition: background-position 0.5s ease-in-out;
}

    .btn-login:active {
        background-position: right center;
        transform: scale(0.98);
        border-color: transparent !important;
    }

    .btn-login:hover,
    .btn-login:focus {
        background-position: right center;
        border-color: transparent !important;
        color: white;
        text-decoration: none;
    }

    .btn-login:disabled {
        border-color: transparent !important;
        background-position: left center;
        color: white;
        opacity: 0.6;
        cursor: not-allowed;
    }




.btn-primary {
    border-radius: 30px !important;
    background-image: linear-gradient(to right, #38bcdd 0%, #00A2FF 51%, #38bcdd 100%) !important;
    background-size: 200% auto;
    background-position: left center;
    border-color: transparent !important;
    color: white;
    transition: background-position 0.5s ease-in-out;
}

    .btn-primary:active {
        background-position: right center;
        transform: scale(0.98);
        border-color: transparent !important;
    }

    .btn-primary:hover,
    .btn-primary:focus {
        background-position: right center;
        border-color: transparent !important;
        color: white;
        text-decoration: none;
    }

    .btn-primary:disabled {
        border-color: transparent !important;
        background-position: left center;
        color: white;
        opacity: 0.6;
        cursor: not-allowed;
    }

.login-container {
    max-width: 400px;
    width: 100%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1)
}

.version {
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: transparent;
    color: #fff;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
}


.imgDGTIC {
    width: 230px;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    margin: 40px 0px 0px 40px;
}




.imgMaestro {
    height: auto;
    width: 450px;
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 0px 0px 0px 70px;
}

.imgProfesora {
    height: auto;
    width: 390px;
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 0px 70px 0px 0px;
}



@media (max-width: 1710px) {
    .imgMaestro, .imgProfesora{
        display: none;
    }
}

@media (max-width: 992px) {
    .main-form:before {
        content: "";
        background-color: #fff;
        position: absolute;
        width: 100%;
        height: 50%;
        bottom: 0;
    }

    .main-form-register:before {
        content: "";
        background-color: #fff;
        position: absolute;
        width: 100%;
        height: 60%;
        bottom: 0;
    }

    .banner-img {
        max-width: 90vw;
    }
}

@media (max-width: 710px) {
    .login-container {
        max-width: 250px;
    }

    #cardLogin {
        margin: auto;
        width: 80%;
        height: auto;
    }

    .navbar-brand-image {
        width: 150px !important;
        height: auto !important;
    }

    .imgDGTIC {
        width: 130px;
        height: auto;
    }

    .banner-img {
        max-width: 92vw;
    }
}


@media (max-width: 380px) {

    #cardLogin {
        margin: auto;
        width: 80%;
        height: auto;
    }

    #labelUser, #labelPassword {
        font-size: 10px !important;
    }

    h3, h1 {
        font-size: 12px !important;
    }

    h4 {
        font-size: 10px !important;
    }

    .navbar-brand-image {
        width: 100px !important;
        height: auto !important;
    }

    .imgDGTIC {
        width: 80px;
        height: auto;
    }

    .banner-img {
        max-width: 96vw;
    }
}

.modal-banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease;
}

.modal-banner-content {
    position: relative;
}

.banner-img {
    width: 100%;
    max-width: 1100px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.close-banner {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 1.8rem;
    color: white;
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    cursor: pointer;
    z-index: 10000;
    transition: background-color 0.2s;
}

    .close-banner:hover {
        background-color: rgba(255, 0, 0, 0.7);
    }

.animated-zoom {
    animation: zoomInOutLoop 4s ease-in-out infinite;
}

@keyframes zoomInOutLoop {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}