/* RTL Specific Styles */
/* עיצוב ספציפי לעברית מימין לשמאל */

/* Sidebar RTL Adjustments */
.sidebar {
    right: 0;
    left: auto;
}

.main-content {
    margin-right: var(--sidebar-width);
    margin-left: 0;
}

.nav-item.active {
    border-right: 3px solid var(--primary-color);
    border-left: none;
}

/* Table RTL */
th, td {
    text-align: right;
}

/* Forms RTL */
.modal-actions {
    justify-content: flex-start;
}

/* Toast RTL */
.toast {
    left: auto;
    right: 24px;
}

/* Checkbox RTL */
.checkbox-group label {
    flex-direction: row-reverse;
}

/* Icons in buttons - RTL adjustment */
.mdc-button i {
    margin-left: 0;
    margin-right: 8px;
}

/* Filters Bar RTL */
.filters-bar {
    flex-direction: row-reverse;
}

/* Mobile Menu Toggle RTL */
.mobile-menu-toggle {
    right: auto;
    left: 8px;
}

/* Mobile Toolbar RTL */
.mobile-toolbar {
    flex-direction: row-reverse;
}

.mobile-toolbar-title {
    flex: 1;
    text-align: center;
}

.mobile-toolbar-actions {
    flex-direction: row-reverse;
}

/* Sidebar Close Button RTL */
.sidebar-close-btn {
    left: auto;
    right: 16px;
}

/* Mobile FAB RTL */
.mobile-fab {
    left: auto;
    right: 16px;
}

/* Responsive RTL */
@media (max-width: 768px) {
    .sidebar {
        right: 0;
        left: auto;
        transform: translateX(100%); /* Slide from right in RTL */
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-right: 0;
        margin-left: 0;
    }
    
    /* Mobile Card RTL */
    .mobile-card-row {
        flex-direction: row-reverse;
    }
    
    .mobile-card-label {
        margin-left: 0;
        margin-right: 12px;
        text-align: left;
    }
    
    .mobile-card-value {
        text-align: right;
    }
    
    .mobile-card-actions {
        justify-content: flex-start;
        flex-direction: row-reverse;
    }
    
    /* Mobile Filter Bar RTL */
    .mobile-filter-bar {
        direction: rtl;
    }
    
    .mobile-filter-chip {
        direction: rtl;
    }
    
    /* Toast RTL */
    .toast {
        right: 16px;
        left: 16px;
    }
    
    /* Modal RTL */
    .modal-content {
        margin-left: auto;
        margin-right: auto;
    }
}

