/* خطوط محلية للعمل أوفلاين */

/* خط Cairo - عادي */
@font-face {
    font-family: 'Cairo';
    src: url('fonts/cairo-v30-arabic-regular.woff2') format('woff2'),
         url('fonts/Cairo-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* خط Cairo - خفيف */
@font-face {
    font-family: 'Cairo';
    src: url('fonts/cairo-v30-arabic-300.woff2') format('woff2'),
         url('fonts/Cairo-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* خط Cairo - متوسط */
@font-face {
    font-family: 'Cairo';
    src: url('fonts/cairo-v30-arabic-500.woff2') format('woff2'),
         url('fonts/Cairo-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* خط Cairo - عريض */
@font-face {
    font-family: 'Cairo';
    src: url('fonts/cairo-v30-arabic-800.woff2') format('woff2'),
         url('fonts/Cairo-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* خط Cairo - أسود */
@font-face {
    font-family: 'Cairo';
    src: url('fonts/cairo-v30-arabic-900.woff2') format('woff2'),
         url('fonts/Cairo-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* خط Amiri - عادي */
@font-face {
    font-family: 'Amiri';
    src: url('fonts/amiri-regular.woff2') format('woff2'),
         url('fonts/Amiri-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* خط Amiri - عريض */
@font-face {
    font-family: 'Amiri';
    src: url('fonts/amiri-bold.woff2') format('woff2'),
         url('fonts/Amiri-Regular.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* خط Amiri - مائل */
@font-face {
    font-family: 'Amiri';
    src: url('fonts/amiri-v27-arabic-italic.woff2') format('woff2'),
         url('fonts/Amiri-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* خط Amiri - عريض مائل */
@font-face {
    font-family: 'Amiri';
    src: url('fonts/amiri-v27-arabic-700italic.woff2') format('woff2'),
         url('fonts/Amiri-Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* خط Tajawal - خفيف */
@font-face {
    font-family: 'Tajawal';
    src: url('fonts/tajawal-v11-arabic_latin-200.woff2') format('woff2'),
         url('fonts/Tajawal-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* خط Tajawal - خفيف جداً */
@font-face {
    font-family: 'Tajawal';
    src: url('fonts/tajawal-v11-arabic_latin-300.woff2') format('woff2'),
         url('fonts/Tajawal-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* خط Tajawal - عادي */
@font-face {
    font-family: 'Tajawal';
    src: url('fonts/tajawal-v9-arabic-regular.woff2') format('woff2'),
         url('fonts/Tajawal-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* خط Tajawal - متوسط */
@font-face {
    font-family: 'Tajawal';
    src: url('fonts/tajawal-v9-arabic-500.woff2') format('woff2'),
         url('fonts/Tajawal-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* خط Tajawal - عريض */
@font-face {
    font-family: 'Tajawal';
    src: url('fonts/tajawal-v9-arabic-700.woff2') format('woff2'),
         url('fonts/Tajawal-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* خط Tajawal - عريض جداً */
@font-face {
    font-family: 'Tajawal';
    src: url('fonts/tajawal-v9-arabic-800.woff2') format('woff2'),
         url('fonts/Tajawal-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* خط Tajawal - أسود */
@font-face {
    font-family: 'Tajawal';
    src: url('fonts/tajawal-v11-arabic_latin-900.woff2') format('woff2'),
         url('fonts/Tajawal-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* تحسين وضوح روابط القائمة الجانبية في الوضع المظلم عند التمرير أو التنشيط */
body.dark-mode .sidebar a:hover, 
body.dark-mode .sidebar a.active,
[data-theme="dark"] .sidebar a:hover,
[data-theme="dark"] .sidebar a.active {
    color: #ffffff !important;
    background-color: rgba(52, 152, 219, 0.3) !important;
} 