﻿/* ------------------------------------------
   🌙 DARKLY FIXER (PRO MODE)
   تحسينات خفيفة بدون تكسير الثيم الأصلي
------------------------------------------- */

/* تحسينات عامة للدارك بدون تدمير bootwatch */
html[data-bs-theme="dark"] {
    /* تحسين بسيط للخلفية (أغمق + أكثر نعومة) */
    --bs-body-bg: #0f0f0f !important;
    /* خط أوضح للقراءة */
    --bs-body-color: #eaeaea !important;
    /* لون الروابط */
    --bs-link-color: #5dabff !important;
    --bs-link-hover-color: #89c5ff !important;
    /* حدود أوضح */
    --bs-border-color: #333 !important;
    /* شادو أنعم */
    --bs-box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.35) !important;
}

/* ------------------------------------------
   🇴 تحسين الخطوط (للغة العربية فقط)
------------------------------------------- */

@font-face {
    font-family: 'Tufuli';
    src: url('/fonts/tufuliArabic.ttf');
}

@font-face {
    font-family: 'Droid';
    src: url('/fonts/droidKufi.ttf');
}

/* الخط العربي فقط عندما اللغة RTL */
html[dir="rtl"] body,
html[dir="rtl"] p,
html[dir="rtl"] span,
html[dir="rtl"] div,
html[dir="rtl"] li {
    font-family: 'Droid', sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
    font-family: 'Tufuli', serif;
}
