/* RTL Support */
.rtl .dropdown-menu { text-align: right; }
.rtl .fas, .rtl .far { transform: scaleX(-1); }
.rtl .fab { transform: none !important; } /* Ne pas inverser les logos de marques */
.rtl .fas.fa-arrow-right:before { content: '\f060'; }
.rtl .me-1 { margin-right: 0 !important; margin-left: 0.25rem !important; }
.rtl .me-2 { margin-right: 0 !important; margin-left: 0.5rem !important; }
.rtl .ms-1 { margin-left: 0 !important; margin-right: 0.25rem !important; }
.rtl .ms-2 { margin-left: 0 !important; margin-right: 0.5rem !important; }
.rtl .admin-sidebar { left: auto; right: 0; }
.rtl .admin-main { margin-left: 0; margin-right: 260px; }
.rtl body { font-family: 'Almarai', 'Poppins', sans-serif; }
.rtl h1, .rtl h2, .rtl h3, .rtl h4, .rtl h5, .rtl h6 { font-family: 'Almarai', sans-serif; font-weight: 700; }
.rtl .hero-title-ar { font-family: 'Almarai', sans-serif; font-weight: 800; }

/* Footer RTL Fixes */
.rtl .footer-main { text-align: right; }
.rtl .footer-brand { text-align: right; }
.rtl .footer-title-modern::after { left: auto; right: 0; }
.rtl .footer-links-modern { padding-right: 0; }
.rtl .footer-links-modern a:hover { padding-left: 0; padding-right: 5px; }
.rtl .footer-contact-modern { padding-right: 0; }
.rtl .social-links { justify-content: flex-start; flex-direction: row; } /* Maintenir l'ordre LTR pour les réseaux sociaux */
.rtl .social-btn-dark { color: white !important; }
.rtl .footer-bottom { text-align: right; }
.rtl .footer-bottom .container { flex-direction: row-reverse !important; }

/* Page Header RTL */
.rtl .page-header { background: linear-gradient(to right, #006837 0%, #008751 100%); }

/* New Components RTL */
.rtl .structure-location i { margin-right: 0; margin-left: 8px; }
.rtl .structure-link i { transform: scaleX(-1); margin-right: 8px; margin-left: 0; }
.rtl .custom-pagination { flex-direction: row-reverse; }
.rtl .stat-item p { letter-spacing: 0; }
