﻿.login-card {
    height: 100vh;
}

.login-container {
    display: flex;
    height: 100%;
}

.login-left {
    flex: 0 0 65%;
    background-image: var(--login-left-background-images, url('/img/ads-banner.jpg'));
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.login-right {
    flex: 0 0 35%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.login-card-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-language-dropdown .dropdown-toggle {
    min-width: 170px;
    width: auto;
    height: auto;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.login-language-dropdown .dropdown-menu {
    min-width: 170px;
}

.login-language-dropdown .dropdown-item.active,
.login-language-dropdown .dropdown-item:active {
    background-color: #eef2ff;
    color: #212529;
    font-weight: 600;
}

.cancel-button {
    background-color: #FD9727;
    color: #ffffff;
}

.primary-text {
    color: #4758B8;
    text-decoration: none;
}

button {
    height: 40px;
    min-width: 80px;
}

/* Responsive */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }

    .login-left {
        flex: 0 0 30%;
        height: 30vh;
    }

    .login-right {
        flex: 1;
    }
}

.set-password-security-box {
    background-color: #f8f9fc;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.set-password-policy-box {
    background-color: #f8f9fc;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.set-password-rules li {
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.set-password-rules li:last-child {
    margin-bottom: 0;
}

.set-password-rules li.rule-met {
    color: #198754;
    font-weight: 600;
}

.set-password-rules li.rule-unmet {
    color: #6c757d;
}

.password-toggle-button {
    min-width: 95px;
}

.set-password-page {
    min-height: 100vh;
    height: auto;
}

.set-password-page .login-container {
    min-height: 100vh;
    height: auto;
}

.set-password-page .login-right {
    align-items: flex-start;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (max-width: 576px) {
    .set-password-security-box,
    .set-password-policy-box {
        padding: 0.75rem;
    }

    .password-toggle-button {
        min-width: 84px;
        font-size: 0.8rem;
    }

    .set-password-page .login-right {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
}
