:root { --sepehr-bg: #f8fafc; --sepehr-surface: #ffffff; --sepehr-border: #e2e8f0; --sepehr-text: #0f172a; --sepehr-muted: #64748b; --sepehr-primary: #2563eb; --sepehr-primary-soft: #eff6ff; --sepehr-sidebar-w: 270px; }
body { font-family: 'Vazirmatn', Tahoma, sans-serif; background-color: var(--sepehr-bg); color: var(--sepehr-text); direction: rtl; text-align: right; overflow-x: hidden; }
.sepehr-wrapper { display: flex; min-height: 100vh; }
.sepehr-sidebar { width: var(--sepehr-sidebar-w); background: var(--sepehr-surface); border-left: 1px solid var(--sepehr-border); flex-shrink: 0; display: flex; flex-direction: column; transition: all 0.2s ease; }
.sepehr-brand { padding: 1.25rem; border-bottom: 1px solid var(--sepehr-border); display: flex; align-items: center; gap: 0.75rem; }
.sepehr-brand-logo { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.sepehr-nav-group { font-size: 0.72rem; font-weight: 700; color: var(--sepehr-muted); padding: 1rem 1.25rem 0.35rem; }
.sepehr-nav-link { display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 1rem; margin: 0.15rem 0.75rem; border-radius: 8px; color: #334155; text-decoration: none; font-size: 0.88rem; font-weight: 500; }
.sepehr-nav-link:hover { background-color: #f1f5f9; color: var(--sepehr-primary); }
.sepehr-nav-link.active { background-color: var(--sepehr-primary-soft); color: var(--sepehr-primary); font-weight: 600; }
.sepehr-main { flex-grow: 1; display: flex; flex-direction: column; min-width: 0; }
.sepehr-topbar { height: 64px; background: var(--sepehr-surface); border-bottom: 1px solid var(--sepehr-border); padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1020; }
.sepehr-content { padding: 1.5rem; flex-grow: 1; }
.kpi-card { background: var(--sepehr-surface); border: 1px solid var(--sepehr-border); border-radius: 14px; padding: 1.25rem; }
.kpi-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.tree-pill { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.85rem; background: #f1f5f9; border: 1px solid var(--sepehr-border); border-radius: 999px; color: var(--sepehr-text); text-decoration: none; font-size: 0.84rem; }
@media (max-width: 991.98px) { .sepehr-sidebar { position: fixed; right: -280px; top: 0; bottom: 0; z-index: 1040; } .sepehr-sidebar.show { right: 0; } }

.sepehr-login-page { background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
