:root{
  --bg: #0a1520;
  --panel: #0f1f30;
  --panel-2: #122840;
  --border: #1c3450;
  --text: #dce8f2;
  --text-dim: #7f97ac;
  --accent: #2fd9c4;
  --accent-dim: #1a5f57;
  --amber: #ffb347;
  --green: #4ade80;
  --red: #ff5c6c;
  --blue: #4fa9ff;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --font: 'Vazirmatn', sans-serif;
}

/* رفع پس‌زمینه سفید/زرد خودکار مرورگر (Chrome autofill) روی فیلدهای فرم */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus{
  -webkit-box-shadow: 0 0 0 1000px var(--panel-2) inset !important;
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--text);
  transition: background-color 9999s ease-in-out 0s;
}

*{ box-sizing: border-box; }

body{
  margin:0;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(47,217,196,0.05), transparent 40%),
    radial-gradient(circle at 85% 100%, rgba(79,169,255,0.04), transparent 40%);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
}

.shell{ display:flex; min-height:100vh; }

/* ---------------- Sidebar ---------------- */
.sidebar{
  width: 250px;
  flex-shrink:0;
  background: var(--panel);
  border-left: 1px solid var(--border);
  display:flex;
  flex-direction:column;
  padding: 18px 14px;
  position: sticky;
  top:0;
  height: 100vh;
}
.brand{ display:flex; align-items:center; gap:10px; padding: 6px 6px 20px; border-bottom:1px solid var(--border); margin-bottom: 14px;}
.brand-mark{
  width:40px; height:40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--amber), #ff8a3d);
  display:flex; align-items:center; justify-content:center;
  font-size: 20px; color:#1a0f00; flex-shrink:0;
}
.brand-mark-logo{
  background: #ffffff; padding: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  border: 1px solid var(--border);
}
.brand-mark-logo img{ width:100%; height:100%; object-fit:contain; }
.brand-title{ font-size:14px; font-weight:700; line-height:1.4;}
.brand-sub{ font-size:11px; color:var(--text-dim);}
.nav{
  display:flex; flex-direction:column; gap:4px; flex:1;
  overflow-y:auto; overflow-x:hidden; min-height:0;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.nav::-webkit-scrollbar{ width:5px; }
.nav::-webkit-scrollbar-track{ background:transparent; }
.nav::-webkit-scrollbar-thumb{ background: var(--border); border-radius:3px; }
.nav::-webkit-scrollbar-thumb:hover{ background: var(--accent-dim); }
.nav-item{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:8px;
  color: var(--text-dim); text-decoration:none; font-size:13.5px;
  transition: all .15s ease; border:1px solid transparent;
}
.nav-item .ico{ width:16px; height:16px; flex-shrink:0; color:var(--accent); stroke-width:2; }
.nav-item.active .ico{ color: var(--accent); }
.nav-item:hover{ background: var(--panel-2); color:var(--text); }
.nav-item.active{ background: var(--panel-2); color: var(--text); border-color: var(--border); box-shadow: inset 3px 0 0 var(--accent); }

.nav-group{ display:flex; flex-direction:column; }
.nav-group-header{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:10px 12px; border-radius:8px; background:none; border:1px solid transparent;
  color: var(--text-dim); font-size:12px; font-weight:700; letter-spacing:0.4px;
  cursor:pointer; text-align:right; width:100%; font-family: var(--font);
  transition: background .15s ease;
}
.nav-group-header > span{ display:flex; align-items:center; gap:8px; }
.nav-group-header:hover{ background: var(--panel-2); color: var(--text); }
.nav-group-header .ico{ width:15px; height:15px; color: var(--accent); margin-left:10px; stroke-width:2; flex-shrink:0; }
.nav-chevron{ width:13px; height:13px; transition: transform .2s ease; color: var(--text-dim); }
.nav-group.open .nav-chevron{ transform: rotate(180deg); }
.nav-group-body{
  display:none; flex-direction:column; gap:2px;
  padding-right:6px; margin-top:2px; margin-bottom:4px;
  border-right: 1px solid var(--border);
}
.nav-group.open .nav-group-body{ display:flex; }
.nav-group-body .nav-item{ font-size:13px; padding:8px 12px; }
.user-box{
  display:flex; align-items:center; gap:10px; padding:10px; border-radius:10px;
  background: var(--panel-2); border:1px solid var(--border); margin-bottom:10px;
}
.user-avatar{
  width:32px; height:32px; border-radius:50%; background: var(--accent-dim); color: var(--accent);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex-shrink:0;
}
.user-info{ flex:1; min-width:0; }
.user-name{ font-size:12.5px; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.user-role{ font-size:10.5px; color:var(--text-dim); }
.logout-link{ color: var(--text-dim); text-decoration:none; display:flex; align-items:center; }
.logout-link svg{ width:17px; height:17px; }
.logout-link:hover{ color: var(--red); }
/* ---------------- گیج عقربه‌ای (Radial Gauge) ---------------- */
.gauge-row{ display:flex; gap:20px; flex-wrap:wrap; justify-content:space-around; padding: 6px 0; }
.gauge-item{ display:flex; flex-direction:column; align-items:center; gap:10px; }
.gauge{
  --pct: 0;
  width:150px; height:150px; border-radius:50%;
  background: conic-gradient(var(--gauge-color, var(--accent)) calc(var(--pct)*1%), var(--panel-2) 0);
  display:flex; align-items:center; justify-content:center; position:relative;
  transition: background 0.6s ease, box-shadow 0.6s ease;
  box-shadow: 0 0 0 1px var(--border), 0 4px 18px -6px color-mix(in srgb, var(--gauge-color, var(--accent)) 55%, transparent);
}
.gauge::before{
  content:''; position:absolute; inset:13px; border-radius:50%;
  background: radial-gradient(circle at 35% 30%, var(--panel-2), var(--panel) 70%);
  box-shadow: inset 0 0 14px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.03);
}
.gauge-center{ position:relative; z-index:1; text-align:center; }
.gauge-value{ font-family: var(--mono); font-weight:700; font-size:22px; color:var(--text); letter-spacing:0.5px; }
.gauge-unit{ font-size:10.5px; color:var(--text-dim); margin-top:2px; letter-spacing:0.5px; }
.gauge-label{ font-size:11.5px; color:var(--text-dim); text-align:center; letter-spacing:0.2px; }

/* ---------------- نمایشگر دیجیتال (LCD-style) ---------------- */
.digital-panel{
  background: #0b1220; border:1px solid #163a35; border-radius:10px;
  padding: 12px 16px; font-family: var(--mono);
  box-shadow: inset 0 0 12px rgba(45,212,191,0.10);
}
.digital-value{
  font-size: 30px; font-weight:700; color: #2dd4bf;
  text-shadow: 0 0 8px rgba(45,212,191,0.6);
  letter-spacing: 1px;
}
.digital-label{ font-size:10.5px; color:#7c93a8; margin-top:4px; letter-spacing:0.5px; }

.gauge-color-green{ --gauge-color: var(--green); }
.gauge-color-amber{ --gauge-color: var(--amber); }
.gauge-color-blue{ --gauge-color: var(--blue); }
.gauge-color-red{ --gauge-color: var(--red); }

/* ---------------- هدر برجسته اتاق کنترل ---------------- */
.hero-band{
  background: linear-gradient(135deg, rgba(47,217,196,0.08), rgba(79,169,255,0.05) 60%, transparent);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 18px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px;
  position:relative; overflow:hidden;
}
.hero-band::before{
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle at 92% 8%, rgba(47,217,196,0.10), transparent 45%);
  pointer-events:none;
}
.hero-title{ font-size:21px; font-weight:800; position:relative; z-index:1; display:flex; align-items:center; gap:8px;}
.hero-sub{ font-size:12.5px; color:var(--text-dim); margin-top:5px; position:relative; z-index:1;}
.hero-digits{ display:flex; gap:14px; position:relative; z-index:1; flex-wrap:wrap; }

/* گیج کوچک برای کارت‌های نیروگاه */
.gauge-sm{ width:58px; height:58px; }
.gauge-sm::before{ inset:6px; }
.gauge-sm .gauge-value{ font-size:11px; }
.gauge-sm .gauge-unit{ display:none; }

/* کارت نیروگاه در مرکز کنترل */
.plant-card{ transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.plant-card:hover{ transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,0.4); border-color: var(--accent-dim); }
.plant-card-head{ display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:10px;}
.plant-icon-badge{
  width:40px; height:40px; border-radius:11px; display:flex; align-items:center; justify-content:center;
  font-size:19px; background: var(--panel-2); border:1px solid var(--border); flex-shrink:0;
}

/* ---------------- صفحه لودینگ (بین ناوبری صفحات) ---------------- */
.page-loader{
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display:flex; align-items:center; justify-content:center;
  opacity: 1; transition: opacity .35s ease;
}
.page-loader.loader-hidden{ opacity: 0; pointer-events: none; }
.loader-box{ display:flex; flex-direction:column; align-items:center; gap:18px; }
.loader-logo-wrap{
  width:72px; height:72px; border-radius:18px; background:#ffffff;
  display:flex; align-items:center; justify-content:center; padding:8px;
  box-shadow: 0 4px 24px rgba(47,217,196,0.20); border: 1px solid var(--border);
}
.loader-logo-wrap img{ width:100%; height:100%; object-fit:contain; }
.loader-spinner{
  width:34px; height:34px; border-radius:50%;
  border: 3px solid var(--panel-2); border-top-color: var(--accent);
  animation: loader-spin 0.8s linear infinite;
}
.loader-text{ font-size:12.5px; color: var(--text-dim); letter-spacing:0.5px; }
@keyframes loader-spin{ to{ transform: rotate(360deg); } }

/* ---------------- کنترل عددی سفارشی (جایگزین فلش‌های سفید پیش‌فرض مرورگر) ---------------- */
input[type=number]{ -moz-appearance: textfield; }
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }

.num-stepper{
  display:flex; align-items:stretch; border:1px solid var(--border); border-radius:8px;
  overflow:hidden; background: var(--panel-2); width:100%;
}
.num-stepper input[type=number]{
  border:none; background:transparent; text-align:center; flex:1; min-width:0;
  padding:10px 4px; color:var(--text); font-family:var(--mono); font-size:13.5px;
}
.num-stepper input[type=number]:focus{ outline:none; }
.num-btn{
  background: var(--panel); border:none; color: var(--accent); width:32px; flex-shrink:0;
  cursor:pointer; font-size:15px; font-weight:700; transition: background .15s, color .15s;
  display:flex; align-items:center; justify-content:center;
}
.num-btn:hover{ background: var(--accent-dim); color: var(--accent); }
.num-btn:active{ background: var(--accent); color:#04241f; }

/* ---------------- کارت فرم برجسته (افزودن نیروگاه/مدیر) ---------------- */
.form-card{
  background: linear-gradient(180deg, rgba(47,217,196,0.05), transparent 40%), var(--panel);
  border:1px solid var(--border); border-top: 3px solid var(--accent);
  border-radius: 14px; padding: 26px 28px;
}
.form-card-header{ display:flex; align-items:center; gap:12px; margin-bottom:24px; padding-bottom:18px; border-bottom: 1px solid var(--border); }
.form-card-icon{
  width:42px; height:42px; border-radius:11px; background: var(--accent-dim);
  display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0;
}
.form-card-title{ font-size:15.5px; font-weight:700; color:var(--text); }
.form-card-sub{ font-size:11.5px; color:var(--text-dim); margin-top:2px; }
.form-section-label{
  grid-column: 1 / -1; font-size:11px; font-weight:700; color: var(--accent);
  margin: 10px 0 2px; padding-top:20px; border-top: 1px dashed var(--border);
  display:flex; align-items:center; gap:6px; text-transform:uppercase; letter-spacing:0.5px;
}
.form-section-label:first-of-type{ border-top:none; padding-top:0; margin-top:0; }

/* ---------------- شماتیک حرارتی پنل‌ها (تشخیص هات‌اسپات) ---------------- */
.thermal-grid{
  display:grid; grid-template-columns: repeat(12, 1fr); gap:6px;
}
.thermal-cell{
  aspect-ratio: 1; border-radius:6px; display:flex; align-items:center; justify-content:center;
  font-size:9.5px; font-family: var(--mono); color:#ffffff; font-weight:700;
  opacity:0.85; transition: opacity .2s; cursor:default;
}
.thermal-cell:hover{ opacity:1; transform: scale(1.08); }
.thermal-hotspot{ animation: thermal-pulse 1.1s ease-in-out infinite; }
@keyframes thermal-pulse{ 0%,100%{ box-shadow:0 0 0 0 rgba(255,92,108,0.55);} 50%{ box-shadow:0 0 0 6px rgba(255,92,108,0);} }
@media (max-width:700px){ .thermal-grid{ grid-template-columns: repeat(6, 1fr); } }

.sidebar-footer{
  display:flex; align-items:center; gap:8px; font-size:11.5px; color:var(--text-dim);
  border-top:1px solid var(--border); padding-top:12px; margin-top: 8px;
}
.clock{ font-family: var(--mono); font-size:13px; color:var(--text); margin-left:auto;}
.status-dot{ width:8px; height:8px; border-radius:50%; }
.status-dot.online{ background: var(--green); box-shadow:0 0 8px var(--green); }
.status-dot.offline{ background: var(--red); box-shadow:0 0 8px var(--red); }
.status-dot.warn{ background: var(--amber); box-shadow:0 0 8px var(--amber); }

/* ---------------- Content ---------------- */
.content{ flex:1; padding: 22px 26px; max-width: 100%; overflow-x:hidden;}
.page-header{
  display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:22px; flex-wrap:wrap; gap:10px;
  padding-bottom:16px; border-bottom: 1px solid var(--border);
}
.page-title{ font-size:21px; font-weight:800; margin:0; letter-spacing:-0.3px; }
.page-sub{ font-size:12.5px; color:var(--text-dim); margin-top:4px;}
.page-meta{ font-family: var(--mono); font-size:12px; color: var(--text-dim); }

/* ---------------- Grid & Cards ---------------- */
.grid{ display:grid; gap:16px; }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.form-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:16px 22px; }

/* ---------------- نوار بالای موبایل + دکمه همبرگری ---------------- */
.mobile-topbar{ display:none; }
.sidebar-backdrop{ display:none; }

@media (max-width:1100px){ .grid-4{grid-template-columns:repeat(2,1fr);} .grid-3{grid-template-columns:repeat(2,1fr);} }

@media (max-width:900px){
  .mobile-topbar{
    display:flex; align-items:center; gap:12px; padding:12px 16px;
    background: var(--panel); border-bottom:1px solid var(--border);
    position: sticky; top:0; z-index: 500;
  }
  .hamburger-btn{
    background: var(--panel-2); border:1px solid var(--border); border-radius:8px;
    width:38px; height:38px; color:var(--text); cursor:pointer; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
  }
  .hamburger-btn svg{ width:19px; height:19px; }
  .mobile-topbar-brand{ display:flex; align-items:center; gap:8px; font-weight:700; font-size:13.5px; color:var(--text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .mobile-topbar-logo{ width:24px; height:24px; object-fit:contain; border-radius:5px; border:1px solid var(--border); flex-shrink:0; }

  .shell{ flex-direction: column; }
  .sidebar{
    position: fixed; top:0; right:0; height:100vh; width: 250px; max-width:82vw;
    z-index: 900; transform: translateX(100%); transition: transform .25s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.18);
  }
  .sidebar.sidebar-open{ transform: translateX(0); }
  .sidebar-backdrop{
    display:block; position:fixed; inset:0; background:rgba(15,25,40,0.45);
    z-index:800; opacity:0; pointer-events:none; transition: opacity .25s ease;
  }
  .sidebar-backdrop.visible{ opacity:1; pointer-events:auto; }

  .content{ padding: 16px; }
  .page-title{ font-size:17px; }
  .form-grid-2{ grid-template-columns: 1fr; }
  .hero-band{ padding:18px; }
  .hero-digits{ width:100%; justify-content:space-between; gap:8px; }
  .hero-digits .digital-panel{ min-width: 0 !important; flex:1; padding:10px; }
  .digital-value{ font-size:22px; }
  .gauge{ width:110px; height:110px; }
  .gauge-row{ gap:14px; }
  .form-card{ padding:18px 16px; }
  .section-title{ margin: 22px 0 12px; font-size:12px; }
}

@media (max-width:700px){
  .grid-4,.grid-3,.grid-2{grid-template-columns:1fr;}
  .table-wrap table{ font-size:12px; }
  .metric{ font-size:22px; }
  #gis-leaflet{ height: 360px !important; }
  #loc-picker-map{ height: 200px !important; }
}

.card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.card-title{
  font-size:11px; font-weight:700; color:var(--text-dim); margin-bottom:10px;
  display:flex; justify-content:space-between; align-items:center;
  text-transform:uppercase; letter-spacing:0.6px;
}
.metric{ font-family: var(--mono); font-size:27px; font-weight:700; color:var(--text); letter-spacing:-0.5px; line-height:1.2; }
.metric-unit{ font-size:13px; color:var(--text-dim); margin-right:4px; }
.metric-sub{ font-size:11.5px; color:var(--text-dim); margin-top:6px;}
.metric.accent{ color: var(--accent); }
.metric.amber{ color: var(--amber); }
.metric.green{ color: var(--green); }
.metric.red{ color: var(--red); }

/* ---------------- Tables ---------------- */
.table-wrap{ overflow-x:auto; border-radius:10px; border:1px solid var(--border);}
table{ width:100%; border-collapse: collapse; font-size:13px; }
thead th{
  background: var(--panel-2); color:var(--text-dim); font-weight:600;
  text-align:right; padding:10px 12px; font-size:11.5px; position:sticky; top:0;
  border-bottom:1px solid var(--border);
}
tbody td{ padding:9px 12px; border-bottom: 1px solid var(--border); font-family: var(--mono); }
tbody tr:hover{ background: rgba(47,217,196,0.05); }
.badge{ display:inline-flex; align-items:center; gap:5px; padding:3px 9px; border-radius:20px; font-size:11px; font-family: var(--font); }
.badge.ok{ background: rgba(74,222,128,0.12); color: var(--green); }
.badge.warn{ background: rgba(255,179,71,0.12); color: var(--amber); }
.badge.err{ background: rgba(255,92,108,0.12); color: var(--red); }
.badge.off{ background: rgba(127,151,172,0.12); color: var(--text-dim); }

/* ---------------- Misc ---------------- */
.section-title{
  font-size:13px; font-weight:700; margin: 30px 0 14px; display:flex; align-items:center; gap:9px;
  text-transform:uppercase; letter-spacing:0.5px; color: var(--text);
}
.section-title::before{ content:''; width:3px; height:14px; background: var(--accent); border-radius:2px; flex-shrink:0; }
.section-title::before{ content:''; width:4px; height:16px; background: var(--accent); border-radius:2px; display:inline-block;}
.chart-box{ position:relative; height: 240px; }
.chart-box.small{ height:160px; }
.progress-bar{ background: var(--panel-2); border-radius:20px; height:10px; overflow:hidden; border:1px solid var(--border);}
.progress-fill{ height:100%; background: linear-gradient(90deg, var(--accent), var(--blue)); border-radius:20px; }
.alarm-item{ display:flex; gap:10px; align-items:center; padding:10px 12px; border-radius:8px; background: var(--panel-2); margin-bottom:8px; font-size:12.5px;}
.alarm-item.critical{ border-right: 3px solid var(--red); }
.alarm-item.warning{ border-right: 3px solid var(--amber); }
.pill-row{ display:flex; gap:8px; flex-wrap:wrap; }
.pill{ background: var(--panel-2); border:1px solid var(--border); border-radius:20px; padding:5px 12px; font-size:11.5px; color:var(--text-dim); }

/* SLD */
.sld-canvas{ background: var(--panel); border:1px solid var(--border); border-radius:12px; padding: 10px; }
.sld-canvas svg text{ fill: var(--text); font-family: var(--mono); font-size: 11px; }
.sld-canvas svg .label-dim{ fill: var(--text-dim); }
.sld-canvas svg .line{ stroke: var(--text-dim); stroke-width:2; fill:none; }
.sld-canvas svg .line-live{ stroke: var(--accent); stroke-width:2.5; fill:none; }
.sld-canvas svg .box{ fill: var(--panel-2); stroke: var(--border); stroke-width:1.5; }
.sld-canvas svg .box-active{ stroke: var(--accent); }

/* Plant map */
.map-wrap{ position:relative; background: var(--panel); border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.map-block{ position:absolute; border-radius:8px; border:1.5px solid var(--border); background: rgba(47,217,196,0.06); display:flex; align-items:center; justify-content:center; font-size:11px; color: var(--text-dim); cursor:pointer; transition: all .15s;}
.map-block:hover{ background: rgba(47,217,196,0.14); border-color: var(--accent); color: var(--text); }
.map-legend{ display:flex; gap:16px; margin-top:12px; font-size:11.5px; color: var(--text-dim); flex-wrap:wrap;}
.legend-dot{ width:10px; height:10px; border-radius:3px; display:inline-block; margin-left:6px; vertical-align:middle;}

/* Camera grid */
.cam-card{ background: var(--panel); border:1px solid var(--border); border-radius: 12px; overflow:hidden; }
.cam-feed{
  height:150px; background: repeating-linear-gradient(45deg, #081019, #081019 10px, #0b1622 10px, #0b1622 20px);
  display:flex; align-items:center; justify-content:center; color: var(--text-dim); font-size:12px; position:relative;
}
.cam-feed .rec-dot{ position:absolute; top:8px; left:8px; width:8px; height:8px; border-radius:50%; background:var(--red); box-shadow:0 0 6px var(--red); animation: blink 1.4s infinite; }
@keyframes blink{ 50%{ opacity:0.25; } }
.cam-meta{ padding:10px 12px; display:flex; justify-content:space-between; align-items:center; font-size:12px;}

/* Financial */
.profit-hero{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
.finance-tag{ font-size:11px; padding:2px 8px; border-radius:6px; background: var(--panel-2); color: var(--text-dim); }

/* ---------------- i18n: language switcher + RTL support ---------------- */
.lang-switcher{ padding: 8px 14px; }
.lang-switcher select{
  width:100%; background: var(--panel-2); color: var(--text); border:1px solid var(--border);
  border-radius:8px; padding:6px 10px; font-size:12.5px; cursor:pointer;
}
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

html[dir="rtl"] body{ font-family: 'Vazirmatn', Tahoma, sans-serif; }
html[dir="rtl"] .sidebar{ border-left: 1px solid var(--border); border-right: none; }
html[dir="rtl"] .nav-item, html[dir="rtl"] .nav-group-header{ text-align: right; }
html[dir="rtl"] .ico{ margin-left: 8px; margin-right: 0; }
html[dir="rtl"] .nav-chevron{ transform: scaleX(-1); }
html[dir="rtl"] .mobile-topbar-brand{ flex-direction: row-reverse; }
html[dir="rtl"] table th, html[dir="rtl"] table td{ text-align: right; }
