/* Manan components inside the Physeo theme. Uses Physeo's own CSS variables so everything
   matches the theme's colours, fonts and corner radius. */
.mn-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* Language switch (sits in the Physeo header top bar) */
.mn-lang { display: inline-flex; align-items: center; gap: 2px; border: 1px solid currentColor; border-radius: 999px; padding: 2px; vertical-align: middle; line-height: 1; }
.mn-lang a { padding: 4px 11px; border-radius: 999px; color: inherit !important; text-decoration: none !important; font-size: 13px; line-height: 1.2; opacity: .85; }
.mn-lang a[aria-current="true"] { background: var(--wdtPrimaryColor, #2fa3a8); color: #fff !important; opacity: 1; font-weight: 600; }
.mn-lang a:hover { opacity: 1; }
.mn-lang a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Floating WhatsApp button */
.mn-wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 9990; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #157f4c; color: #fff !important; text-decoration: none !important; font-weight: 600; font-family: var(--wdtFontTypo_Base, inherit); box-shadow: 0 10px 28px -10px rgba(15, 106, 62, .7); transition: background-color .2s; }
.mn-wa-float:hover { background: #0f6a3e; }
.mn-wa-float .mn-icon { width: 28px; height: 28px; }
@media (max-width: 767px) { .mn-wa-float { width: 56px; padding: 0; justify-content: center; } .mn-wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Buttons used inside Manan components */
.mn-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: var(--wdtPadding_Btn, 12px 26px); border-radius: var(--wdtRadius_Part, 999px); border: 2px solid transparent; font-family: var(--wdtFontTypo_Base, inherit); font-weight: 600; text-decoration: none !important; cursor: pointer; white-space: nowrap; transition: var(--wdtBaseTransition, all .3s); }
.mn-btn--primary { background: var(--wdtPrimaryColor, #2fa3a8); color: #fff !important; }
.mn-btn--primary:hover { background: var(--wdtSecondaryColor, #13393c); color: #fff !important; }
.mn-btn--wa { background: #157f4c; color: #fff !important; }
.mn-btn--wa:hover { background: #0f6a3e; color: #fff !important; }
.mn-btn--ghost { background: transparent; color: var(--wdtSecondaryColor, #13393c) !important; border-color: currentColor; }
.mn-btn--ghost:hover { background: var(--wdtSecondaryColor, #13393c); color: #fff !important; }
.mn-btn--light { background: #fff; color: var(--wdtSecondaryColor, #13393c) !important; }
.mn-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1rem; }
.mn-btn-row .mn-icon { width: 1.2em; height: 1.2em; }

/* Booking form (replaces the demo contact forms) */
.mn-booking { text-align: start; }
.mn-booking fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.mn-booking legend { font-weight: 600; margin-bottom: 10px; font-family: var(--wdtFontTypo_Alt, inherit); color: var(--wdtHeadAltColor, inherit); }
.mn-booking__types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mn-booking__types legend { grid-column: 1 / -1; }
.mn-choice { position: relative; display: block; cursor: pointer; margin: 0; }
.mn-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.mn-choice span { display: block; height: 100%; border: 1px solid var(--wdtBorderColor, rgba(0,0,0,.15)); border-radius: var(--wdtRadius_, 12px); padding: 12px 14px 12px 40px; position: relative; line-height: 1.35; background: rgba(255,255,255,.6); font-size: 15px; }
.mn-choice span::before { content: ""; position: absolute; left: 14px; top: 14px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; opacity: .5; }
.mn-choice input:checked + span { border-color: var(--wdtPrimaryColor, #2fa3a8); box-shadow: inset 0 0 0 1px var(--wdtPrimaryColor, #2fa3a8); }
.mn-choice input:checked + span::before { opacity: 1; border-color: var(--wdtPrimaryColor, #2fa3a8); background: var(--wdtPrimaryColor, #2fa3a8); box-shadow: inset 0 0 0 3px #fff; }
.mn-choice input:focus-visible + span { outline: 2px solid var(--wdtPrimaryColor, #2fa3a8); outline-offset: 2px; }
.mn-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.mn-field { margin: 0 0 14px; }
.mn-field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.mn-field input, .mn-field select, .mn-field textarea { width: 100%; box-sizing: border-box; }
.mn-field textarea { min-height: 110px; }
.mn-hp { position: absolute !important; left: -9999px; }
.mn-consent { font-size: 15px; }
.mn-consent input { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; accent-color: var(--wdtPrimaryColor, #2fa3a8); }
.mn-booking__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.mn-booking__actions button.mn-btn { border: 0; }
.mn-booking__note { margin: 0; font-size: 14px; opacity: .8; }
.mn-booking__status:empty { display: none; }
.mn-booking__status { margin-top: 16px; padding: 14px 16px; border-radius: var(--wdtRadius_, 12px); }
.mn-booking__status.is-error { background: #fdecec; color: #8a1c1c; }
.mn-booking__status.is-success { background: rgba(47, 163, 168, .12); }
.mn-booking__status.is-success p { margin: 0 0 12px; }
.mn-booking.is-sent > *:not(.mn-booking__status) { display: none; }
@media (max-width: 600px) { .mn-grid-2, .mn-booking__types { grid-template-columns: 1fr; } }
.mn-booking-off { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--wdtBorderColor, rgba(0,0,0,.15)); border-radius: var(--wdtRadius_, 16px); padding: 22px; }
.mn-booking-off__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #157f4c; color: #fff; display: grid; place-items: center; }
.mn-booking-off__icon .mn-icon { width: 28px; height: 28px; }
.mn-booking-off__text { font-size: 18px; font-weight: 600; margin: 4px 0 0; }

/* Shortcode components that may be placed on pages */
.mn-faqs { display: grid; gap: 10px; }
.mn-faq { border: 1px solid var(--wdtBorderColor, rgba(0,0,0,.12)); border-radius: var(--wdtRadius_, 12px); }
.mn-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; list-style: none; }
.mn-faq summary::-webkit-details-marker { display: none; }
.mn-faq[open] .mn-faq__chev { transform: rotate(180deg); }
.mn-faq__a { padding: 0 20px 16px; }
.mn-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.mn-contact li { display: flex; gap: 12px; }
.mn-contact strong { display: block; font-size: 14px; opacity: .75; }
.mn-table-wrap { overflow-x: auto; }
.mn-hospitals { width: 100%; border-collapse: collapse; }
.mn-hospitals th, .mn-hospitals td { padding: 10px 14px; border-bottom: 1px solid var(--wdtBorderColor, rgba(0,0,0,.12)); text-align: start; }
.mn-areas { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mn-areas li { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--wdtBorderColor, rgba(0,0,0,.12)); border-radius: 999px; padding: 6px 14px; }
.mn-map { border-radius: var(--wdtRadius_, 16px); overflow: hidden; aspect-ratio: 16 / 8; min-height: 300px; }
.mn-map iframe { width: 100%; height: 100%; border: 0; }
.mn-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nepali text renders better with a little more line height */
.mn-lang-ne body, body.mn-lang-ne { line-height: 1.75; }
