/* ===========================================================
   منصة منارتي — خط Cairo العربي
   يُحمَّل بعد كل ملفات التنسيق الأخرى ليتجاوز
   Raleway و Lato و Work Sans و Montserrat و Signika،
   وكلها خطوط لاتينية بلا حرف عربي واحد.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

:root {
    --manarati-font: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* النصوص — لاحظ أن <i> و <span> غير مستهدفين عمداً
   حتى لا تفقد أيقونات Font Awesome خطها */
body,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
p, a, li, dt, dd, th, td, caption,
label, legend, blockquote, figcaption,
button, input, select, textarea, optgroup,
.btn, .form-control, .panel-title, .card-title,
.nav-link, .dropdown-item, .modal-title,
.breadcrumb, .pagination, .badge, .alert,
.table, .dataTables_wrapper, .select2-container,
.swal-title, .swal-text, .tooltip, .popover {
    font-family: var(--manarati-font) !important;
}

/* الأرقام العربية والإنجليزية تبدو أنظف بهذا الوزن */
body {
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
}

/* Cairo أطول قليلاً من Raleway، فنمنح السطور مجالاً */
body, p, li, td, th {
    line-height: 1.8;
}

/* استعادة خطوط الأيقونات صراحةً — الاحتياط واجب
   لو التقط أحد المحدِّدات أعلاه عنصر أيقونة */
.fa, .fas, .far, .fal, .fad,
[class^="fa-"], [class*=" fa-"] {
    font-family: "Font Awesome 5 Free" !important;
}

.fab, [class^="fab"], [class*=" fab"] {
    font-family: "Font Awesome 5 Brands" !important;
}

.glyphicon, [class^="glyphicon-"], [class*=" glyphicon-"] {
    font-family: "Glyphicons Halflings" !important;
}

.material-icons {
    font-family: "Material Icons" !important;
}
