@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root {
    --letra-Titulo: 'Lexend', sans-serif;
    --letra-Parrafo: 'Poppins', sans-serif;
    --verde-Claro: #80BC00;
    --verde-Oscuro: #00953B;
    --gris: #808080;
    --blanco: #fff;
    --boton: #0a4da3;
    --boton_hover: #01207a;
    --azul_claro: #9cd2ff;
    --borde: #cacccb;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    /* -webkit-user-modify: read-only; */
}


a {
    text-decoration: none;
}

/* gif ccs  */

@keyframes ocultarGif {
    0% {opacity: 1; }
    90% {opacity: 1; } /* Mantiene el GIF visible */
    99% {opacity: 0; } /* Lo mueve y lo oculta */
    100% {display:none;opacity: 0; } /* Lo mueve y lo oculta */
}

.gif_ccs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../../assets/imagenes/imagenes_login/fondo_login_web.webp");
    background-size: cover;
    z-index: 9999;
    animation: ocultarGif 5s forwards; /* Dura 2 segundos */
    transition: 2s ease-in-out;
}

.gif_ccs img {
    width: 50%;
}


/* loader */

.loader_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(0 0 0 / 63%);
    z-index: 9999;
}

.spinner_header {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 14px solid;
    border-color: rgba(255, 255, 255, 0.15) #fff rgba(255, 255, 255, 0.35) #fff;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.logo_ccs {
    width: 45px;
    height: 45px;
    position: absolute;
    margin: auto;
    content: "";
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

#tiene_empresa {
    width: 25px;
    height: 25px;
    accent-color: var(--verde-Claro); /* Cambia el color del checkbox */
    cursor: pointer;
}

.small_tiene{
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

body {
    width: 100%;
    height: 100dvh;
    max-width: 2200px;
    margin: auto;
    background-image: url("../../assets/imagenes/imagenes_login/fondo_login_web.webp");
    background-size: cover;
}

.video_loop{
    width: 100%;
    height: 100dvh;
    object-fit: cover;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: -1;
    display: none;
}

.fondo {
    width: 100%;
    height: 100%;
    background-image: url("../../assets/imagenes/imagenes_login/ondas_gif.gif");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.fondo2{
    transform: translateY(-1000px);
    animation: ocultarFondo 5s forwards; /* Dura 2 segundos */
    transition: 3s ease-in-out;
}

@keyframes ocultarFondo {
    0% {transform: translateY(-1000px);}
    90% { transform: translateY(0px);} /* Mantiene el GIF visible */
    100% { transform: translateY(0px);} /* Lo mueve y lo oculta */
}

.fondo3 {
    background-image: url("../../assets/imagenes/imagenes_login/fondo_login_web.webp") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.row {
    width: 100%;
    height: 100%;
}

.carrusel {
    height: 100%;
    padding: 50px 0px 50px 200px;
}

.carrusel .carousel {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.carrusel .carousel .carousel-inner {
    height: 100%;
    width: 100%;
    padding: 0px;
}

.carrusel .carousel .carousel-inner .carousel-item {
    height: 100%;
    width: 100%;
    padding: 0px;
}

.carrusel .carousel .carousel-inner .carousel-item img {
    height: 100%;
    /* width: max-content !important; */
    width: 100%;
    margin: auto;
    padding: 0px;
    object-fit: fill;
    object-position: center;
    border-radius: 25px;
    border-bottom: 10px solid var(--borde);
    box-shadow: 0px 0px 0px 1px #ffffff36;
}

.videos{
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    position: relative;
}

.videos::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0px;
    width: 2%;
    height: 100%;
    background: linear-gradient(to right, #196182, #001A33);
    /* opacity: 0.5; */
    z-index: 999;
}

.videos video {
    height: 100%;
    /* width: max-content !important; */
    width: 100%;
    margin: 0px;
    padding: 0px;
    object-fit: fill;
    object-position: center;
}

.formulario {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.formulario img {
    width: 270px;
}

.formulario h1 {
    font-family: var(--letra-Parrafo);
    font-weight: 400;
    color: var(--blanco);
    font-size: 1.8rem;
}

.formulario .form {
    width: 55%;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--letra-Parrafo);
    font-weight: 400;
}

.formulario .form input {
    font-size: 1.1rem;
}

.formulario .form a {
    font-size: 1.2rem;
    color: var(--azul_claro);
    font-weight: 400 !important;
}

.formulario a {
    font-size: 1.2rem;
    color: var(--azul_claro);
    font-weight: 800;
}

.formulario a span {
    color: var(--blanco);
    font-weight: 400;
}

.formulario .form .entrar {
    font-size: 1.4rem;
    background: var(--boton);
    color: var(--blanco);
    transition: 0.2s ease-in-out;
    width: 60%;
    margin: 0 auto;
    box-shadow: 0px 0px 0px 1px #ffffff36;
    cursor: pointer;
}

.formulario .form .entrar:hover {
    transform: scale(1.03);
    background: var(--boton_hover);
}

.botones {
    gap: 10px;
}

#nombre {
    color: var(--verde-Claro);
    font-weight: 800;
}

.botones button {
    font-size: 1.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--azul_claro);
    color: var(--boton);
    transition: 0.2s ease-in-out;
    margin: 0 auto;
    box-shadow: 0px 0px 0px 1px #ffffff36;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--letra-Titulo);
}

.botones button:hover {
    transform: scale(1.03);
    color: var(--blanco);
    background: var(--boton_hover);
}


.toggle-password {
    background: var(--boton);
    transition: 0.2s ease-in-out;
    color: var(--blanco);
    border: none;
    outline: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 0px 1px #ffffff36;
}

.toggle-password:hover {
    background: var(--boton_hover);
}

.redes {
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.redes img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    cursor: pointer;
}

.select2-selection {
    height: max-content !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 7px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0px !important;
    bottom: 0px !important;
    right: 1px;
    margin: auto 0;
}

.desabilitado {
    background-color: var(--borde) !important;
    color: #00000065 !important;
    opacity: 1 !important;
    cursor: not-allowed;
    /* Indica que está deshabilitado */
    pointer-events: none;
    /* Bloquea clics, focus y eventos */
}

/* .select2-container{
    width: 100% !important;
} */

/* Contraseña */

.contrasena {
    padding: 80px 120px 80px 20px;
    height: 100%;
}

.contrasena div {
    height: 100%;
    background-color: #edeef0;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    font-family: var(--letra-Parrafo);
}

.contrasena div img {
    width: 400px;
}

.contrasena div p {
    font-size: 1.3rem;
    color: var(--boton_hover);
    text-align: center;
}


.contrasena div a {
    font-size: 1.5rem;
    color: var(--blanco);
    background-color: var(--boton);
}

.msg_contra {
    display: none;
}

@media screen and (min-width: 1000px) and (max-width:1650px) {

    .carrusel {
        height: 100%;
        padding: 30px 70px 30px 100px;
    }

    .carrusel .carousel {
        border-radius: 10px;
    }

    .carrusel .carousel .carousel-inner .carousel-item img {
        object-position: center;
        border-radius: 18px;
        border-bottom: 7px solid var(--borde);
    }

    .formulario {
        gap: 10px;
        padding: 30px;
    }

    .formulario img {
        width: 200px;
    }

    .formulario h1 {
        font-size: 1.4rem;
    }

    .formulario .form {
        width: 65%;
        padding: 10px;
        gap: 10px;
    }

    .formulario .form input {
        font-size: 1rem;
    }

    .formulario .form a {
        font-size: 0.8rem;

    }

    .formulario a {
        font-size: 0.9rem;

    }


    .formulario .form .entrar {
        font-size: 1rem;
        width: 60%;
    }


    .toggle-password {
        padding: 10px;
        font-size: 1.4rem;
    }

    .toggle-password:hover {
        background: var(--boton_hover);
    }

    .redes {
        gap: 15px;
    }

    .redes img {
        width: 30px;
        height: 30px;
    }

    .botones button {
        font-size: 1rem;
    }

    /* Contraseña */

    .contrasena {
        padding: 50px 80px 50px 20px;
    }

    .contrasena div {

        border-radius: 10px;
        padding: 20px;
        gap: 10px;
    }

    .contrasena div img {
        width: 300px;
    }

    .contrasena div p {
        font-size: 1rem;
    }


    .contrasena div a {
        font-size: 1.2rem;
    }

}

@media screen and (min-width: 650px) and (max-width:990px) {

    .gif_ccs img {
        width: 90%;
    }
    .row {
        overflow: hidden;
    }

    .carrusel {
        display: none;
    }

    .videos {
        display: none;
    }

    .formulario {
        gap: 10px;
        padding: 20px;
    }

    .formulario img {
        width: 200px;
    }

    .formulario h1 {
        font-size: 1.5rem;
    }

    .formulario .form {
        width: 70%;
        padding: 10px;
        gap: 10px;
    }

    .formulario .form input {
        font-size: 1rem;
    }

    .formulario .form a {
        font-size: 0.8rem;

    }

    .formulario .form .entrar {
        font-size: 0.9rem;
        width: 60%;
    }


    .toggle-password {
        padding: 10px;
        font-size: 1.3rem;
    }

    .toggle-password:hover {
        background: var(--boton_hover);
    }

    .redes {
        gap: 10px;
    }

    .redes img {
        width: 30px;
        height: 30px;
    }

    /* Contraseña */

    .msg_contra {
        display: block;
        font-size: 0.8rem;
        color: var(--blanco) !important;
    }

    .contrasena {
        display: none;
    }
}

@media screen and (min-width: 421px) and (max-width:650px) {

    .gif_ccs img {
        width: 90%;
    }


    .row {
        overflow: hidden;
    }

    .carrusel {
        display: none;
    }

    .videos {
        display: none;
    }
    .formulario {
        gap: 10px;
        padding: 0px;
    }

    .formulario small {
        font-size: 0.7rem;
    }

    .formulario img {
        width: 150px;
    }

    .formulario h1 {
        font-size: 1.2rem;
    }

    .formulario .form {
        width: 90%;
        padding: 10px;
        gap: 10px;
    }

    .formulario .form input {
        font-size: 0.9rem;
    }

    .formulario .form a {
        font-size: 0.8rem;

    }

    .formulario a {
        font-size: 1rem;
        color: var(--azul_claro);
        font-weight: 800;
    }

    .formulario .form .entrar {
        font-size: 0.8rem;
        width: 60%;
    }


    .toggle-password {
        padding: 10px;
        font-size: 1rem;
    }

    .toggle-password:hover {
        background: var(--boton_hover);
    }

    .redes {
        gap: 10px;
    }

    .redes img {
        width: 20px;
        height: 20px;
    }

    /* Contraseña */

    .msg_contra {
        display: block;
        font-size: 0.6rem !important;
        color: var(--blanco) !important;
    }

    .contrasena {
        display: none;
    }
}

@media screen and (min-width: 320px) and (max-width:420px) {

    .gif_ccs img {
        width: 90%;
    }

    .row {
        overflow: hidden;
    }

    .carrusel {
        display: none;
    }


    .videos {
        display: none;
    }

    .formulario {
        gap: 10px;
        padding: 0px;
    }

    .formulario small {
        font-size: 0.7rem;
    }


    .formulario img {
        width: 150px;
    }

    .formulario h1 {
        font-size: 1.2rem;
    }

    .formulario .form {
        width: 90%;
        padding: 10px;
        gap: 10px;
    }

    .formulario .form input {
        font-size: 0.9rem;
    }

    .formulario .form a {
        font-size: 0.8rem;

    }

    .formulario a {
        font-size: 1rem;
        color: var(--azul_claro);
        font-weight: 800;
    }

    .formulario .form .entrar {
        font-size: 0.8rem;
        width: 60%;
    }


    .toggle-password {
        padding: 10px;
        font-size: 1rem;
    }

    .toggle-password:hover {
        background: var(--boton_hover);
    }

    .redes {
        gap: 10px;
    }

    .redes img {
        width: 20px;
        height: 20px;
    }

    /* Contraseña */

    .msg_contra {
        display: block;
        font-size: 0.6rem !important;
        color: var(--blanco) !important;
    }

    .contrasena {
        display: none;
    }
}