:root {
    --dl-primary: #FF8C00;
    --dl-primary-dark: #e67e00;
    --dl-dark: #2D2D37;
    --dl-dark-deep: #111118;
}

.login-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #2D2D37 0%, #111118 50%, #2D2D37 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-shell {
    width: 100%;
    max-width: 980px;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.login-form-side {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-brand-side {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 140, 0, .18) 0%, transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(255, 140, 0, .12) 0%, transparent 40%),
        linear-gradient(165deg, #1a1a22 0%, #2D2D37 55%, #1a1a22 100%);
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    min-height: 520px;
    position: relative;
    overflow: hidden;
}

.login-brand-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.brand-showcase {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.brand-logo-panel {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, .35),
        0 0 0 1px rgba(255, 255, 255, .08);
    margin-bottom: 1.75rem;
}

.brand-logo-panel--compact {
    max-width: 260px;
    padding: 1rem;
    margin-bottom: 0;
}

.brand-logo-img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.brand-tagline {
    margin: 0 0 1.5rem;
    line-height: 1.45;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.brand-tagline-accent {
    display: block;
    color: var(--dl-primary);
    margin-bottom: .25rem;
}

.brand-tagline-main {
    display: block;
    color: rgba(255, 255, 255, .88);
}

.brand-modules {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}

.brand-modules span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .92);
    font-size: .78rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.brand-modules span i {
    color: var(--dl-primary);
}

.btn-login {
    background: var(--dl-primary);
    border-color: var(--dl-primary);
    color: #fff;
    font-weight: 600;
    padding: .65rem;
}

.btn-login:hover {
    background: var(--dl-primary-dark);
    border-color: var(--dl-primary-dark);
    color: #fff;
}

.login-footer-note {
    margin-top: 2rem;
    text-align: center;
    font-size: .85rem;
    color: #6c757d;
}

.password-toggle-wrap {
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    background: #fff;
}

.password-toggle-wrap:focus-within {
    border-color: var(--dl-primary);
    box-shadow: 0 0 0 .2rem rgba(255, 140, 0, .15);
}

.password-toggle-wrap .form-control {
    border: 0;
    box-shadow: none;
    padding-right: 2.75rem;
}

.password-toggle-btn {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    border: 0;
    background: transparent;
    color: #6c757d;
    padding: 0;
    line-height: 1;
}

.password-toggle-btn:hover {
    color: var(--dl-primary);
}

.otp-panel .otp-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--dl-primary-light);
    color: var(--dl-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.otp-panel .alert {
    background: var(--dl-primary-light);
    border: 1px solid #ffd9a8;
    color: var(--dl-dark);
    font-size: .92rem;
    font-weight: 500;
}

.otp-panel .btn-link {
    color: var(--dl-primary);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .login-form-side {
        padding: 2rem 1.5rem;
    }
}
