/* CSS ORIGINAL MANTENIDO INTACTO */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* Evita el scroll */
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Adjust the transparency as needed */
    z-index: 0;
}

.login-box {
    position: relative;
    z-index: 1;
    width: 360px;
}

.login-card {
    background-color: rgba(255, 255, 255, 0.7);
    /* Transparencia al 70% - ORIGINAL MANTENIDO */
    padding: 20px;
    border-radius: 10px;
}

/* RESPONSIVE AGREGADO - SIN TOCAR EL DISEÑO ORIGINAL */
@media (max-width: 767.98px) {
    .login-box {
        width: 90%;
        max-width: 350px;
    }
    .video-bg {
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .login-box {
        width: 95%;
        max-width: 320px;
    }
    
    .login-card {
        padding: 15px;
    }
}

@media (max-width: 360px) {
    .login-box {
        width: 98%;
        max-width: 300px;
    }
    
    .login-card {
        padding: 12px;
    }
}

/* Orientación landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    html, body {
        overflow-y: auto;
    }
    
    .login-box {
        margin: 20px auto;
    }
}