/* RTL Custom Overrides */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Cairo', system-ui, -apple-system, sans-serif !important;
    text-align: right;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif !important;
}

/* Fix Bootstrap RTL issues if any */
.me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

.ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* Sidebar Specifics */
.sidebar {
    border-right: none;
    border-left: 1px solid rgba(0,0,0,0.1);
}

/* Input direction */
input, textarea, select {
    direction: rtl;
}

/* Flex utilities override if needed */
.d-flex {
    flex-direction: row; /* Default is row, but RTL flips it naturally */
}

/* Font Awesome Icon Helper for RTL */
.fa-chevron-right::before {
    content: "\f053"; /* fa-chevron-left */
}

.fa-chevron-left::before {
    content: "\f054"; /* fa-chevron-right */
}

.fa-arrow-right::before {
    content: "\f060"; /* fa-arrow-left */
}

.fa-arrow-left::before {
    content: "\f061"; /* fa-arrow-right */
}

/* Angle */
.fa-angle-right::before { content: "\f104"; } /* fa-angle-left */
.fa-angle-left::before { content: "\f105"; } /* fa-angle-right */

/* Caret */
.fa-caret-right::before { content: "\f0d9"; } /* fa-caret-left */
.fa-caret-left::before { content: "\f0da"; } /* fa-caret-right */

/* Long Arrow */
.fa-long-arrow-right::before { content: "\f177"; } /* fa-long-arrow-left */
.fa-long-arrow-left::before { content: "\f178"; } /* fa-long-arrow-right */

/* Arrow Circle */
.fa-arrow-circle-right::before { content: "\f0a8"; } /* fa-arrow-circle-left */
.fa-arrow-circle-left::before { content: "\f0a9"; } /* fa-arrow-circle-right */

/* Double Angle */
.fa-angle-double-right::before { content: "\f100"; } /* fa-angle-double-left */
.fa-angle-double-left::before { content: "\f101"; } /* fa-angle-double-right */
