.login-container {
    position: relative;
    background-image: url(../images/capa.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(28 28 28 / 0.7);
    z-index: 1;
}

.login-form-container {
    position: relative;
    z-index: 2;
}

.login-form-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 350px;
}

.card {
    width: 100%;
    max-width: 400px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.card-header-title {
    font-size: 2rem;
    font-weight: 700;
    color: #002875;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #002875;
}

.form-group label {
    font-weight: 500;
}

.form-control {
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #ddd;
}

.form-group {
    margin-bottom: 20px;
}

.password-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    transform: translateY(-50%) !important;
    cursor: pointer;
    color: #6c757d;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        min-height: 100vh;
    }

    .background-container {
        display: none;
    }

    .login-form-container {
        width: 100%;
        margin-top: 20px;
    }

    .card {
        background-color: white;
        box-shadow: none;
    }
}

.footer-logo-bottom-left {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 2 !important;
}

.footer-logo-bottom-left img {
    max-width: 120px !important;
    opacity: 0.85 !important;
}