/**
 * Telecom Voucher — Typography System (Modernized)
 * Default: Tajawal. Arabic (lang=ar): Noto Sans Arabic — see design-system.css + _Layout font link.
 * Font face CSS is loaded from _Layout.cshtml; avoid @import here (blocks parsing).
 */

:root {
  /* Unified premium font stack (Arabic overrides via html[lang="ar"][data-theme] in design-system.css) */
  --tv-font-sans: 'Tajawal', sans-serif;
  --tv-font-display: 'Tajawal', sans-serif;
  --tv-font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', 'Courier New', monospace;
}

/* Global Font Application */
html, body, .tv-theme {
  font-family: var(--tv-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--tv-font-display);
  font-weight: 700;
}

/* Language specific line-height adjustments */
html[lang="ar"] {
  line-height: 1.6;
}

html[lang="en"] {
  line-height: 1.5;
}

/* Numeric Display */
.tv-num,
.tv-stat-card__value,
[data-format="number"] {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

@media print {
  body {
    font-family: sans-serif !important;
  }
}