/* ============================================================================
   خط ثُمانية (Thmanyah Sans) — تطبيق على نظام جمعية مستودع المدينة المنورة ككل
   • ارفع هذا الملف + ملفات woff2 الخمسة في نفس المجلد (روابط نسبية)
   • المكان: Shared Components → Static Application Files (ثم استدعِه في File URLs)
   ============================================================================ */

/* ---- تعريف الأوزان (روابط نسبية: الملفات بجوار هذا الـ css في نفس المجلد) ---- */
@font-face{ font-family:'Thmanyah'; src:url('thmanyahsans-Light.woff2')   format('woff2'); font-weight:300; font-style:normal; font-display:swap; }
@font-face{ font-family:'Thmanyah'; src:url('thmanyahsans-Regular.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face{ font-family:'Thmanyah'; src:url('thmanyahsans-Medium.woff2')  format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face{ font-family:'Thmanyah'; src:url('thmanyahsans-Bold.woff2')    format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face{ font-family:'Thmanyah'; src:url('thmanyahsans-Black.woff2')   format('woff2'); font-weight:900; font-style:normal; font-display:swap; }

/* ---- متغيّر عام للخط ---- */
:root{ --app-font:'Thmanyah','Tajawal','Cairo','Segoe UI',Tahoma,sans-serif; }

/* ---- التطبيق الأساسي ---- */
html, body,
input, button, select, textarea,
.t-Body, .t-Body-title, .t-Region, .a-Region,
.t-Button, .t-Form-label, .t-Report, .a-IRR-table,
.ui-dialog, .ui-widget{ font-family:var(--app-font); }

/* ---- تجاوز المناطق التي تثبّت خطًّا يدويًا (Tajawal/Cairo داخل الـ HTML regions) ----
   مع استثناء أيقونات Font Awesome وأي عنصر يحمل صنف fa* (وعناصر الأيقونات المتجهة)
   حتى لا يؤثّر خط ثُمانية على الأيقونات إطلاقًا.
   ★ ملاحظة: لا نضع أي قاعدة font-family على أصناف FA — نتركها لخط FA الأصلي
     (revert يعطّلها لأنه يعود للخط الموروث = ثمانية). الاستثناء وحده كافٍ.   */
body *:not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fal):not(.fad):not(.fab):not(.fass):not(.mcw-ic-slot):not(.mcw-ic-auto):not(i):not(svg):not(svg *){
  font-family:var(--app-font) !important;
}
