/* Minimal RTL-friendly styles to work offline without Bootstrap */
html,body{margin:0;padding:0;direction:rtl;font-family:"Nunito","Segoe UI",Tahoma,Arial,sans-serif;color:#1f2937;background:#f7f7f9}
.container{max-width:1140px;margin:0 auto;padding:0 16px}
.navbar{background:#fff;border-bottom:1px solid #e5e7eb;min-height:56px;display:flex;align-items:center}
.navbar .container{display:flex;align-items:center;justify-content:space-between}
.navbar-brand{font-weight:700;color:#111827;text-decoration:none}
.btn{display:inline-block;border:1px solid #cfd4da;background:#fff;color:#111827;padding:8px 12px;border-radius:6px;cursor:pointer;text-decoration:none}
.btn:hover{background:#f3f4f6}
.btn-primary{background:#0d6efd;color:#fff;border-color:#0d6efd}
.btn-primary:hover{opacity:.9}
.btn-outline-primary{border-color:#0d6efd;color:#0d6efd}
.btn-outline-secondary{border-color:#6b7280;color:#374151}
.sidebar{width:240px;border-inline-end:1px solid #e5e7eb;background:#fafafa}
.row{display:flex;flex-wrap:wrap;margin:-8px}
.col{padding:8px;flex:1 0 0}
.col-md-2{flex:0 0 240px}
.col-md-9{flex:1}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:8px}
.card-header{padding:10px 12px;border-bottom:1px solid #e5e7eb;font-weight:600;background:#fcfcfd}
.card-body{padding:12px}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:10px;border-top:1px solid #e5e7eb;text-align:right}
.table-striped tbody tr:nth-child(odd){background:#fafafa}
.list-group{list-style:none;margin:0;padding:0}
.list-group-item{padding:10px 12px;border-top:1px solid #e5e7eb;background:#fff}
.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#0d6efd;color:#fff}
.alert{padding:10px 12px;border-radius:6px;margin-bottom:10px}
.alert-success{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}
.alert-danger{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.nav{list-style:none;margin:0;padding:0}
.nav .nav-item{margin:4px 0}
.nav-link{display:block;padding:8px 10px;color:#374151;text-decoration:none;border-radius:6px}
.nav-link:hover{background:#eef2ff;color:#1d4ed8}
.nav-link.active{background:#e0e7ff;color:#1d4ed8;font-weight:700}
.bg-white{background:#fff}
.shadow-sm{box-shadow:0 1px 2px rgba(0,0,0,.05)}
.py-3{padding-top:12px;padding-bottom:12px}
.px-md-4{padding-left:16px;padding-right:16px}
.ms-sm-auto{margin-inline-start:auto}
.col-lg-8{flex:0 0 66.666%;padding:8px}
.col-lg-4{flex:0 0 33.333%;padding:8px}
.mb-0{margin-bottom:0}
.mb-3{margin-bottom:16px}
.text-center{text-align:center}
.text-muted{color:#6b7280}
.fs-4{font-size:1.25rem}
.fw-bold{font-weight:700}
.d-grid{display:grid}
.gap-2{gap:8px}
.d-flex{display:flex}
.justify-content-between{justify-content:space-between}
.align-items-center{align-items:center}
.me-2{margin-inline-end:8px}
.me-3{margin-inline-end:12px}
.theme-dark{background:#0f1115;color:#e5e7eb}
.theme-dark .navbar{background:#111827;border-color:#1f2937}
.theme-dark .sidebar{background:#0b0f14;border-color:#1f2937}
.theme-dark .card{background:#111827;border-color:#1f2937}
.theme-dark .card-header{background:#0f131a;border-color:#1f2937}
.theme-dark .table th,.theme-dark .table td{border-color:#1f2937}
.theme-dark a{color:#93c5fd}

