/* Dynamic direction helpers. Loaded early via AdminLTE plugins. */
html[dir="ltr"] body { direction: ltr; }
html[dir="rtl"] body { direction: rtl; }
/* Fix common RTL/LTR swap issues when switching locale without reload of compiled assets */
html[dir="ltr"] .text-right { text-align: right; }
html[dir="ltr"] .text-left { text-align: left; }
html[dir="rtl"] .text-right { text-align: left; }
html[dir="rtl"] .text-left { text-align: right; }
/* Ensure tables wrap */
.table-responsive { overflow-x: auto; }
/* Utility: force wrapping for long Arabic strings in LTR context to avoid overflow */
.wrap-any { word-break: break-word; white-space: normal; }
