/* ============================================================
   style-ltr.css
   تعديلات الاتجاه من اليمين لليسار (RTL) إلى اليسار لليمين (LTR)
   يُحمَّل هذا الملف فقط عند اختيار اللغة الإنجليزية
   ============================================================ */

html, body {
    direction: ltr;
}

/* -------------------- Sidebar -------------------- */
.sidebar-nav a {
    flex-direction: row;
}

/* -------------------- Stat cards: accent border on the left -------------------- */
.stat-card {
    border-right: none;
    border-left: 4px solid var(--primary);
}
.stat-card.c-blue { border-left-color: #1565c0; }
.stat-card.c-teal { border-left-color: #00897b; }
.stat-card.c-green { border-left-color: #2e7d32; }
.stat-card.c-orange { border-left-color: #f9a825; }
.stat-card.c-red { border-left-color: #c62828; }
.stat-card.c-purple { border-left-color: #6a1b9a; }

/* -------------------- Tables -------------------- */
table.data-table th,
table.data-table td {
    text-align: left;
}

/* -------------------- Forms -------------------- */
label {
    text-align: left;
}

/* -------------------- Modal -------------------- */
.modal-header, .modal-footer {
    flex-direction: row;
}

/* -------------------- User menu dropdown -------------------- */
.user-menu-dropdown {
    left: 0;
    right: auto;
}
.user-menu-dropdown button, .user-menu-dropdown a {
    text-align: left;
}

/* -------------------- Mobile responsive -------------------- */
@media (max-width: 880px) {
    .sidebar-toggle {
        right: auto;
        left: 12px;
    }
    .sidebar {
        right: auto;
        left: -100%;
        transition: left 0.25s ease;
    }
    .sidebar.open {
        left: 0;
        right: auto;
    }
    .topbar {
        padding-right: 16px;
        padding-left: 62px;
    }
}

/* -------------------- Misc small fixes -------------------- */
.toast-container {
    left: auto;
    right: 20px;
}
.report-header-title {
    text-align: right;
}
