/* باراکس — فونت وزیر / وزیرمتن (فایل استاتیک، مستقل از باندل Next.js) */

@font-face {
  font-family: "Vazirmatn";
  src:
    url("/fonts/Vazirmatn-Regular.woff2") format("woff2"),
    url("/fonts/vazirmatn-arabic-400-normal.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src:
    url("/fonts/Vazirmatn-Medium.woff2") format("woff2"),
    url("/fonts/vazirmatn-arabic-500-normal.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src:
    url("/fonts/Vazirmatn-SemiBold.woff2") format("woff2"),
    url("/fonts/vazirmatn-arabic-600-normal.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src:
    url("/fonts/Vazirmatn-Bold.woff2") format("woff2"),
    url("/fonts/vazirmatn-arabic-700-normal.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazir";
  src:
    url("/fonts/vazir-all-400-normal.woff2") format("woff2"),
    url("/fonts/vazir-all-400-normal.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazir";
  src:
    url("/fonts/vazir-all-500-normal.woff2") format("woff2"),
    url("/fonts/vazir-all-500-normal.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazir";
  src:
    url("/fonts/vazir-all-700-normal.woff2") format("woff2"),
    url("/fonts/vazir-all-700-normal.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html,
body {
  font-family: "Vazirmatn", "Vazir", Tahoma, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea,
optgroup,
option {
  font-family: inherit;
}

/* version footer + fiscal dock — brand/readable colors, overrides cached hashed CSS */
body:has(.admin-sidebar)::after {
  content: none !important;
}
.app-version-footer,
.peyro-ver,
.fy-dock__ver {
  color: #088383 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
}
.fy-dock,
.fy-dock__bar,
.fy-switcher__trigger {
  color: #0f172a !important;
}
.fy-switcher__title,
.fy-switcher__option-title {
  color: #0f172a !important;
}
.fy-switcher__kicker,
.fy-switcher__option-range {
  color: #475569 !important;
}
.fy-switcher__pill--open {
  color: #066666 !important;
}
.fy-switcher__pill--closed {
  color: #334155 !important;
}
.fy-dock__ver {
  margin-inline-start: auto;
  padding-inline: 0.35rem;
  white-space: nowrap;
  line-height: 1;
}
