.login-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    background: #0b1220;
}

.login-brand {
    flex: 1.1;
    display: none;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2744 0%, #1a4b8c 45%, #206bc4 100%);
}

@media (min-width: 992px) {
    .login-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 48px;
    }
}

.login-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.12), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,.08), transparent 40%);
}

.login-brand-content {
    position: relative;
    z-index: 1;
    max-width: 420px;
    color: #fff;
}

.login-brand-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    font-size: 2rem;
    margin-bottom: 24px;
    overflow: hidden;
}

.login-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.login-mobile-logo-img {
    max-width: 120px;
    max-height: 64px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 12px;
}

.login-brand h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.login-brand p {
    color: rgba(255,255,255,.82);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.login-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.login-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255,255,255,.9);
    font-size: .95rem;
}

.login-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(32px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom));
    background: var(--tblr-body-bg, #f4f6fa);
}

[data-bs-theme="dark"] .login-panel {
    background: #111827;
}

.login-card {
    width: 100%;
    max-width: 420px;
    border: 0;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .12);
    border-radius: 18px;
}

[data-bs-theme="dark"] .login-card {
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.login-mobile-logo {
    text-align: center;
    margin-bottom: 24px;
}

@media (min-width: 992px) {
    .login-mobile-logo {
        display: none;
    }
}

.login-mobile-logo .brand-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #206bc4;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.login-input-group .input-group-text {
    background: transparent;
    border-right: 0;
}

.login-input-group .form-control {
    border-left: 0;
    padding-left: 0;
}

.login-input-group:focus-within .input-group-text,
.login-input-group:focus-within .form-control {
    border-color: #206bc4;
}

.login-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--tblr-secondary, #667382);
    font-size: .85rem;
}

.btn-login {
    height: 48px;
    font-weight: 600;
    border-radius: 10px;
}

.login-theme-toggle {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
    z-index: 10;
    min-width: 44px;
    min-height: 44px;
}

.login-input-group .form-control,
.btn-login {
    font-size: 16px;
}
