/* Login V2 — split screen */
body.login-v2 {
    margin: 0;
    min-height: 100vh;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

.ms-auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.ms-auth-brand {
    background: linear-gradient(160deg, #0c1222 0%, #1e3a8a 45%, #4338ca 100%);
    color: #fff;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ms-auth-brand::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    top: -100px;
    left: -100px;
}

.ms-auth-brand-mark {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
}

.ms-auth-brand h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.ms-auth-brand p {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.8;
    max-width: 400px;
}

.ms-auth-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.ms-auth-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.ms-auth-features i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.ms-auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f4f6fb;
}

.ms-auth-form-box {
    width: 100%;
    max-width: 400px;
}

.ms-auth-form-box h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    color: #0f172a;
}

.ms-auth-form-box .lead-text {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.ms-auth-form-box .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
}

.ms-auth-form-box .form-control {
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
}

.ms-auth-form-box .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.ms-auth-form-box .btn-primary {
    background: #2563eb;
    border: none;
    border-radius: 12px;
    padding: 0.75rem;
    font-weight: 700;
    width: 100%;
}

.ms-auth-form-box .btn-primary:hover {
    background: #1d4ed8;
}

.ms-auth-password-wrap {
    position: relative;
}

.ms-auth-password-wrap .password-toggle-btn {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
}

@media (max-width: 991.98px) {
    .ms-auth-split { grid-template-columns: 1fr; }
    .ms-auth-brand { display: none; }
    .ms-auth-form-side { min-height: 100vh; }
}
