
/* RTL Base */
html[dir="rtl"] body { font-family: "Tajawal", Tahoma, sans-serif; background:#0f172a; color:#e5e7eb; }
a { text-decoration: none; }
.navbar-brand, .brand { font-weight:800; letter-spacing: .5px; }
.sidebar { position:fixed; top:0; bottom:0; right:0; width:260px; background:#0b1734; border-left:1px solid #1f2a44; padding:20px 16px; overflow-y:auto; }
.sidebar a { display:block; padding:10px 12px; color:#cbd5e1; border-radius:12px; margin:6px 0; }
.sidebar a.active, .sidebar a:hover { background:#1d4ed8; color:white; }
.main { margin-right:260px; min-height:100vh; }
.topbar { background:#0b1734; border-bottom:1px solid #1f2a44; padding:14px 20px; position:sticky; top:0; z-index:5; }
.card { background:#0b1226; border:1px solid #1f2a44; border-radius:16px; box-shadow:0 6px 20px rgba(0,0,0,.25); }
.card h5 { margin-bottom:8px; }
.stat { text-align:center; padding:18px; }
.stat .num { font-size:30px; font-weight:800; }
.badge { border-radius:8px; padding:6px 10px; font-weight:700; }
.table thead th { background:#0b1734; color:#e5e7eb; border-color:#1f2a44; }
.table tbody td { color:#d1d5db; border-color:#1f2a44; }
.table-hover tbody tr:hover { background:#0b1734; }
.btn-primary { background:#2563eb; border-color:#2563eb; }
.btn-outline { border:1px solid #334155; color:#cbd5e1; background:transparent; }
.search { background:#0b1734; border:1px solid #334155; color:#e5e7eb; border-radius:10px; padding:8px 12px; }
footer { color:#9aa4b2; padding:20px; text-align:center; }
.logo { height:38px; border-radius:10px; margin-left:8px; }
.form-control, .form-select { background:#0b1734; color:#e5e7eb; border:1px solid #334155; }
.form-control:focus, .form-select:focus { border-color:#2563eb; box-shadow:none; }
hr.sep { border-color:#1f2a44; opacity:.4; }
.small { color:#9aa4b2; }
.table-responsive { border-radius:12px; overflow:hidden; }
