/* RTL enhancements for Urdu and Arabic scripts */

/* Add dir="rtl" on html/body to enable */
[dir="rtl"] {
  direction: rtl;
}

[dir="rtl"] body {
  font-family: var(--font-serif-urdu);
}

/* Flip common layout where logical props were not used */
[dir="rtl"] .nav-links { text-align: right; }
[dir="rtl"] .nav-link { }

/* Tables left-to-right text for numbers where needed */
[dir="rtl"] .table td, [dir="rtl"] .table th {
  text-align: start;
}

/* Chips/badges consistent padding */
[dir="rtl"] .badge { }

/* Ensure RTL works when dir is on html/body and apply Urdu font where appropriate */
html[dir="rtl"], body[dir="rtl"] { direction: rtl; }
[dir="rtl"] { font-family: var(--font-serif-urdu); }

