.login-page-bg {
    min-height: 100vh;
    background: #f6f8fc;
    overflow-x: hidden;
}

.login-shell {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(20, 33, 61, 0.12);
    overflow: hidden;
    background: #ffffff;
}

.login-brand-panel {
    position: relative;
    min-height: 520px;
    justify-content: center;
    background-image:
        linear-gradient(135deg, rgba(126, 34, 125, 0.95), rgba(199, 33, 92, 0.9)),
        url('../images/others/bg-2.jpg');
    background-size: cover;
    background-position: center;
}

.login-brand-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 35, 99, 0.16) 0%, rgba(11, 35, 99, 0.34) 100%);
}

.login-brand-content {
    position: relative;
    z-index: 1;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
}

.login-brand-content .logo {
    display: flex;
    justify-content: center;
    width: 100%;
}

.login-form-wrap {
    max-width: 390px;
}

.login-form-wrap h3 {
    font-weight: 700;
    color: #1b2559;
    letter-spacing: -0.02em;
}

.login-subtitle {
    color: #64748b;
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
}

.form-label {
    font-weight: 600;
    color: #1e293b !important;
    margin-bottom: 0.45rem;
}

.login-shell .form-control {
    border-radius: 10px;
    border-color: #d9e1f2;
    background-color: #fff;
    color: #1e293b;
    min-height: 44px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.login-shell .form-control::placeholder {
    color: #94a3b8;
}

.login-shell .form-control:focus {
    border-color: #5c7cfa;
    box-shadow: 0 0 0 0.2rem rgba(92, 124, 250, 0.18);
    background-color: #fff;
    color: #1e293b;
}

.login-shell .btn-primary {
    background-image: linear-gradient(135deg, #7e227d 0%, #c7215c 100%);
    border: none;
    border-radius: 10px;
    min-height: 44px;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(126, 34, 125, 0.28);
}

.login-shell .btn-primary:hover,
.login-shell .btn-primary:focus,
.login-shell .btn-primary:active {
    background-image: linear-gradient(135deg, #6f1f6f 0%, #b41d53 100%);
    border: none;
}

.login-shell .btn-secondary {
    background-image: linear-gradient(135deg, #7e227d 0%, #c7215c 100%) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 10px;
    min-height: 44px;
    font-weight: 600;
}

.login-shell .btn-secondary:hover,
.login-shell .btn-secondary:focus,
.login-shell .btn-secondary:active {
    background-image: linear-gradient(135deg, #6f1f6f 0%, #b41d53 100%) !important;
    border: none !important;
    color: #fff !important;
}

.forgot-link {
    font-size: 0.86rem;
    color: #3157e0;
    font-weight: 500;
}

.remember-label {
    font-size: 0.91rem;
    color: #334155;
    cursor: pointer;
}

.divider {
    margin-top: 1rem;
}

@media (max-width: 767px) {
    .login-brand-panel {
        min-height: 220px;
    }
}
