.img-fondo-login {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;  
    height: 100vh;   
    z-index: -1;
    background: url("../../img/login/fondo-login3.jpg") center center / cover no-repeat fixed;

     /* Necesario para que los destellos no salgan del área */
    overflow: hidden;
}

/* Destello al mover el mouse */
.shooting-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    pointer-events: none;

    /* Glow inicial */
    box-shadow: 0 0 8px 4px rgba(255,255,255,0.8);

    /* La estela */
    transform-origin: left center;
    opacity: 1;
    animation: shoot 0.7s ease-out forwards;
}

@keyframes shoot {
    0% {
        opacity: 1;
        transform: translate(0, 0) scaleX(1);
    }
    100% {
        opacity: 0;
        transform: translate(80px, -40px) scaleX(8); /* dirección + largo de la estela */
    }
}
/* Fin Destello al mover el mouse */

.login {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 25%;
    height: 60vh;
    z-index: 2;
    border-radius: 5px;
    box-shadow: 2px 2px 6px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    padding-top: 10px;
}

.login-header {
    text-align: center;
    padding-bottom: 5px;
}

.login-header img {
    width: 100px;
    height: auto;
}

.login-sub-header {
    text-align: center;
}

.login-sub-header h5 {
    border-bottom: 1px solid var(--color-azul-principal);
    height: 40px;
    border-radius: 5px;
    color: var(--color-azul-principal);
    align-content: center;
}

.login-sub-header span {
    display: block;
    font-size: 18px;
    color: black;
    margin-top: 20px;
}

.login-center {
    width: 100%;
    height: auto;
    margin-top: 25px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
}

.login-group-correo {
    width: 100%;
    margin-bottom: 15px;
}

.login-group-correo label {
    display: block;
}

.login-group-correo input {
    width: 100%;
    height: 35px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 5px;
    margin-top: 5px;
    box-sizing: border-box;
}

.login-group-password {
    width: 100%;
    margin-bottom: 15px;
}

.login-group-password label {
    display: block;
}

.login-group-password input {
    width: 100%;
    height: 35px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 5px;
    margin-top: 5px;
    box-sizing: border-box;
}

.form-check-input {
    margin-left: 2px;
}

.form-check-label {
    font-size: 14px;
    color: black;
    margin-top: 5px;
}

.msj-error {
    display: none;
    background-color: var(--color-rojo);
    width: 100%;
    height: 35px;
    align-content: center;
    margin-top: 10px;
    padding-left: 5px;
    border-radius: 5px;
    color: white;
    text-align: center;
}

.msj-exito {
    display: none;
    background-color: var(--color-verde);
    width: 100%;
    height: 35px;
    align-content: center;
    margin-top: 10px;
    padding-left: 5px;
    border-radius: 5px;
    color: white;
    text-align: center;
}

#BTN-INICIAR-SESION {
    width: 100%;
    height: 35px;
    border-radius: 5px;
    border: none;
    background-color: var(--color-naranja-secundario);
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-top: 15px;
}

#BTN-INICIAR-SESION:hover {
    background-color: var(--color-naranja-secundario);
    font-weight: 500;
}

.texto-pie-login {
    display: block;
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    font-size: 12px;
}


/* =================================== */
/* =========== MEDIA QUERYS ========== */

/* Estilos cuando el ANCHO sea 1440px o menos (MONITORES MEDIANOS) */
@media (max-width: 1440px) {

    .login {
        width: 32%;
        height: 75vh;
    }

    .texto-pie-login {
        right: 0px;
    }

}

/* =========== FIN MEDIA QUERYS ========== */
/* ======================================= */