/* RTL overrides for the office panel. The panel is Persian-only and always
   right-to-left: index.html ships <html dir="rtl"> and MudRTLProvider is on.
   Latin codes (references, IBANs, e-mails) inside RTL text should use
   dir="ltr" / unicode-bidi: isolate locally. */
html[dir="rtl"] body { text-align: right; }
.ltr, [dir="ltr"] { unicode-bidi: isolate; }

/* MudBlazor pads adorned inputs with physical left/right (built for LTR), so
   under RTL the text touched the field's edge. Swap the sides. */
html[dir="rtl"] .mud-input-outlined.mud-input-adorned-start > input { padding-left: 14px; padding-right: 0; }
html[dir="rtl"] .mud-input-outlined.mud-input-adorned-end > input { padding-left: 0; padding-right: 14px; }
