/* Modern login / register screens */
.auth-modern-page { padding: 48px 0 72px; background: var(--body_bg, transparent); }
.auth-modern { display: flex; max-width: 1080px; margin: 0 auto; background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid #eef1f5; box-shadow: 0 24px 60px rgba(15, 23, 42, .08); }
.auth-modern-visual { flex: 0 0 46%; position: relative; min-height: 620px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 40px; background-size: cover; background-position: center; }
.auth-modern-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.15) 0%, rgba(15,23,42,.55) 55%, rgba(15,23,42,.92) 100%); }
.auth-modern-visual > * { position: relative; z-index: 1; }
.auth-modern-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); }
.auth-modern-visual h2 { font-size: 30px; font-weight: 800; line-height: 1.25; color: #fff; margin-bottom: 12px; }
.auth-modern-visual p { font-size: 15px; opacity: .88; margin-bottom: 22px; color: #fff; }
.auth-modern-points { list-style: none; padding: 0; margin: 0; }
.auth-modern-points li { display: flex; align-items: center; font-size: 14px; margin-bottom: 10px; }
.auth-modern-points li span { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; margin-right: 10px; background: var(--primary); color: var(--primary-btn-color, #fff); font-size: 13px; }

.auth-modern-form { flex: 1 1 auto; min-width: 0; padding: 52px 56px; display: flex; flex-direction: column; justify-content: center; }
.auth-modern-form .auth-modern-head h1 { font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 6px; }
.auth-modern-form .auth-modern-head p { color: #64748b; font-size: 15px; margin: 0; }
.auth-modern-form .input-label { font-size: 14px; font-weight: 600; color: #334155; margin-bottom: 8px; }
.auth-modern-form .form-control, .auth-modern-form .select2-container--default .select2-selection--single { height: 50px; border-radius: 12px; border: 1px solid #e2e8f0; background: #f8fafc; font-size: 15px; transition: border-color .15s, box-shadow .15s, background .15s; }
.auth-modern-form .form-control:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.auth-modern-form .form-group { margin-bottom: 18px; }
.auth-modern-form .btn-primary { height: 52px; border-radius: 12px; font-size: 16px; font-weight: 700; box-shadow: var(--primary-btn-shadow); transition: transform .15s, box-shadow .15s; }
.auth-modern-form .btn-primary:hover { transform: translateY(-1px); box-shadow: var(--primary-btn-shadow-hover); }

/* segmented tabs (email/phone, account type) */
.auth-modern-form .wizard-custom-radio { background: #f1f5f9; border-radius: 12px; padding: 4px; border: 0; gap: 4px; }
.auth-modern-form .wizard-custom-radio-item label { border: 0 !important; border-radius: 9px !important; margin: 0; width: 100%; text-align: center; font-weight: 600; color: #64748b; background: transparent; transition: all .15s; }
.auth-modern-form .wizard-custom-radio-item input:checked + label { background: #fff !important; color: #0f172a !important; box-shadow: 0 2px 8px rgba(15,23,42,.08); }

/* divider + social */
.auth-modern-divider { display: flex; align-items: center; color: #94a3b8; font-size: 13px; margin: 24px 0 4px; }
.auth-modern-divider::before, .auth-modern-divider::after { content: ""; flex: 1; height: 1px; background: #e2e8f0; }
.auth-modern-divider span { padding: 0 14px; }
.auth-modern-form .social-login { border: 1px solid #e2e8f0; border-radius: 12px; height: 50px; color: #334155; font-weight: 600; transition: background .15s, border-color .15s; }
.auth-modern-form .social-login:hover { background: #f8fafc; border-color: #cbd5e1; }
.auth-modern-form .social-login img { width: 22px; height: 22px; }
.auth-modern-foot { color: #64748b; font-size: 14px; }
.auth-modern-foot a { color: var(--primary); font-weight: 700; }
.auth-modern-foot a:hover { color: var(--primary-hover, var(--primary)); }

@media (max-width: 991.98px) {
    .auth-modern-visual { flex-basis: 42%; padding: 30px; }
    .auth-modern-form { padding: 40px 32px; }
}
@media (max-width: 767.98px) {
    .auth-modern-page { padding: 20px 0 40px; }
    .auth-modern { flex-direction: column; border-radius: 18px; }
    .auth-modern-visual { min-height: 180px; padding: 24px; justify-content: flex-end; }
    .auth-modern-visual .auth-modern-badge, .auth-modern-visual .auth-modern-points, .auth-modern-visual p { display: none; }
    .auth-modern-visual h2 { font-size: 22px; margin: 0; }
    .auth-modern-form { padding: 28px 20px; }
    .auth-modern-form .auth-modern-head h1 { font-size: 24px; }
}
