/* =========================================
   1. الخط العربي (Cairo)
   ========================================= */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cairo-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cairo-700.woff2') format('woff2');
}

/* =========================================
   2. الخط العبري (Heebo)
   ========================================= */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/heebo-v28-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/heebo-v28-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/heebo-v28-latin-700.woff2') format('woff2');
}

/* =========================================
   3. تطبيق الخطوط والأحجام 
   ========================================= */

/* 🟢 الحالة الافتراضية (للنظام العربي) - خط Cairo */
body {
    font-family: 'Cairo', sans-serif !important;
    font-size: 16px !important; /* تكبير الخط العام */
}

/* 🔵 عندما يتغير النظام للغة العبرية - خط Heebo */
html[lang="he"] body {
    font-family: 'Heebo', sans-serif !important;
    font-size: 16px !important; 
}

/* =========================================
   4. تحسينات الجداول والداشبورد
   ========================================= */

/* تكبير خطوط الجداول وتوسيط النص */
.table td, .table th {
    font-size: 1.1rem !important; 
    vertical-align: middle !important; 
}

/* تكبير العناوين في الصناديق الملونة (نظرة عامة) */
.small-box .inner h3 {
    font-size: 2.5rem !important;
}
.small-box .inner p {
    font-size: 1.2rem !important;
}