/* Clinic console / waiting-room display / public clinic page, non-English.
   Loaded after the page's own styles (see inc/site_i18n.php). */

/* ── Right-to-left (Arabic) ─────────────────────────────────────────────── */
@media (min-width: 768px) {
  html[dir='rtl'] main.main-content { margin-left: 0 !important; margin-right: 25% !important; }
}
@media (min-width: 992px) {
  html[dir='rtl'] main.main-content { margin-right: 16.666667% !important; }
}
/* The clock label mixes a Latin place name, a translated label and a numeric date. */
html[dir='rtl'] .timezone { direction: ltr; unicode-bidi: isolate; display: inline-block; }
/* Numbers, times, phone numbers and emails stay left-to-right. */
html[dir='rtl'] input[type='tel'], html[dir='rtl'] input[type='email'], html[dir='rtl'] input[type='number'] { direction: ltr; text-align: right; }
/* Long Arabic menu labels: let them wrap instead of being cut off with an ellipsis. */
html[dir='rtl'] .main-sidebar .nav-link span { white-space: normal; text-overflow: clip; overflow: visible; line-height: 1.3; }
/* Waiting-room display clock: times read left-to-right even on a right-to-left screen. */
html[dir='rtl'] #clk { direction: ltr; unicode-bidi: isolate; display: inline-block; }
