/* theme.css v1789331169 | base=panel.css */
html[data-theme="light"]{
  color-scheme:light;
  --bg:#ffffff;
  --bg2:#f4f6fa;
  --card:#ffffff;
  --card2:#f7f9fc;
  --line:#e2e6ee;
  --txt:#0d1117;
  --mut:#0d1117;
  --pri:#1354ec;
  --pri2:#1354ec;
  --err:#ec1335;
}
html[data-theme="light"] body{background:#fff!important;color:#0d1117!important}
html[data-theme="light"] input,html[data-theme="light"] select,html[data-theme="light"] textarea{background:#fff;color:#0d1117;border-color:#d7dce6}
html[data-theme="light"] th{background:#f4f6fa;color:#0d1117}
html[data-theme="light"] td,html[data-theme="light"] th{border-color:#e6eaf2}
html[data-theme="light"] .side,html[data-theme="light"] #side,html[data-theme="light"] header{background:#f7f8fa;color:#0d1117}
html[data-theme="light"] .mask{background:rgba(16,24,40,.38)}
html[data-theme="dark"]{color-scheme:dark}
html{transition:background-color .22s,color .22s}
.vp-theme-btn{cursor:pointer;border:1px solid currentColor;background:rgba(127,127,127,.16);color:inherit;border-radius:10px;width:36px;height:36px;font-size:17px;display:inline-flex;align-items:center;justify-content:center;opacity:.9}
.vp-theme-btn.vp-fix{position:fixed;inset-block-start:12px;inset-inline-end:12px;z-index:99998;backdrop-filter:blur(6px)}
.i18n-switch{position:fixed;inset-block-start:12px;inset-inline-end:58px;z-index:99998;display:inline-flex;gap:4px;padding:3px;border-radius:10px;background:rgba(127,127,127,.16);backdrop-filter:blur(6px);border:1px solid rgba(127,127,127,.35)}
.i18n-switch button{cursor:pointer;border:0;background:transparent;color:inherit;font:600 12px/1 inherit;padding:7px 9px;border-radius:7px;opacity:.7}
.i18n-switch button.on{background:rgba(127,127,127,.3);opacity:1}
html[data-theme="light"] .i18n-switch,html[data-theme="light"] .vp-theme-btn.vp-fix{background:rgba(13,17,23,.06)}

/* ===== سوییچ زبان: پایین، گوشهٔ مقابل دکمه خروج ===== */
.i18n-switch{
  inset-block-start:auto!important;
  inset-block-end:18px!important;
  inset-inline-end:18px!important;
  inset-inline-start:auto!important;
  z-index:99999!important;
  box-shadow:0 8px 24px rgba(0,0,0,.28);
  transition:transform .18s ease,opacity .18s ease;
  opacity:.85;
}
.i18n-switch:hover{transform:translateY(-2px);opacity:1}
html[data-theme="light"] .i18n-switch{box-shadow:0 8px 24px rgba(16,24,40,.12)}
@media(max-width:640px){
  .i18n-switch{inset-block-end:12px!important;inset-inline-start:12px!important}
}
