/**
 * Local Fonts - ITF Qomra Arabic
 * Self-hosted fonts for offline/intranet usage
 */

/* ITF Qomra Arabic - Regular */
@font-face {
    font-family: 'ITF Qomra Arabic';
    src: url('../fonts/itfQomraArabic-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ITF Qomra Arabic - Medium */
@font-face {
    font-family: 'ITF Qomra Arabic';
    src: url('../fonts/itfQomraArabic-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Fallback font stack for system fonts */
:root {
    --font-primary: 'ITF Qomra Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
    --font-arabic: 'ITF Qomra Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* Apply to body and common elements */
body,
html {
    font-family: var(--font-primary) !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-primary) !important;
}

p, span, a, li, td, th, label, input, textarea, select, button {
    font-family: inherit;
}
