
body {
    background-image: url('../../Imagenes/Fondos/desk02.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #333; 
}

/* Contenedor principal */
.main-container {
    gap: 0.6rem; 
    max-width: 1200px; 
    z-index: 1;
}

/* ================= SECCIÓN IZQUIERDA: LOGIN ================= */

.login-glass-wrapper {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px; 
    width: 409px; 
    height: 612px;
}

/* Tarjeta blanca interior */
.login-card {
    width: 361px;
    height: 572px; 
    border-radius: 14px !important;
    overflow: hidden !important;
}

.login-header {
    background-color: #3b8bdc;
    letter-spacing: 1.2px;
    font-size: 1.35rem;
    padding: 12px 0 !important;
}

.login-body {
    padding: 19px 29px !important;
}

.logo-img {
    max-width: 114px;
    margin-bottom: 12px !important;
}

.welcome-text {
    font-size: 0.9rem; 
    line-height: 1.25;
    margin-bottom: 18px !important;
}

.form-label-custom {
    font-size: 1.02rem;
    color: #000;
}

/* Select con borde azul */
.form-select-custom {
    width: 100%;
    border: 1px solid #3b8bdc;
    border-radius: 6px;
    padding: 6px 12px; 
    color: #495057;
    background-color: #fff;
    font-size: 1.02rem; 
}

    .form-select-custom:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(59, 139, 220, 0.25);
    }

/* Inputs estilo Material Design (solo línea inferior) */
.form-input-material {
    width: 100%;
    border: none;
    border-bottom: 1px solid #3b8bdc;
    padding: 6px 0; 
    color: #495057;
    background-color: transparent;
    font-size: 1.02rem; 
}

    .form-input-material::placeholder {
        color: #adb5bd;
    }

    .form-input-material:focus {
        outline: none;
        border-bottom: 2px solid #3b8bdc;
    }

.btn-ingresar {
    background-color: #5593fa;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 30px; 
    font-size: 1.14rem; 
    transition: background-color 0.2s;
}

    .btn-ingresar:hover {
        background-color: #0f68ee;
        color: white;
    }

/* ================= SECCIÓN DERECHA: CARRUSEL ================= */

.carousel-wrapper {
    border-radius: 14px !important; 
    background-color: rgba(255, 255, 255, 0.5);
    width: 638px; 
    height: 638px;
    overflow: hidden !important;
}

#mainCarousel, .carousel-inner {
    border-radius: 14px !important;
    overflow: hidden !important;
}

.carousel-item img {
    object-fit: contain;
    object-position: center;
    border-radius: 14px !important;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .login-glass-wrapper {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 550px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 15px;
    }

    .login-card {
        width: 100%;
        max-width: 450px;
        height: auto;
        min-height: 520px;
    }

    .login-body {
        padding: 20px 20px !important; 
    }

    .login-header {
        font-size: 1.25rem;
    }

    .logo-img {
        max-width: 100px;
    }

    .btn-ingresar {
        font-size: 1.05rem;
        padding: 8px 20px;
    }
}
