/* Shared ERP typography for the app, loading shell, POS and offline page.
   Fonts are self-hosted; licenses are included beside the font files. */
@import url("./tajawal.css");

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./InterVariable-v4.1.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("./InterVariable-Italic-v4.1.woff2") format("woff2");
}

:root {
  --font-ui: "Inter", "Tajawal", ui-sans-serif, system-ui, "Segoe UI", Tahoma,
    Arial, sans-serif;
  --font-arabic: "Tajawal", "Inter", Tahoma, Arial, sans-serif;
  font-family: var(--font-ui);
}

html[lang="ar"] {
  font-family: var(--font-arabic);
}
