/*
 * Global Devanagari font for the admin panel. Without this, Hindi text
 * outside CKEditor (Question Listing, Details/View, etc.) falls back to
 * whatever Devanagari font the visitor's OS happens to substitute (Mangal
 * on Windows), which mis-shapes some conjuncts - "विद्युत" can read as
 * "विद्रुत" even though the stored text is correct. Self-hosted (not
 * Google Fonts) to match the same reliability fix already used for PDF
 * generation (see PaperGeneration/devanagari-font.blade.php).
 *
 * Inserted into Bootstrap's own --bs-font-sans-serif variable (rather than
 * replacing it) so English text keeps using the theme's existing fonts -
 * this only supplies the Devanagari glyphs that stack was missing.
 */
@font-face {
    font-family: 'Noto Sans Devanagari';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/NotoSansDevanagari-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Noto Sans Devanagari';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/NotoSansDevanagari-Bold.ttf') format('truetype');
}

:root {
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Noto Sans Devanagari", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
