/* Back office languages (src/i18n/dom.ts). While a language's words load (first open), the page waits a moment instead of flashing English. */
html.i18n-wait body { visibility: hidden; }
.lang-pick { display: inline-flex; align-items: center; gap: 6px; }
.lang-pick select { font: inherit; font-size: 13px; color: var(--ink, #111); background: transparent; border: 1px solid var(--line, #E5E5EA); border-radius: 10px; padding: 6px 28px 6px 10px; min-height: 36px; max-width: 150px; }
.side-lang { padding: 8px 12px 0; }
.side-lang select { width: 100%; max-width: none; }
.auth-lang { display: flex; justify-content: center; margin-top: 16px; }
/* Hebrew: the page reads right to left */
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .field, html[dir="rtl"] input, html[dir="rtl"] textarea, html[dir="rtl"] select { text-align: right; }
html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="url"], html[dir="rtl"] input[type="number"] { direction: ltr; text-align: right; }
html[dir="rtl"] .lang-pick select { padding: 6px 10px 6px 28px; }
