/**
 * RTL Support for Dashboard
 * This file contains RTL-specific overrides for the dashboard layout
 */
 @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');
html {
    direction: rtl !important;
}

/* RTL Font Family */
body{
    font-family: 'Cairo', sans-serif !important;
}

/* RTL Sidebar Positioning */
.app-sidebar {
    left: auto !important;
    right: 0 !important;
}

/* RTL Wrapper Margin */
.app-wrapper {
    margin-left: 0 !important;
    margin-right: calc(var(--bs-app-sidebar-width) + var(--bs-app-sidebar-gap-start, 0px) + var(--bs-app-sidebar-gap-end, 0px)) !important;
}

/* RTL Header Positioning */
.app-header {
    left: auto !important;
    right: 0 !important;
}

/* RTL Header Positioning with Sidebar Push */
@media (min-width: 992px) {

    .app-header, .app-header {
        left: 0 !important;
        right: calc(var(--bs-app-sidebar-width) + var(--bs-app-sidebar-gap-start, 0px) + var(--bs-app-sidebar-gap-end, 0px)) !important;
    }
}

/* RTL App Main Content */
.app-main {
    margin-left: 0 !important;
}

/* RTL Sidebar Toggle Icon */
.app-sidebar-toggle {
    left: 0 !important;
    right: auto !important;
    transform: translateX(-50%) translateY(-50%) !important;
}

/* RTL Menu Items */
.menu .menu-item {
    text-align: right;
}

/* RTL Breadcrumbs */
.breadcrumb-item+.breadcrumb-item::before {
    float: left;
    padding-right: 0.5rem;
    padding-left: 0;
}
@media (min-width: 992px) {
    .me-lg-10 {
        margin-left: 2.5rem !important;
    }
        .me-lg-10 {
        margin-right: 0 !important;
    }
}
@media (min-width: 1200px) {
    .card.card-xl-stretch {
        height: auto !important;
    }
}