/* V3.0 Gujarati screens (Scripts/app/i18n.js).
   Gujarati letters come from Noto Sans Gujarati (SIL Open Font License, Content/fonts/OFL-noto-sans-gujarati.txt), declared as part of
   the app's own font family with a unicode-range: the browser downloads it only when Gujarati text is on the screen (help panel,
   Gujarati screens), and English keeps Plus Jakarta Sans. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/noto-sans-gujarati-gujarati-400-normal.woff2) format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+25CC, U+A830-A839; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/noto-sans-gujarati-gujarati-400-normal.woff2) format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+25CC, U+A830-A839; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/noto-sans-gujarati-gujarati-700-normal.woff2) format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+25CC, U+A830-A839; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/noto-sans-gujarati-gujarati-700-normal.woff2) format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+25CC, U+A830-A839; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap;
  src: url(../fonts/noto-sans-gujarati-gujarati-700-normal.woff2) format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+25CC, U+A830-A839; }

/* the page stays hidden for the first frame while English is swapped for Gujarati (never more than 2.5 s) */
html.mc-i18n-pending body { visibility: hidden; }

/* Gujarati has taller letters and longer words: a little more line height, no clipping in buttons, chips and tabs */
html.mc-gu body { line-height: 1.55; }
html.mc-gu .btn, html.mc-gu .mc-chip, html.mc-gu .mc-lv__chips button, html.mc-gu .nav-link { line-height: 1.35; }
html.mc-gu .btn-sm { padding-top: .3rem; padding-bottom: .3rem; }
html.mc-gu .mc-nav-item span, html.mc-gu .mc-nav-cat span { white-space: normal; line-height: 1.3; }
html.mc-gu .mc-bottom-nav span { font-size: 10.5px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
html.mc-gu .mc-brand__text small, html.mc-gu .mc-user__text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.mc-gu th, html.mc-gu .table thead th { line-height: 1.3; }
html.mc-gu input::placeholder { font-size: .95em; }
@media (max-width: 767px) {
    html.mc-gu .mc-lv__title h1, html.mc-gu .mc-page-title, html.mc-gu h1 { font-size: 1.35rem; line-height: 1.3; }
    html.mc-gu .mc-top .btn span { font-size: 13px; }
}

/* language switch in the account menu and on the sign in page */
.mc-lang-item { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mc-lang-item .mc-lang-opt { border: 1px solid var(--line, #dbe3ea); border-radius: 999px; padding: 2px 10px; font-weight: 600; font-size: 13px; color: var(--ink, #0e2a3f); text-decoration: none !important; background: transparent; }
.mc-lang-item .mc-lang-opt.is-on { background: var(--brand-600, #1592C4); border-color: var(--brand-600, #1592C4); color: #fff; }
.mc-lang-auth { display: flex; justify-content: center; gap: 8px; margin: 0 0 14px; }
.mc-lang-auth .mc-lang-opt { border: 1px solid var(--line, #dbe3ea); border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: 13.5px; text-decoration: none !important; color: var(--ink, #0e2a3f); }
.mc-lang-auth .mc-lang-opt.is-on { background: var(--brand-600, #1592C4); border-color: var(--brand-600, #1592C4); color: #fff; }
html.mc-dark .mc-lang-item .mc-lang-opt, html.mc-dark .mc-lang-auth .mc-lang-opt { color: var(--ink); border-color: var(--line); }
