/* Language toggle (header + mobile drawer) and Bangla typography. Prefix: mcx-lang */

.mcx-lang {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}
.mcx-lang--desktop { padding: 0 4px; }
.mcx-lang--drawer {
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
	font-size: 14px;
	gap: 10px;
}
.mcx-lang-link {
	color: rgba(255, 255, 255, 0.6);
	padding: 6px 4px;
	text-decoration: none;
	transition: color 0.15s ease;
}
.mcx-lang-link:hover,
.mcx-lang-link:focus-visible { color: #fff; }
.mcx-lang-link.is-current { color: #fff; }
.mcx-lang-link:focus-visible { outline: 2px solid #5eead4; outline-offset: 2px; border-radius: 4px; }
.mcx-lang-sep { color: rgba(255, 255, 255, 0.25); }

/* Bangla pages: a font that has Bangla letters, looser lines, no letter spacing (it breaks joined letters). */
html[lang^="bn"] body.sc-new-site,
html[lang^="bn"] body.sc-new-site :where(h1, h2, h3, h4, h5, h6, p, a, span, div, li, button, input, select, textarea, label) {
	font-family: "Noto Sans Bengali", "Plus Jakarta Sans", "Segoe UI", sans-serif;
	letter-spacing: normal !important;
}
html[lang^="bn"] body.sc-new-site h1 { line-height: 1.4 !important; }
html[lang^="bn"] body.sc-new-site h2 { line-height: 1.4 !important; }
html[lang^="bn"] body.sc-new-site h3,
html[lang^="bn"] body.sc-new-site p,
html[lang^="bn"] body.sc-new-site li { line-height: 1.6; }
html[lang^="bn"] body.sc-new-site .mc-uppercase { text-transform: none; }

/* Home search: title line, no keyword box, two equal fields, sentence-case labels */
.mcx-search-title { margin: 0 0 8px; padding: 0 8px; font-size: 15px; font-weight: 600; color: #334155; }
.mc-search-capsule-form .mc-search-label { text-transform: none !important; letter-spacing: normal !important; font-size: 12px !important; }
.mc-search-capsule-form .mc-search-field-spec,
.mc-search-capsule-form .mc-search-field-loc { flex: 1 1 0% !important; }

/* Jobs page: hero starts below the fixed header so the small label is not hidden */
#mc-jobs-page > section:first-of-type { padding-top: 72px; }

/* Single job: overview labels in sentence case */
body.sc-new-site .mc-single-job .mc-blk-overview .mc-ov-item .mc-ov-label { text-transform: none !important; letter-spacing: normal !important; font-size: 12px !important; font-weight: 600 !important; }

/* Buttons: green with white text; black with white text on hover, focus and click */
.mc-search-submit,
a.mc-bg-mint.mc-text-forest,
.btn.btn-apply { background: #15803d !important; color: #fff !important; border-color: transparent !important; }
.mc-search-submit:hover, .mc-search-submit:focus-visible, .mc-search-submit:active,
a.mc-bg-mint.mc-text-forest:hover, a.mc-bg-mint.mc-text-forest:focus-visible, a.mc-bg-mint.mc-text-forest:active,
.btn.btn-apply:hover, .btn.btn-apply:focus-visible, .btn.btn-apply:active { background: #0a0a0a !important; color: #fff !important; }
.mc-search-submit svg, .mc-search-submit span { color: #fff !important; }

/* Header: smaller bar and logo */
#mc-navInner { height: 80px !important; }
#mc-navInner img { height: 38px !important; width: auto !important; }
@media (max-width: 767px) { #mc-navInner { height: 68px !important; } #mc-navInner img { height: 32px !important; } }

/* More green buttons: job card "View job" and the main button on status pages */
.mcx-btn-green, .mcx-st-btn.mcx-st-btn--go { background: #15803d !important; color: #fff !important; border-color: transparent !important; }
.mcx-btn-green:hover, .mcx-btn-green:focus-visible, .mcx-btn-green:active,
.mcx-st-btn.mcx-st-btn--go:hover, .mcx-st-btn.mcx-st-btn--go:focus-visible, .mcx-st-btn.mcx-st-btn--go:active { background: #0a0a0a !important; color: #fff !important; }

/* Page top space matches the smaller header (was 96px / 84px) */
html body.sc-new-site #apus-main-content { padding-top: 80px; }
@media (max-width: 767px) { html body.sc-new-site #apus-main-content { padding-top: 68px; } }

/* Dashboard: logo image, language switch in top bar and sidebar */
.mcx-dash-logo-img { height: 34px; width: auto; display: block; }
.mcx-lang--dash { padding: 0 8px; }
.mcx-dash-lang-row { padding: 8px 12px 4px; }
.mcx-lang--dash-side { display: inline-flex; gap: 10px; align-items: center; font-size: 15px; }
.mcx-lang--dash-side .mcx-lang-link { color: #64748b; font-weight: 600; padding: 6px 4px; }
.mcx-lang--dash-side .mcx-lang-link.is-current,
.mcx-lang--dash-side .mcx-lang-link:hover { color: #032C1B; }
.mcx-lang--dash-side .mcx-lang-sep { color: #cbd5e1; }
@media (max-width: 767px) {
  .mcx-dash-logo-img { height: 28px; }
  .mcx-lang--dash { padding: 0 2px; font-size: 13px; gap: 6px; }
  .mc-dash-topbar-right .mc-dash-user-text, .mc-dash-topbar-right .mc-dash-caret { display: none; }
  .mc-dash-topbar-right .mcx-dash-main-btn span { display: none; }
}

/* Job overview: plain list, one fact per row */
body.sc-new-site .mc-single-job .mc-blk-overview .mcx-ov-list { list-style: none; margin: 14px 0 0; padding: 0; }
body.sc-new-site .mc-single-job .mc-blk-overview .mcx-ov-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e2e8f0; margin: 0; }
body.sc-new-site .mc-single-job .mc-blk-overview .mcx-ov-row:last-child { border-bottom: 0; }
body.sc-new-site .mc-single-job .mc-blk-overview .mcx-ov-ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; background: #ecfdf5; border: 1px solid rgba(16,185,129,.12); color: #047857; display: flex; align-items: center; justify-content: center; }
body.sc-new-site .mc-single-job .mc-blk-overview .mcx-ov-ic svg { width: 18px; height: 18px; }
body.sc-new-site .mc-single-job .mc-blk-overview .mcx-ov-tx { min-width: 0; flex: 1 1 auto; }
body.sc-new-site .mc-single-job .mc-blk-overview .mcx-ov-lb { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: #64748b; }
body.sc-new-site .mc-single-job .mc-blk-overview .mcx-ov-vl { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; color: #0f172a; overflow-wrap: anywhere; }

/* Jobs page: centred filter button, one-row results bar, tidy footer lists */
@media (max-width: 1023px) {
  body.sc-new-site #mc-filters-btn.mcx-fbtn { position: fixed; left: 50%; right: auto; bottom: 20px; transform: translateX(-50%); z-index: 90; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: #15803d !important; background-image: none !important; color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: opacity .2s, transform .2s, background .2s; }
  body.sc-new-site #mc-filters-btn.mcx-fbtn:hover, body.sc-new-site #mc-filters-btn.mcx-fbtn:focus-visible, body.sc-new-site #mc-filters-btn.mcx-fbtn:active { background: #0a0a0a !important; color: #fff; }
  body.sc-new-site #mc-filters-btn.mcx-fbtn.mcx-fbtn-hide { opacity: 0; pointer-events: none; transform: translate(-50%, 12px); }
  body.sc-new-site #mc-filters-btn .mcx-fbadge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: #15803d; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
}
body.sc-new-site #mc-jobs-page .mcx-bar { flex-wrap: nowrap; }
body.sc-new-site #mc-jobs-page .mcx-count { min-width: 0; }
body.sc-new-site #mc-footer ul { list-style: none; margin: 0; padding: 0; }
body.sc-new-site #mc-footer li { list-style: none; }
@media (max-width: 639px) {
  body.sc-new-site #mc-footer { padding-top: 40px; padding-bottom: 28px; }
  body.sc-new-site #mc-footer #mc-hospitals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding-top: 28px; padding-bottom: 28px; }
}
body.sc-new-site #mc-fpanel button[type="submit"], body.sc-new-site #mc-jobs-page aside button[type="submit"] { background: #15803d !important; background-image: none !important; color: #fff !important; border-color: transparent !important; }
body.sc-new-site #mc-fpanel button[type="submit"]:hover, body.sc-new-site #mc-fpanel button[type="submit"]:focus-visible, body.sc-new-site #mc-fpanel button[type="submit"]:active, body.sc-new-site #mc-jobs-page aside button[type="submit"]:hover { background: #0a0a0a !important; color: #fff !important; }
@media (max-width: 639px) { body.sc-new-site #mc-footer .mc-pb-14 { padding-bottom: 28px; } }
@media (max-width: 1023px) {
  body.sc-new-site #mc-jobs-page > div.mc-max-w-7xl { padding-top: 20px; }
  body.sc-new-site #mc-jobs-page .mc-flex-1.mc-min-w-0 { margin-top: 0; }
}

/* Tick-box filter groups */
body.sc-new-site #mc-jobs-page .mcx-chk-group, body.sc-new-site #mc-fpanel .mcx-chk-group { display: flex; flex-direction: column; gap: 8px; }
body.sc-new-site .mcx-chk { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 600; color: #334155; user-select: none; }
body.sc-new-site .mcx-chk input { width: 18px; height: 18px; flex-shrink: 0; accent-color: #15803d; margin: 0; }
body.sc-new-site .mcx-chk:hover { border-color: #15803d; }
body.sc-new-site .mcx-chk:has(input:checked) { border-color: #15803d; background: #f0fdf4; color: #14532d; }

body.sc-new-site #mc-jobs-page .mcx-chips { margin-top: 16px; }
body.sc-new-site #mc-fpanel .mcx-chips { margin-top: 0; }

/* Calm line breaks: balanced short lines, no lonely last word */
body.sc-new-site :where(h1, h2, h3, h4, h5, .btn, button, label) { text-wrap: balance; }
body.sc-new-site :where(p, li) { text-wrap: pretty; }
