/* Self-hosted Vazirmatn (no external CDN, reliable inside Iran) */
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/static/fonts/Vazirmatn-Light.woff2") format("woff2");
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/Vazirmatn-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/Vazirmatn-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/Vazirmatn-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/Vazirmatn-Bold.woff2") format("woff2");
}

:root {
  --sonivo-font: "Vazirmatn", Tahoma, Arial, sans-serif;
  --alohosh-primary: #4f46e5;
  --alohosh-purple: #8b5cf6;
  --alohosh-cyan: #06b6d4;
  --alohosh-navy: #0f172a;
}

html,
html[lang="fa"],
html[dir="rtl"],
body,
body[dir="rtl"],
#root,
#root * {
  font-family: var(--sonivo-font) !important;
}

html[lang="fa"],
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

.MuiTypography-root,
.MuiButton-root,
.MuiInputBase-root,
.MuiInputBase-input,
.MuiInputLabel-root,
.MuiFormLabel-root,
.MuiTableCell-root,
.MuiChip-root,
.MuiMenuItem-root,
.MuiListItemText-primary,
.MuiListItemText-secondary,
.MuiTab-root,
.MuiDialogTitle-root,
.MuiDialogContent-root,
.MuiAlert-root,
.MuiTooltip-tooltip,
.MuiDataGrid-root,
.MuiDataGrid-cell,
.MuiDataGrid-columnHeaderTitle,
label,
button,
input,
textarea,
select,
option {
  font-family: var(--sonivo-font) !important;
  letter-spacing: 0 !important;
}
