/* Contenedor del login */
.login-form-bx {
    width: 90% !important;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

/* Tarjeta del formulario */
.cards .authincation-content {
    box-shadow: 0 12px 23px 0 rgba(62,73,84,.08) !important;
    background-color: rgba(255, 255, 255, 0.95) !important; /* Blanco semi-transparente */
    backdrop-filter: blur(8px); /* Efecto difuminado detrás del formulario */
    -webkit-backdrop-filter: blur(8px);
    height: auto !important;
    width: 100% !important;
    padding: 50px !important;
    position: relative !important;
    top: 0;
    left: 0;
    margin-top: 50px;
    border-radius: 15px;
}

/* Contenedor de la imagen de fondo */
.login-form-bx .box-skew1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 250px; /* Altura visible de la imagen */
    z-index: 1 !important;
    background-image: url('../images/login.png');
    background-size: cover; /* Ocupa todo el ancho, mantiene proporción */
    background-repeat: no-repeat;
    background-position: top center; /* Se ve la parte superior */
    transform: skew(-5deg);
    filter: brightness(0.8); /* Oscurece un poco la imagen para contraste */
}

/* Logo */
.login-logo img {
    margin-top: -13px !important;
    max-width: 100%;
    height: auto;
}

/* Inputs del formulario */
.login-form-bx .form-control {
    background: #fff !important;
    border: 1px solid #d7dae3 !important;
    color: #3e4954 !important;
    height: 56px !important;
    width: 88% !important;
    padding: 10px;
}

/* Botón */
.authincation-content .btn-primary {
    color: #fff;
    background-color: #013173 !important;
    border-color: #013173 !important;
    width: 88% !important;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .cards .authincation-content {
        padding: 30px !important;
    }
    .login-form-bx .box-skew1 {
        height: 150px; /* Menor altura en móviles */
        filter: brightness(0.85);
    }
}

/* Ajuste para tablets medianas */
@media (max-width: 992px) {
    .login-form-bx .box-skew1 {
        height: 200px;
    }
}

/* Sidebar para pantallas grandes */
@media (min-width: 1200px) {
    .main-sidebar {
        background-color: transparent !important; /* más claro para escritorio */
    }
}

/* Sidebar para móviles y tabletas */
@media (max-width: 991px) {
    .main-sidebar {
        background-color: rgba(52, 58, 64, 0.9) !important; /* más oscuro para móviles */
    }
}

