/* =============================================================
   Chrome Accounting — Custom Styles
   Base styles, bilingual (EN/AR) display logic, and scrollbar.
   Tailwind utility classes handle the rest (loaded via CDN).
   ============================================================= */

/* Font families per text direction */
[dir="ltr"] {
    font-family: 'Inter', sans-serif;
}
[dir="rtl"] {
    font-family: 'Tajawal', sans-serif;
}

/* Toggle elements based on the selected language direction */
[dir="ltr"] .lang-ar { display: none !important; }
[dir="rtl"] .lang-en { display: none !important; }

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #091524;
}
::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0284C7;
}
