.custom-flexation {
    flex-direction: row-reverse !important;
}
@media (max-width: 1070px) {
    .custom-flexation {
        flex-direction: column !important;
    }
}

/* Two-column login layout */
.login-page-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}

.login-lang-switcher {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    z-index: 10;
}

.login-two-col {
    display: flex;
    flex-direction: row;
    direction: ltr;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    gap: 3rem;
    padding: 2rem;
}

/* Left: Logo */
.login-logo-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
}

.nacd-login-logo {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
}

/* Right: Card */
.login-card-col {
    flex: 0 0 auto;
    width: 360px;
    direction: rtl;
}

.login-card-col .card {
    width: 100%;
}

/* Responsive: stack on small screens */
@media (max-width: 900px) {
    .login-two-col {
        flex-direction: column;
        gap: 2rem;
    }

    .login-logo-col {
        max-width: 280px;
    }

    .login-card-col {
        width: 100%;
        max-width: 380px;
    }

    .nacd-login-logo {
        max-width: 220px;
    }
}
