/* ================= RESET & BASE ================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy-900: #0A1F44;
    --navy-800: #0F2A5C;
    --navy-700: #173B7A;
    --gold-500: #C9A227;
    --gold-400: #DDB43A;
    --gold-300: #E8C766;
    --gold-soft: rgba(201, 162, 39, 0.12);
    --emerald: #059669;
    --emerald-500: #10B981;
    --emerald-soft: rgba(5, 150, 105, 0.1);
    --red-500: #DC2626;
    --red-600: #B91C1C;
    --red-soft: rgba(220, 38, 38, 0.1);
    --blue-500: #3B82F6;
    --blue-soft: rgba(59, 130, 246, 0.1);
    --orange-500: #F59E0B;
    --orange-soft: rgba(245, 158, 11, 0.1);
    --purple-500: #8B5CF6;
    --purple-soft: rgba(139, 92, 246, 0.1);
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-cream: #FDFCF9;
    --text-dark: #0F172A;
    --text-body: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border: #E2E8F0;
    --border-light: rgba(255,255,255,0.1);
    --shadow-sm: 0 4px 16px rgba(10, 31, 68, 0.06);
    --shadow-md: 0 12px 32px rgba(10, 31, 68, 0.10);
    --shadow-lg: 0 24px 60px rgba(10, 31, 68, 0.16);
    --shadow-gold: 0 12px 30px rgba(201, 162, 39, 0.35);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --sidebar-w: 260px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg-light);
    color: var(--text-body);
    line-height: 1.75;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

::selection { background: var(--gold-500); color: var(--navy-900); }

button:focus-visible, a:focus-visible, input:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ================= LOADING SCREEN ================= */
.loading-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    color: #fff;
}
.loading-screen.hide { opacity: 0; visibility: hidden; }
.loading-screen .spinner-lg {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.15);
    border-top-color: var(--gold-400);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-screen p { font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.8); }

.lawyer-accelerator-page{padding:24px;max-width:980px;margin:0 auto}
.lawyer-accelerator-heading{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.lawyer-accelerator-heading>div>span,.lawyer-accelerator-kicker{font-size:12px;color:#8a6b12;font-weight:800}
.lawyer-accelerator-heading h2{font-size:22px;color:var(--navy-900);margin-top:2px}
.lawyer-accelerator-icon,.lawyer-accelerator-crown{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,#fff4c4,#f0d775);color:#8a6410;font-size:22px;box-shadow:0 8px 22px #c9a22722}
.lawyer-accelerator-message,.lawyer-accelerator-plan{display:flex;align-items:flex-start;gap:16px;padding:20px;border:1px solid #eadb9f;border-radius:18px;background:linear-gradient(135deg,#fffdf4,#fff);color:#334155}
.lawyer-accelerator-message>i{font-size:24px;color:#bd9221;margin:3px 0 0 4px}
.lawyer-accelerator-message strong,.lawyer-accelerator-plan h3{color:#172b4d;font-size:17px}
.lawyer-accelerator-message p,.lawyer-accelerator-plan p{margin-top:7px;line-height:1.9;color:#64748b}
.lawyer-accelerator-plan.is-active{border-color:#d5b642;background:linear-gradient(135deg,#fff9df,#fff)}
.lawyer-accelerator-crown{width:46px;height:46px;flex:0 0 46px;border-radius:15px}
.lawyer-accelerator-purchase{margin-top:16px;padding:20px;border:1px solid #e5d28b;border-radius:18px;background:linear-gradient(135deg,#fffaf0,#fff);box-shadow:0 10px 26px rgba(137,105,16,.08)}.lawyer-accelerator-purchase>header{display:flex;align-items:center;gap:12px}.lawyer-accelerator-purchase>header>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#fff2c4;color:#9b7414;font-size:18px}.lawyer-accelerator-purchase>header small{color:#9b7414;font-weight:800}.lawyer-accelerator-purchase h3{margin:2px 0 0;color:#172b4d;font-size:17px}.lawyer-accelerator-purchase>p{margin:12px 0;color:#586a7f;line-height:1.9;font-size:13px}.lawyer-accelerator-buy-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:13px;border-top:1px solid #f0e6c9}.lawyer-accelerator-buy-row label{color:#354b64;font-size:12px;font-weight:800}.lawyer-accelerator-buy-row select{min-width:190px;min-height:42px;padding:8px 12px;border:1px solid #d5dfeb;border-radius:10px;background:#fff;color:#1e3550;font:700 13px Vazirmatn,sans-serif}.lawyer-accelerator-buy-row>strong{color:#167450;font-size:15px}.lawyer-accelerator-buy-row button{margin-right:auto;min-height:42px;padding:9px 15px;border:0;border-radius:10px;background:linear-gradient(135deg,#c8a333,#a98015);color:#fff;font:800 12px Vazirmatn,sans-serif;cursor:pointer}.lawyer-accelerator-buy-row button:disabled{opacity:.5;cursor:not-allowed}.lawyer-accelerator-payment-note{display:block;margin-top:10px;color:#7c8998;font-size:11px;line-height:1.8}.lawyer-accelerator-order-state{display:flex;align-items:flex-start;gap:9px;margin-top:13px;padding:11px 13px;border:1px solid #d9e6f3;border-radius:11px;background:#f6faff;color:#425a73;font-size:12px;line-height:1.8}.lawyer-accelerator-order-state i{margin-top:4px;color:#236c9c}.lawyer-accelerator-order-state b{color:#183b5e}@media(max-width:620px){.lawyer-accelerator-buy-row{align-items:stretch;flex-direction:column}.lawyer-accelerator-buy-row select{width:100%}.lawyer-accelerator-buy-row button{width:100%;margin:0}.lawyer-accelerator-buy-row>strong{min-height:24px}}

/* ================= IMPERSONATE BANNER ================= */
.impersonate-banner {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: linear-gradient(135deg, var(--purple-500), #7C3AED);
    color: #fff;
    padding: 10px 20px;
    z-index: 9999;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.5);
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.impersonate-banner.show { display: flex; }
.impersonate-banner button {
    padding: 6px 14px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}
.impersonate-banner button:hover { background: rgba(255,255,255,0.3); }

/* ================= LAYOUT ================= */
.app-layout {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    min-height: 100vh;
}

/* ================= SIDEBAR ================= */
.sidebar {
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: #fff;
    padding: 24px 16px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 8px;
}
.sidebar-logo .logo-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
    border-radius: 11px;
    font-size: 19px;
    box-shadow: var(--shadow-gold);
}
.sidebar-logo .logo-text {
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.3px;
}
.sidebar-logo .logo-text .accent { color: var(--gold-400); }

.user-mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: var(--transition);
}
.user-mini-card:hover { background: rgba(255,255,255,0.08); }
.user-avatar-wrap { position: relative; flex-shrink: 0; }
.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-500);
    background: var(--navy-800);
}
.user-avatar-wrap .verified-badge {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    background: var(--emerald-500);
    border: 2px solid var(--navy-900);
    border-radius: 50%;
    font-size: 9px;
    color: #fff;
}
.user-info { flex: 1; min-width: 0; }
.user-info .name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-info .role {
    font-size: 11.5px;
    color: var(--gold-400);
    display: flex;
    align-items: center;
    gap: 4px;
}
.user-info .role .status-dot {
    width: 6px;
    height: 6px;
    background: var(--emerald-500);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--emerald-500);
    animation: blink 2s infinite;
}
.user-info .role .status-dot.off {
    background: var(--text-light);
    box-shadow: none;
    animation: none;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Availability toggle */
.availability-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius);
    transition: var(--transition);
}
.availability-toggle.off {
    background: rgba(255,255,255,0.04);
    border-color: var(--border-light);
}
.availability-toggle .info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: #6EE7B7;
}
.availability-toggle.off .info { color: rgba(255,255,255,0.6); }
.availability-toggle .info i { font-size: 14px; }
.availability-toggle:disabled { opacity: 0.6; pointer-events: none; }

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.nav-section {
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 12px 6px;
}
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}
.sidebar-nav a:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.sidebar-nav a.active {
    background: linear-gradient(90deg, var(--gold-soft), transparent);
    color: var(--gold-400);
    font-weight: 700;
}
.sidebar-nav a.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--gold-500);
    border-radius: 3px;
}
.sidebar-nav a .icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.05);
    border-radius: 9px;
    font-size: 15px;
    flex-shrink: 0;
    transition: var(--transition);
}
.sidebar-nav a.active .icon {
    background: var(--gold-soft);
    color: var(--gold-400);
}
.sidebar-nav a:hover .icon { background: rgba(255,255,255,0.1); }
.sidebar-nav a .badge {
    margin-right: auto;
    background: var(--red-500);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 100px;
    min-width: 22px;
    text-align: center;
}
.sidebar-nav a .badge.gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
}

/* Compact panel navigation: keep every destination visible without loosening spacing. */
.sidebar { padding: 12px 12px 10px; gap: 8px; }
.sidebar-logo { padding: 2px 6px 9px; margin-bottom: 0; gap: 8px; }
.sidebar-logo .logo-icon { width: 32px; height: 32px; font-size: 16px; border-radius: 9px; }
.sidebar-logo .logo-text { font-size: 16px; }
.sidebar-nav { gap: 1px; }
.nav-section { padding: 6px 10px 2px; font-size: 9px; letter-spacing: .5px; }
.sidebar-nav a { gap: 9px; padding: 6px 10px; border-radius: 8px; font-size: 12.5px; line-height: 1.25; }
.sidebar-nav a .icon { width: 25px; height: 25px; border-radius: 7px; font-size: 12px; }
.sidebar-nav a.active::before { height: 16px; }
.sidebar-footer { padding-top: 8px; }
.sidebar-nav a .badge.hidden { display: none; }

.sidebar-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sidebar-footer a,
.sidebar-footer button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: rgba(255,255,255,0.65);
    font-size: 13.5px;
    transition: var(--transition);
    text-align: right;
    width: 100%;
    font-family: inherit;
}
.sidebar-footer a:hover,
.sidebar-footer button:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.sidebar-footer a.logout,
.sidebar-footer button.logout { color: #FCA5A5; }
.sidebar-footer a.logout:hover,
.sidebar-footer button.logout:hover {
    background: rgba(220, 38, 38, 0.15);
    color: #FEE2E2;
}
.sidebar-footer a .icon,
.sidebar-footer button .icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* ================= MAIN ================= */
.main-content {
    padding: 24px 32px 40px;
    overflow-x: hidden;
    min-width: 0;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.menu-toggle-btn {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--navy-900);
    font-size: 18px;
    transition: var(--transition);
}
.menu-toggle-btn:hover {
    background: var(--bg-light);
    border-color: var(--gold-500);
}
.page-title h1 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 900;
    color: var(--navy-900);
    letter-spacing: -0.5px;
    line-height: 1.3;
    margin-bottom: 4px;
}
.page-title p { font-size: 13.5px; color: var(--text-muted); }

.topbar-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 11px;
    color: var(--text-body);
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}
.icon-btn:hover {
    background: var(--bg-light);
    border-color: var(--gold-500);
    color: var(--navy-900);
}
.icon-btn .dot-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--red-500);
    border-radius: 50%;
    border: 2px solid #fff;
}
.btn-primary {
    padding: 11px 20px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #fff;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 6px 18px rgba(10, 31, 68, 0.2);
    cursor: pointer;
    border: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(10, 31, 68, 0.3);
}

/* ================= PAGE VIEWS ================= */
.page-view { display: none; animation: fadeIn 0.4s ease; }
.page-view.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================= CARD ================= */
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.card-header h2 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy-900);
    display: flex;
    align-items: center;
    gap: 10px;
}
.card-header h2 .icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--gold-soft);
    color: var(--gold-500);
    border-radius: 10px;
    font-size: 16px;
}
.card-header .link {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-500);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    cursor: pointer;
}
.card-header .link:hover { gap: 10px; }

/* ================= DASHBOARD ================= */
.welcome-banner {
    position: relative;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    border-radius: var(--radius-lg);
    padding: 32px;
    color: #fff;
    overflow: hidden;
    margin-bottom: 24px;
}
.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.3), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}
.welcome-banner::after {
    content: '';
    position: absolute;
    bottom: -50%; left: -10%;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(30, 75, 148, 0.5), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}
.welcome-banner > * { position: relative; z-index: 2; }
.welcome-banner .banner-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.welcome-banner h2 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.welcome-banner h2 .accent { color: var(--gold-400); }
.welcome-banner p {
    color: rgba(255,255,255,0.78);
    font-size: 14.5px;
    margin-bottom: 20px;
    max-width: 480px;
}
.welcome-banner .btn-light {
    padding: 11px 22px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}
.welcome-banner .btn-light:hover { background: rgba(255,255,255,0.2); }
.welcome-top-lawyer{display:inline-flex;align-items:center;gap:10px;margin:-5px 0 16px;padding:9px 13px;border:1px solid rgba(236,203,99,.42);border-radius:13px;background:rgba(255,255,255,.1);color:#f4d56f}.welcome-top-lawyer>i{font-size:20px}.welcome-top-lawyer span{display:grid;gap:1px}.welcome-top-lawyer strong{font-size:12px}.welcome-top-lawyer small{color:rgba(255,255,255,.78);font-size:10px}.welcome-top-lawyer[hidden]{display:none!important}
.lawyer-accelerator-history{margin-top:17px;border:1px solid #e2e9ef;border-radius:14px;background:#fff;overflow:hidden}.lawyer-accelerator-history summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;color:#203a56;font-size:13px;font-weight:800;cursor:pointer;list-style:none}.lawyer-accelerator-history summary::-webkit-details-marker{display:none}.lawyer-accelerator-history summary span{display:flex;align-items:center;gap:9px}.lawyer-accelerator-history summary i{color:#a27b15}.lawyer-accelerator-history summary small{color:#75869a;font-size:11px}.lawyer-accelerator-history-table{overflow-x:auto;border-top:1px solid #e9eef3}.lawyer-accelerator-history table{width:100%;min-width:760px;border-collapse:collapse;text-align:right}.lawyer-accelerator-history th,.lawyer-accelerator-history td{padding:10px 12px;border-bottom:1px solid #edf1f5;font-size:11px;white-space:nowrap}.lawyer-accelerator-history th{background:#f8fafc;color:#64758a}.lawyer-accelerator-history td{color:#334b65}.lawyer-accelerator-history tbody tr:last-child td{border-bottom:0}

.banner-rating {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 18px 22px;
    text-align: center;
    min-width: 180px;
}
.banner-rating .stars {
    color: var(--gold-400);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.banner-rating .score {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.banner-rating .reviews {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.stat-card .icon-box {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 19px;
    margin-bottom: 14px;
}
.stat-card .num {
    font-size: 26px;
    font-weight: 900;
    color: var(--navy-900);
    line-height: 1.1;
    margin-bottom: 4px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.stat-card .num small {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}
.stat-card .label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.stat-card .trend {
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 3px 8px;
    border-radius: 100px;
}
.stat-card .trend.up { background: var(--emerald-soft); color: var(--emerald); }
.stat-card .trend.down { background: var(--red-soft); color: var(--red-500); }

.icon-gold { background: var(--gold-soft); color: var(--gold-500); }
.icon-emerald { background: var(--emerald-soft); color: var(--emerald); }
.icon-blue { background: var(--blue-soft); color: var(--blue-500); }
.icon-orange { background: var(--orange-soft); color: var(--orange-500); }
.icon-red { background: var(--red-soft); color: var(--red-500); }
.icon-purple { background: var(--purple-soft); color: var(--purple-500); }

.two-col-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.request-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 10px;
    transition: var(--transition);
    background: #fff;
    position: relative;
}
.request-item:last-child { margin-bottom: 0; }
.request-item:hover {
    border-color: var(--gold-500);
    background: var(--bg-cream);
}
.request-item.urgent {
    border-color: rgba(220, 38, 38, 0.25);
    background: linear-gradient(90deg, #FEF2F2, #fff);
}
.request-item.urgent::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--red-500), var(--red-600));
    border-radius: 0 3px 3px 0;
}
.request-item .avatar-wrap { position: relative; flex-shrink: 0; }
.request-item .avatar-wrap img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-light);
}
.request-item .info { flex: 1; min-width: 0; }
.request-item .info .name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.request-item .info .badge-urgent {
    background: linear-gradient(135deg, var(--red-500), var(--red-600));
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 100px;
}
.request-item .info .meta {
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.request-item .info .meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.request-item .info .preview {
    font-size: 13px;
    color: var(--text-body);
    padding: 10px 12px;
    background: var(--bg-light);
    border-radius: 8px;
    border-right: 3px solid var(--gold-500);
    line-height: 1.6;
}
.request-item .actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}
.btn-sm {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    white-space: nowrap;
    justify-content: center;
    cursor: pointer;
    border: none;
}
.btn-accept {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald));
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}
.btn-accept:disabled { opacity: 0.6; pointer-events: none; }
.btn-view {
    background: #fff;
    color: var(--text-body);
    border: 1.5px solid var(--border);
}
.btn-view:hover {
    border-color: var(--navy-900);
    color: var(--navy-900);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}
.status-badge.pending { background: var(--orange-soft); color: var(--orange-500); }
.status-badge.active { background: var(--emerald-soft); color: var(--emerald); }
.status-badge.completed { background: var(--blue-soft); color: var(--blue-500); }
.status-badge.cancelled { background: var(--red-soft); color: var(--red-500); }
.status-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.status-badge.pending .dot { animation: blink 1.5s infinite; }

.quick-stats { display: grid; gap: 12px; }
.quick-stat-item {
    padding: 16px;
    background: linear-gradient(135deg, var(--bg-light), #fff);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}
.quick-stat-item:hover {
    border-color: var(--gold-500);
    transform: translateX(-3px);
}
.quick-stat-item .icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
    border-radius: 11px;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
}
.quick-stat-item .info { flex: 1; min-width: 0; }
.quick-stat-item .info .num {
    font-size: 19px;
    font-weight: 900;
    color: var(--navy-900);
    line-height: 1.2;
}
.quick-stat-item .info .label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 50px 20px;
}
.empty-state .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    background: var(--bg-light);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 32px;
}
.empty-state h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 8px;
}
.empty-state p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 380px;
    margin: 0 auto 20px;
}

/* ================= TABLES ================= */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.data-table thead { background: var(--bg-light); }
.data-table th {
    padding: 14px 16px;
    text-align: right;
    font-weight: 800;
    font-size: 12.5px;
    color: var(--navy-900);
    white-space: nowrap;
    border-bottom: 2px solid var(--border);
}
.data-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
    vertical-align: middle;
}
.data-table tbody tr { transition: var(--transition); }
.data-table tbody tr:hover { background: var(--bg-cream); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table .user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}
.data-table .user-cell img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-light);
}
.data-table .user-cell .name {
    font-weight: 700;
    color: var(--navy-900);
    font-size: 13.5px;
}
.data-table .user-cell .sub {
    font-size: 11.5px;
    color: var(--text-muted);
}
.data-table .action-btn {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 14px;
    cursor: pointer;
    border: none;
    background: none;
}
.data-table .action-btn:hover {
    background: var(--gold-soft);
    color: var(--gold-500);
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* ================= FINANCE / BANK ================= */
.bank-info-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    margin-top: 10px;
}
.bank-info-card .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px dashed var(--border);
    flex-wrap: wrap;
    gap: 8px;
}
.bank-info-card .row:last-child { border-bottom: none; }
.bank-info-card .row .label { color: var(--text-muted); }
.bank-info-card .row .value {
    font-weight: 700;
    color: var(--navy-900);
    direction: ltr;
    text-align: left;
    word-break: break-all;
    font-size: 13px;
}

.payments-list {
    display: grid;
    gap: 10px;
}

.payment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--bg-light), #fff);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-right: 4px solid var(--emerald);
    transition: var(--transition);
    flex-wrap: wrap;
}
.payment-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(-2px);
}
.payment-item .payment-info { flex: 1; min-width: 200px; }
.payment-item .payment-info .amount {
    font-size: 17px;
    font-weight: 900;
    color: var(--emerald);
    margin-bottom: 4px;
}
.payment-item .payment-info .meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.payment-item .payment-info .meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.payment-item .payment-date {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ================= FILTERS ================= */
.filters-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.filter-chip {
    padding: 8px 16px;
    border: 1.5px solid var(--border);
    background: #fff;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}
.filter-chip:hover {
    border-color: var(--gold-500);
    color: var(--navy-900);
}
.filter-chip.active {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    border-color: var(--navy-900);
    color: #fff;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 320px;
}
.search-box input {
    width: 100%;
    padding: 11px 40px 11px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    font-size: 13.5px;
    transition: var(--transition);
    font-family: inherit;
}
.search-box input:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}
.search-box i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 14px;
    pointer-events: none;
}

/* ================= CHATS ================= */
.chats-list { display: grid; gap: 10px; }
.chat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    transition: var(--transition);
    cursor: pointer;
}
.chat-item:hover {
    border-color: var(--gold-500);
    background: var(--bg-cream);
    transform: translateX(-3px);
}
.chat-avatar { position: relative; flex-shrink: 0; }
.chat-avatar img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-light);
}
.chat-avatar .badge {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 14px;
    height: 14px;
    background: var(--emerald-500);
    border: 2px solid #fff;
    border-radius: 50%;
}
.chat-body { flex: 1; min-width: 0; }
.chat-body .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}
.chat-body .name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy-900);
}
.chat-body .time {
    font-size: 11.5px;
    color: var(--text-muted);
    white-space: nowrap;
}
.chat-body .msg {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chat-unread-count {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    background: var(--red-500);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

/* ================= FORM ================= */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
.form-group { display: grid; gap: 8px; }
.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.form-group label .optional {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--bg-light);
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
    font-family: inherit;
}
.form-group textarea { min-height: 90px; resize: vertical; line-height: 1.7; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}
.form-group .hint { font-size: 11.5px; color: var(--text-muted); }
.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.btn-outline {
    padding: 11px 22px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-body);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-outline:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn-gold {
    padding: 11px 22px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
    cursor: pointer;
    border: none;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(201, 162, 39, 0.5);
}
.btn-gold:disabled { opacity: 0.6; pointer-events: none; }

/* Chips */
.specialty-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; user-select: none; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip .chip-inner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-body);
    background: #fff;
    transition: var(--transition);
}
.chip .chip-inner:hover { border-color: var(--gold-500); color: var(--navy-900); }
.chip input:checked ~ .chip-inner {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    border-color: var(--gold-500);
    color: var(--navy-900);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

/* Profile header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    border-radius: var(--radius-lg);
    color: #fff;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}
.profile-header::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.25), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}
.profile-header > * { position: relative; z-index: 2; }
.profile-avatar-wrap { position: relative; flex-shrink: 0; }
.profile-avatar-wrap img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.2);
    background: var(--navy-800);
}
.profile-avatar-wrap .edit-avatar {
    position: absolute;
    bottom: 4px;
    left: 4px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: var(--gold-500);
    color: var(--navy-900);
    border-radius: 50%;
    font-size: 13px;
    border: 3px solid var(--navy-900);
    cursor: pointer;
    transition: var(--transition);
}
.profile-avatar-wrap .edit-avatar:hover {
    background: var(--gold-400);
    transform: scale(1.1);
}
.profile-info { flex: 1; min-width: 0; }
.profile-info h2 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.profile-info h2 .verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--emerald-soft);
    color: #6EE7B7;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(5, 150, 105, 0.4);
}
.profile-info h2 .pending-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--orange-soft);
    color: #FCD34D;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(245, 158, 11, 0.4);
}
.profile-info p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    margin-bottom: 12px;
}
.profile-info .badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.profile-info .badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

/* ================= SETTINGS ================= */
.settings-list { display: grid; gap: 12px; }

.slot-plan-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.slot-plan-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--bg-light);
    color: var(--text-body);
    font-size: 12.5px;
    font-weight: 800;
    border: 1px solid var(--border);
}
.weekly-slots {
    display: grid;
    grid-template-columns: repeat(7, minmax(180px, 1fr));
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.weekly-day {
    min-width: 180px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    overflow: hidden;
}
.weekly-day h3 {
    padding: 10px 12px;
    background: var(--navy-900);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}
.weekly-slot-row {
    padding: 9px;
    border-top: 1px solid var(--border);
}
.weekly-slot-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
    font-size: 12.5px;
    font-weight: 900;
    color: var(--text-dark);
}
.weekly-slot-time small {
    color: var(--text-muted);
    font-weight: 700;
}
.weekly-slot-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}
.weekly-slot-services label {
    display: grid;
    place-items: center;
    min-height: 30px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--transition);
}
.weekly-slot-services input { display: none; }
.weekly-slot-services label:has(input:checked) {
    background: var(--gold-soft);
    border-color: var(--gold-500);
    color: var(--navy-900);
}
.service-switches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.service-switch-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}
.service-switch-card > input[type="checkbox"] { display: none; }
.service-switch-card .switch-copy {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 2px;
}
.service-switch-card strong {
    color: var(--navy-900);
    font-size: 13.5px;
}
.service-switch-card small {
    color: var(--text-muted);
    font-size: 11.5px;
}
.service-fields {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.service-field {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    min-width: 135px;
    color: var(--text-muted);
    font-size: 11px;
}
.service-field input,
.service-field select {
    width: 110px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    direction: ltr;
    text-align: left;
    font-size: 12px;
    background: #fff;
    font-family: inherit;
}
.service-field em {
    font-style: normal;
    color: var(--text-muted);
    font-size: 10px;
}
.request-item.new-order {
    border: 1.5px solid var(--gold-500);
    background: linear-gradient(135deg, var(--gold-soft), #fff);
}
.new-order-badge {
    display: inline-flex;
    margin-right: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--gold-500);
    color: var(--navy-900);
    font-size: 10.5px;
    font-weight: 900;
}
.details-row td {
    background: #F8FAFC;
    padding: 0 16px 16px !important;
}
.inline-details {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding: 16px;
    display: grid;
    gap: 8px;
    color: var(--text-body);
    font-size: 13px;
    line-height: 1.8;
}
.inline-details strong {
    color: var(--navy-900);
    font-size: 14px;
}
.order-coupon-note {
    display: inline-block;
    margin: 5px 0 2px;
    padding: 4px 8px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 11px;
    line-height: 1.8;
}
.setting-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.setting-item:hover { border-color: var(--gold-500); }
.setting-item .icon-box {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--bg-light);
    color: var(--navy-700);
    border-radius: 12px;
    font-size: 17px;
    flex-shrink: 0;
}
.setting-item .info { flex: 1; min-width: 0; }
.setting-item .info h4 {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 4px;
}
.setting-item .info p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

.toggle {
    position: relative;
    width: 46px;
    height: 26px;
    background: var(--border);
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    border: none;
}
.toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.toggle.active {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
}
.toggle.active::after { transform: translateX(-20px); }

/* ================= MODAL ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 68, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal {
    background: #fff;
    border-radius: 22px;
    max-width: 460px;
    width: 100%;
    padding: 32px 26px 26px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-overlay.show .modal { transform: scale(1) translateY(0); }
.modal::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}
.modal.success::before { background: linear-gradient(90deg, var(--emerald-500), #34D399); }
.modal.error::before { background: linear-gradient(90deg, var(--red-500), #F87171); }
.modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: var(--gold-500);
}
.modal.success .modal-icon { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); color: var(--emerald); }
.modal.error .modal-icon { background: linear-gradient(135deg, #FEE2E2, #FECACA); color: var(--red-500); }
.modal h3 { font-size: 19px; font-weight: 900; color: var(--navy-900); margin-bottom: 10px; line-height: 1.5; }
.modal p { font-size: 14.5px; color: var(--text-muted); line-height: 1.9; margin-bottom: 22px; white-space: pre-line; }
.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.modal-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    transition: var(--transition);
    flex: 1;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    border: none;
}
.modal-btn.cancel {
    background: var(--bg-light);
    color: var(--text-body);
    border: 1.5px solid var(--border);
}
.modal-btn.cancel:hover { border-color: var(--navy-900); color: var(--navy-900); }
.modal-btn.confirm {
    background: linear-gradient(135deg, var(--red-500), var(--red-600));
    color: #fff;
}
.modal-btn.primary {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #fff;
}
.modal-btn.primary:hover { transform: translateY(-2px); }
.modal-btn.gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
}
.modal-btn.gold:hover { transform: translateY(-2px); }
.modal-btn:disabled { opacity: 0.6; pointer-events: none; }

/* ================= TOAST ================= */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    background: var(--navy-900);
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    max-width: 360px;
    animation: toastIn 0.3s ease;
    pointer-events: auto;
    border-right: 4px solid var(--gold-500);
}
.toast.success { border-right-color: var(--emerald); }
.toast.error { border-right-color: var(--red-500); }
.toast i { font-size: 18px; }
@keyframes toastIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ================= MOBILE ================= */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 68, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.show { display: block; opacity: 1; }

@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .app-layout { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
        height: 100vh;
    }
    .sidebar.open { transform: translateX(0); }
    .main-content { padding: 20px 16px 30px; }
    .menu-toggle-btn { display: grid; }
    .stats-grid { grid-template-columns: 1fr; }
    .page-title h1 { font-size: 1.2rem; }
    .profile-header { padding: 20px; text-align: center; flex-direction: column; }
    .profile-info { text-align: center; }
    .profile-info .badges { justify-content: center; }
    .profile-info h2 { justify-content: center; }
    .topbar-actions .btn-primary span { display: none; }
    .topbar-actions .btn-primary { padding: 11px 14px; }
    .request-item { flex-wrap: wrap; }
    .request-item .actions { flex-direction: row; width: 100%; }
    .request-item .actions .btn-sm { flex: 1; }
    .banner-grid { flex-direction: column; text-align: center; }
    .banner-rating { width: 100%; }
    .toast-container { left: 12px; right: 12px; bottom: 12px; }
    .toast { min-width: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
.document-services-card{margin-top:14px;padding:14px;border:1px solid #dfe5ef;border-radius:12px;background:#fff}.document-services-card summary{cursor:pointer;font-weight:700;list-style:none}.document-services-card summary::-webkit-details-marker{display:none}.document-services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin-top:14px}.document-services-grid label{padding:9px;background:#f7f9fc;border-radius:8px;font-size:13px}.document-services-grid input{accent-color:#17366d}
.document-master-toggle{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:9px;background:#f5f8fc;cursor:pointer}.document-master-toggle input{width:18px;height:18px;accent-color:#17366d}.document-services-card details{margin-top:10px}.document-services-card details:not([open]) .document-services-grid{display:none}.weekly-slots{display:block;overflow:visible}.weekly-days-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;direction:rtl}.weekly-day-card{min-width:0;border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden}.weekly-day-card>summary{display:flex;align-items:center;gap:12px;list-style:none;padding:14px 16px;cursor:pointer;background:#f7f9fc}.weekly-day-card>summary::-webkit-details-marker{display:none}.weekly-day-title{font-weight:900;color:var(--navy-900);flex:1}.weekly-day-switch{display:flex;align-items:center;gap:7px;color:var(--text-muted);font-size:12px;font-weight:800}.weekly-day-switch input{width:18px;height:18px;accent-color:#059669;cursor:pointer}.weekly-day-chevron{transition:transform .2s}.weekly-day-card[open] .weekly-day-chevron{transform:rotate(180deg)}.weekly-day-content{padding:12px}.weekly-day-content>p{font-size:12px;color:var(--text-muted);margin:0 0 10px}.weekly-time-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:460px;overflow:auto}.weekly-slot-row{padding:8px;border:1px solid #e6eaf1;border-radius:9px}.weekly-slot-row.admin-closed{background:#f3f4f6;opacity:.75}.weekly-slot-time{font-size:11px;margin-bottom:5px}.weekly-slot-time small{font-size:9px}.weekly-slot-services{grid-template-columns:1fr;gap:4px}.weekly-slot-services label{display:flex;justify-content:flex-start;gap:6px;min-height:25px;padding:3px 6px;font-size:10px}.weekly-slot-services input{display:inline-block;accent-color:#17366d}.weekly-slot-services label:has(input:disabled){opacity:.45;cursor:not-allowed}
@media(max-width:700px){.weekly-days-grid{grid-template-columns:1fr}.weekly-time-grid{grid-template-columns:1fr}}
.weekly-day-switch input{appearance:none;-webkit-appearance:none;width:38px;height:22px;border-radius:999px;background:#cbd5e1;position:relative;transition:background .18s;vertical-align:middle}.weekly-day-switch input::before{content:"";position:absolute;top:3px;right:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .18s}.weekly-day-switch input:checked{background:#059669}.weekly-day-switch input:checked::before{transform:translateX(-16px)}
.weekly-day-header{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#f7f9fc}.weekly-day-header .weekly-day-title{flex:1}.weekly-day-switch{border:1px solid #cbd5e1;border-radius:999px;background:#e2e8f0;padding:6px 13px;color:#475569;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.weekly-day-switch.is-enabled{border-color:#059669;background:#dcfce7;color:#047857}.weekly-day-expand{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:#17366d;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.weekly-day-expand[aria-expanded=true] .weekly-day-chevron{transform:rotate(180deg)}.weekly-day-content[hidden]{display:none!important}
.lawyer-pending-notice{display:flex;align-items:flex-start;gap:9px;margin:12px 0;padding:12px 14px;border:1px solid #f2d37a;border-radius:10px;background:#fff8dd;color:#6c4d00;font-size:13px;font-weight:700;line-height:1.8}.lawyer-pending-notice[hidden]{display:none!important}.lawyer-pending-notice i{margin-top:5px}.availability-toggle button:disabled{opacity:.45;cursor:not-allowed}
.service-switches{display:block}.plan-settings-list{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:12px;margin-bottom:16px}.plan-setting-card{min-width:0;border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden}.plan-setting-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:15px 16px}.plan-setting-head>div{display:grid;gap:4px;min-width:0}.plan-setting-head strong{font-size:14px;color:var(--navy-900)}.plan-setting-head small{font-size:11px;color:var(--text-muted)}.plan-enable-control{display:flex;align-items:center;gap:7px;white-space:nowrap;cursor:pointer}.plan-enable-control input{position:absolute;opacity:0;width:1px;height:1px}.plan-enable-control b{font-size:11px;color:var(--text-muted)}.plan-switch-ui{width:38px;height:22px;border-radius:999px;background:#cbd5e1;position:relative;transition:background .18s}.plan-switch-ui::before{content:"";position:absolute;right:3px;top:3px;width:16px;height:16px;border-radius:50%;background:white;transition:transform .18s}.plan-enable-control input:checked+.plan-switch-ui{background:#059669}.plan-enable-control input:checked+.plan-switch-ui::before{transform:translateX(-16px)}.plan-settings-button{border:1px solid #ccd8e9;border-radius:8px;background:#f8fafc;padding:8px 11px;color:#17366d;font:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}.plan-settings-button:hover,.plan-settings-button.selected{background:#17366d;color:#fff;border-color:#17366d}.plan-settings-body{padding:14px 16px;border-top:1px solid #e4eaf2;background:#fbfcfe;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}.plan-settings-body[hidden]{display:none!important}.plan-setting-field{display:grid;gap:6px;font-size:12px;font-weight:800;color:var(--text-body)}.plan-setting-field input,.plan-setting-field select,.document-add-row select{width:100%;min-width:0;border:1px solid #ccd6e5;border-radius:8px;padding:9px;background:#fff;font:inherit}.plan-setting-help{grid-column:1/-1;margin:0;color:var(--text-muted);font-size:12px;line-height:1.8}.document-setting-card{grid-column:1/-1}.document-add-row{display:grid;gap:7px;font-size:12px;font-weight:800}.document-add-row>div{display:flex;gap:8px}.document-add-row button,.document-enabled-list button{border:0;border-radius:8px;background:#17366d;color:#fff;padding:8px 12px;font:inherit;font-weight:800;white-space:nowrap;cursor:pointer}.document-enabled-list{grid-column:1/-1;list-style:none;margin:0;padding:0;display:grid;gap:7px}.document-enabled-list li{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;background:#f1f5f9;border:1px solid #e1e8f0;border-radius:8px;font-size:12px}.document-enabled-list li.empty-document-list{color:var(--text-muted)}.document-enabled-list button{background:#fff0ef;color:#a52c2c;padding:5px 10px}
@media(max-width:760px){.plan-settings-list{grid-template-columns:1fr}.plan-setting-head{grid-template-columns:1fr auto}.plan-settings-button{grid-column:1/-1;justify-self:start}.plan-settings-body{grid-template-columns:1fr}.document-setting-card{grid-column:auto}.document-add-row>div{flex-direction:column}}

.lawyer-header-account{display:flex;align-items:center;gap:8px;padding:4px 10px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--text-dark);font-size:13px;font-weight:700}
.lawyer-header-account img{width:34px;height:34px;border-radius:50%;object-fit:cover}
@media(max-width:640px){.lawyer-header-account span{display:none}.lawyer-header-account{padding:3px}}

.profile-readonly{background:#f1f5f9!important;border-color:#e2e8f0!important;color:#516174!important;cursor:not-allowed!important}.profile-ticket-link{display:inline-flex;align-items:center;gap:6px;margin-top:7px;padding:0;color:#0d6594;font-family:inherit;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.profile-document-status>div{display:flex;flex-wrap:wrap;gap:8px}.profile-document-status span{padding:7px 11px;border:1px solid #dce8e4;border-radius:10px;background:#f2fbf6;color:#26714b;font-size:12px;font-weight:700}.lawyer-ticket-overlay{display:none;position:fixed;inset:0;z-index:10020;place-items:center;padding:18px;background:rgba(12,27,48,.62);backdrop-filter:blur(4px)}.lawyer-ticket-overlay.show{display:grid}.lawyer-ticket-modal{position:relative;width:min(520px,100%);max-height:90vh;overflow:auto;padding:28px;border:1px solid #e3eaf1;border-radius:22px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.28)}.lawyer-ticket-modal h2{margin:4px 0 2px;color:#142b48;font-size:22px}.lawyer-ticket-modal>p{margin:0 0 18px;color:#69798d;font-size:13px}.ticket-kicker{color:#a17e13;font-size:11px;font-weight:900}.lawyer-ticket-close{position:absolute;top:13px;left:15px;width:36px;height:36px;border-radius:12px;background:#f1f5f9;color:#53657b;font-size:24px}.lawyer-ticket-modal form{display:grid;gap:8px}.lawyer-ticket-modal form label{margin-top:6px;color:#344860;font-size:13px;font-weight:800}.lawyer-ticket-modal input,.lawyer-ticket-modal textarea{width:100%;padding:11px 13px;border:1px solid #dce4ed;border-radius:12px;background:#fbfcfd;color:#1d3048;font:inherit}.lawyer-ticket-modal textarea{resize:vertical;line-height:1.9}.lawyer-ticket-modal form button{justify-self:start;margin-top:8px}.dot-badge[hidden],.notification-count[hidden]{display:none!important}

.lawyer-announcement-board{margin:20px 0;padding:20px 22px;border:1px solid #dce7ef;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(25,50,75,.06)}.lawyer-announcement-board>header{display:flex;align-items:center;justify-content:space-between;padding-bottom:13px;border-bottom:1px solid #e8eef3;color:#a27e12}.lawyer-announcement-board>header span{font-size:11px;font-weight:800}.lawyer-announcement-board h2{margin:2px 0 0;color:#142b48;font-size:18px}.lawyer-announcement-board>header>i{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#fff8df}.lawyer-announcement-list article{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:15px 2px;border-bottom:1px solid #edf1f5}.lawyer-announcement-list article:last-child{border-bottom:0}.lawyer-announcement-list h3{margin:0 0 5px;color:#203651;font-size:14px}.lawyer-announcement-list p{margin:0;color:#52657b;line-height:1.8;white-space:pre-wrap}.lawyer-announcement-list time{display:block;margin-top:6px;color:#8896a7;font-size:11px}.lawyer-announcement-list a{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:10px;background:#f4f8fc;color:#145d8d;font-size:12px;font-weight:800;text-decoration:none}.lawyer-announcement-empty{margin:14px 0 0;color:#8090a1;font-size:13px}

.finance-history-accordion{margin:0}.finance-history-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer}.finance-history-accordion>summary::-webkit-details-marker{display:none}.finance-history-accordion>summary h2{margin:0;display:flex;align-items:center;gap:10px;color:inherit;font:inherit;font-size:18px}.history-summary-hint{display:inline-flex;align-items:center;gap:8px;color:#758499;font-size:12px;font-weight:700;white-space:nowrap}.finance-history-accordion[open]>summary .history-summary-hint i,.commission-history-accordion[open]>summary .history-summary-hint i{transform:rotate(180deg)}.history-summary-hint i{transition:transform .2s}.finance-history-accordion .payments-list,.finance-history-accordion .table-wrapper{margin-top:12px}.finance-history-accordion .table-wrapper{overflow-x:auto}.finance-history-accordion .data-table{min-width:860px}

.lawyer-discount-settings{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;margin:14px 0;padding:14px 16px;border:1px solid #d7e4f0;border-radius:14px;background:#f7fafd}.lawyer-discount-settings>div{display:grid;gap:4px}.lawyer-discount-settings strong{color:#16375d;font-size:14px}.lawyer-discount-settings small{color:#6f8093;font-size:11px;line-height:1.7}.lawyer-discount-settings label{display:flex;align-items:center;gap:6px;color:#40566e;font-size:12px;font-weight:700}.lawyer-discount-settings input{width:78px;height:40px;border:1px solid #cad8e7;border-radius:9px;text-align:center;font:700 14px Vazirmatn,sans-serif}.lawyer-discount-settings button{height:40px;padding:0 14px;border:0;border-radius:9px;background:#16375d;color:#fff;font:700 12px Vazirmatn,sans-serif;cursor:pointer}.lawyer-discount-settings button:hover{background:#c9a227;color:#102d56}@media(max-width:600px){.lawyer-discount-settings{grid-template-columns:1fr auto}.lawyer-discount-settings>div{grid-column:1/-1}.lawyer-discount-settings button{width:100%}}
.lawyer-discount-preview{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;padding-top:10px;border-top:1px solid #e2eaf2}.lawyer-discount-preview>span{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #e0e9f2;border-radius:10px;background:#fff;color:#52657a;font-size:11px}.lawyer-discount-preview>span small{color:#6e8094}.lawyer-discount-preview>span b{color:#127657;font-size:12px}.lawyer-discount-preview>span del{color:#95a2b0;font-size:10px}
.lawyer-discount-accordion{margin:14px 0;border:1px solid #d7e4f0;border-radius:14px;background:#fff;overflow:hidden}.lawyer-discount-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;color:#16375d;font-size:14px;font-weight:800;cursor:pointer;list-style:none}.lawyer-discount-accordion>summary::-webkit-details-marker{display:none}.lawyer-discount-accordion>summary span{display:flex;align-items:center;gap:8px}.lawyer-discount-accordion>summary>i{transition:transform .18s}.lawyer-discount-accordion[open]>summary>i{transform:rotate(180deg)}.lawyer-discount-accordion .lawyer-discount-settings{margin:0;border:0;border-top:1px solid #e7edf4;border-radius:0}.lawyer-discount-settings input:disabled,.lawyer-discount-settings button:disabled{opacity:.55;cursor:not-allowed}.lawyer-discount-settings #lawyerDiscountPolicyNote{color:#9a4b22;font-weight:700}
.profile-avatar-wrap .lawyer-avatar-edit{position:absolute;bottom:3px;left:3px;width:34px;height:34px;display:grid;place-items:center;border:3px solid #102d56;border-radius:50%;background:#c9a227;color:#102d56;font-size:13px;cursor:pointer;transition:.16s}.profile-avatar-wrap .lawyer-avatar-edit:hover{background:#e5c65a;transform:scale(1.08)}
.lawyer-wallet-shortcut{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:7px 12px;border:1px solid #cfe3d8;border-radius:12px;background:#f0faf4;color:#12633e;font:800 12px Vazirmatn,sans-serif;cursor:pointer;white-space:nowrap}.lawyer-wallet-shortcut:hover{background:#e1f4e8;border-color:#87c9a1}.lawyer-wallet-shortcut i{font-size:15px}
.lawyer-wallet-filters{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:14px 16px;border-bottom:1px solid var(--border-light);background:#fafbfd}.lawyer-wallet-filters label{display:grid;gap:5px;color:var(--text-muted);font-size:11px;font-weight:700}.lawyer-wallet-filters input,.lawyer-wallet-filters select{min-height:38px;padding:6px 9px;border:1px solid var(--border-light);border-radius:9px;background:#fff;color:var(--text-main);font:12px Vazirmatn,sans-serif}.lawyer-wallet-filters button{min-height:38px!important;padding:6px 12px!important;font-size:11px!important}
@media(max-width:650px){.lawyer-wallet-shortcut{width:38px;padding:0;justify-content:center}.lawyer-wallet-shortcut span{display:none}.lawyer-wallet-filters{align-items:stretch}.lawyer-wallet-filters label{flex:1 1 42%}.lawyer-wallet-filters button{flex:1}}
.lawyer-wallet-balance-card{display:flex;align-items:center;gap:14px;margin:0 0 20px;padding:18px 20px;border:1px solid #d7eadf;border-radius:17px;background:linear-gradient(105deg,#f0faf3,#fff)}.lawyer-wallet-balance-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:15px;background:#def3e5;color:#167049;font-size:20px}.lawyer-wallet-balance-card h2{margin:0 0 3px;color:var(--navy-800);font-size:15px}.lawyer-wallet-balance-card p{margin:0;color:var(--text-muted);font-size:11px}.lawyer-wallet-balance-card>strong{margin-inline-start:auto;color:#12633e;font-size:19px;white-space:nowrap}
@media(max-width:620px){.lawyer-wallet-balance-card{flex-wrap:wrap;padding:13px}.lawyer-wallet-balance-card>strong{margin-inline-start:0;margin-right:auto}.lawyer-wallet-balance-card .btn{width:100%}}
.bank-info-note{margin:0 0 16px;padding:12px 14px;border-right:3px solid var(--blue-500);border-radius:10px;background:var(--blue-soft);color:var(--text-muted);font-size:12px;line-height:1.8}.bank-info-note i{margin-left:6px;color:var(--blue-500)}.lawyer-bank-form{padding-top:4px}.lawyer-bank-form .form-actions{margin-top:4px;padding-top:14px}.lawyer-bank-form .form-actions button{min-width:190px}
.jalali-datetime-control{position:relative;display:flex;align-items:stretch;width:100%;gap:7px}.jalali-datetime-control>input{flex:1;min-width:0}.jalali-picker-open{width:44px;flex:0 0 44px;border:1px solid #dce4ed;border-radius:11px;background:#f5f8fb;color:#17365c;font-size:17px;cursor:pointer}.jalali-picker-open:hover{border-color:#c9a227;background:#fff9e8;color:#997400}.jalali-datetime-picker{position:fixed;z-index:99999;width:min(320px,calc(100vw - 24px));padding:13px;border:1px solid #dbe4ed;border-radius:16px;background:#fff;box-shadow:0 16px 50px rgba(15,42,75,.2);direction:rtl;color:#183453}.jalali-datetime-picker[hidden]{display:none!important}.jalali-picker-head{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;text-align:center;margin-bottom:10px}.jalali-picker-head strong{font-size:14px}.jalali-picker-head button{width:34px;height:34px;border:1px solid #e3eaf1;border-radius:9px;color:#183453;background:#f8fafc;cursor:pointer}.jalali-picker-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.jalali-picker-weekdays{margin-bottom:5px;color:#728198;font-size:10px;font-weight:800}.jalali-picker-days button,.jalali-picker-empty{height:34px}.jalali-picker-days button{border:1px solid transparent;border-radius:9px;background:#fff;color:#29445f;font-size:12px;cursor:pointer}.jalali-picker-days button:hover{border-color:#c9a227;background:#fff9e8}.jalali-picker-days button.is-selected{background:#17365c;color:#fff}.jalali-picker-time{display:grid;grid-template-columns:1fr auto;align-items:end;gap:9px;margin-top:12px;padding-top:11px;border-top:1px solid #edf1f5}.jalali-picker-time label{display:grid;gap:4px;color:#66778d;font-size:11px;font-weight:700}.jalali-picker-time input{width:100%;padding:7px;border:1px solid #dce4ed;border-radius:9px;direction:ltr;background:#fff;color:#183453;font:inherit;font-size:12px}.jalali-picker-time>button{height:36px;padding:0 11px;border:0;border-radius:9px;background:#17365c;color:#fff;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}.jalali-picker-time-inputs{display:grid;grid-template-columns:minmax(52px,1fr) auto minmax(52px,1fr);align-items:end;gap:7px}.jalali-picker-time-inputs label{min-width:0;text-align:center}.jalali-picker-time-inputs input{height:36px;text-align:center;font-weight:800;font-size:14px}.jalali-picker-time-inputs>span{padding-bottom:9px;color:#61748a;font-weight:900}.jalali-time-error{grid-column:1/-1;color:#b42318;font-size:10px;font-weight:700}
@media(max-width:600px){.jalali-datetime-picker{width:min(310px,calc(100vw - 24px))}}
.profile-document-status span[hidden]{display:none!important}
