/* Right-to-left overrides — loaded only when the locale direction is RTL (Arabic). */
body{direction:rtl;text-align:right}

/* Sidebar active accent flips to the right edge */
.sidebar-nav a.active::before{left:auto;right:-12px;border-radius:4px 0 0 4px}

/* Topbar / profile spacing */
.topbar-actions{margin-left:0;margin-right:auto}
.dot-badge{right:auto;left:5px}
.bell-badge{right:auto;left:-10px}

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

/* Cards / KPI stay centered; numbers remain LTR for correctness */
.kpi-val,.rv-kv,.dz-k,.co-k,.reg-ver,.au-ip,.color-hex{direction:ltr;unicode-bidi:embed}

/* Flip common left/right accents */
.cat-head,.section-title{border-left:none;border-right:4px solid #2E75B6;padding-left:0;padding-right:10px}
.rv-recs,.tl-card{}
.tl-item{flex-direction:row-reverse}

/* Language switcher dropdown aligns to the right */
.lang-menu{right:auto;left:0}

/* Forms: keep inputs RTL text */
.form-control{text-align:right}
input[type=email],input[type=url],input[type=color],.color-hex{direction:ltr;text-align:left}
