/**
 * RTL Styles
 * 
 * Right-to-Left language support
 *
 * @package OMU_Child
 * @since 1.0.0
 */

/* RTL-specific adjustments */
body.rtl-layout {
    direction: rtl;
    text-align: right;
}

.rtl-layout .container,
.rtl-layout .container-fluid {
    direction: rtl;
}

/* Navigation */
.rtl-layout .primary-menu {
    direction: rtl;
}

.rtl-layout .menu-item {
    float: right;
}

/* Icons */
.rtl-layout .fa-arrow-right::before {
    content: "\f060"; /* arrow-left */
}

.rtl-layout .fa-arrow-left::before {
    content: "\f061"; /* arrow-right */
}

.rtl-layout .fa-chevron-right::before {
    content: "\f053"; /* chevron-left */
}

.rtl-layout .fa-chevron-left::before {
    content: "\f054"; /* chevron-right */
}

/* Floats */
.rtl-layout .float-left {
    float: right !important;
}

.rtl-layout .float-right {
    float: left !important;
}

/* Margins & Padding */
.rtl-layout .mr-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

.rtl-layout .ml-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Form Inputs */
.rtl-layout input[type="text"],
.rtl-layout input[type="email"],
.rtl-layout input[type="search"],
.rtl-layout input[type="tel"],
.rtl-layout textarea {
    direction: rtl;
    text-align: right;
}

/* Buttons with icons */
.rtl-layout .btn i {
    margin-right: 0;
    margin-left: var(--spacing-2);
}

/* Breadcrumbs */
.rtl-layout .breadcrumbs .separator {
    transform: rotate(180deg);
}