body.login-page {
    margin: 0;
    min-height: 100vh;
    background-image: url('/images/red.jpg') !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

[data-bs-theme="dark"] body.login-page {
    background-image: url('/images/bg-dark.jpg') !important;
}

.login-root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-layout {
    flex: 1;
    display: flex;
}

.login-brand-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-brand-logo {
    width: clamp(200px, 24vw, 340px);
    height: auto;
}

.login-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-card {
    width: min(620px, 100%);
    min-height: 78vh;
    background: #ffffff;
    border-radius: 18px;
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(18, 24, 40, 0.18);
}

.login-title {
    color: #101b3b;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 42px;
    text-align: center;
}

.login-input .input-group-text,
.login-input .form-control {
    background: #f6f7fb !important;
    border: 0 !important;
    height: 56px;
}

.login-submit {
    height: 56px;
    font-size: 20px;
    font-weight: 600;
    background: #4fcb88 !important;
    border: 0 !important;
}

@media (max-width: 991.98px) {
    .login-layout {
        flex-direction: column;
    }

    .login-brand-panel {
        justify-content: flex-start;
        padding: 36px 20px 0;
    }

    .login-card {
        min-height: auto;
        padding: 40px 24px;
    }

    .login-title {
        font-size: 36px;
        margin-bottom: 28px;
    }
}
