/* Paultech Booking System — self-contained UI styles.
   Values mirror the original design 1:1 (card 720px / 40px pad / 20px radius,
   24px-800 headings, 2px borders, 18px-700 buttons, #162F62 navy, #EEF4FF
   summary, pill radius 50px). */

.mb-wrap {
	font-family: 'Roboto', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	/* !important so the widget keeps its width on any host theme. Card = 720px. */
	max-width: 752px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 40px;
	margin-bottom: 40px;
	padding: 0 16px;
	width: 100%;
	color: #333;
	box-sizing: border-box;
}
.mb-wrap *, .mb-wrap *::before, .mb-wrap *::after { box-sizing: border-box; }

/* Progress steps */
.mb-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 28px;
}
.mb-step {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	font-weight: 600;
	color: var(--mbb-9aa7c2, #ACADB0);
	background: var(--mbb-eef2fb, #F4F4F5);
	padding: 10px 24px;
	border-radius: 50px;
	white-space: nowrap;
}
.mb-step.active { color: #fff; background: var(--mbb-4d7de1, #4C5058); }
.mb-step.done { color: #1f9d57; background: #e4f6ec; }
.mb-step-num, .mb-step-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px; height: 22px;
	border-radius: 50%;
	font-size: 12px;
	background: rgba(255,255,255,.35);
}
.mb-step.active .mb-step-num { background: rgba(255,255,255,.3); color:#fff; }
.mb-step.done .mb-step-check { background: #1f9d57; color: #fff; }
.mb-step:not(.active):not(.done) .mb-step-num { background: var(--mbb-d6deef, #E1E2E4); color: #fff; }
.mb-step-line { flex: 1; height: 2px; background: var(--mbb-d9e1f2, #E4E5E7); }
.mb-step-line.done { background: #1f9d57; }

/* Card */
.mb-card {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 4px 24px rgba(var(--mbb-4d7de1-rgb, 76, 80, 88),.08);
	padding: 40px;
}
.mb-title { font-size: 24px; font-weight: 800; color: var(--mbb-162f62, #383B40); margin: 0 0 6px; }
.mb-sub { font-size: 15px; color: #888; margin: 0 0 32px; }

/* Step 1 intro / practitioner card (photo + details row, optional full-width row below) */
.mb-intro {
	padding: 22px 26px;
	margin-bottom: 20px;
}
.mb-intro-top {
	display: flex;
	align-items: center;
	gap: 20px;
}
.mb-intro-photo { flex: none; }
.mb-intro-photo img {
	width: 96px; height: 96px;
	border-radius: 14px;
	object-fit: cover;
	display: block;
}
.mb-intro-body { min-width: 0; }
.mb-intro-name { font-size: 18px; font-weight: 800; color: var(--mbb-162f62, #383B40); }
.mb-intro-title { font-size: 14px; font-weight: 600; color: var(--mbb-4d7de1, #4C5058); margin-top: 2px; }
.mb-intro-desc { font-size: 13px; color: #666; line-height: 1.55; margin-top: 8px; }
.mb-intro-desc2 {
	font-size: 13px; color: #666; line-height: 1.6;
	margin-top: 16px; padding-top: 16px;
	border-top: 1px solid var(--mbb-eef4ff, #F6F6F7);
}

.mb-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--mbb-162f62, #383B40);
	margin: 0 0 10px;
}

/* Select */
.mb-select-wrap { position: relative; margin-bottom: 24px; }
.mb-select {
	width: 100%;
	appearance: none; -webkit-appearance: none;
	border: 2px solid var(--mbb-e8eef9, #F0F0F1);
	border-radius: 10px;
	padding: 14px 48px 14px 16px;
	font-size: 15px;
	line-height: 1.5;
	height: auto !important; /* override themes that force a fixed select height */
	min-height: 0;
	color: #333;
	background: #fff;
	cursor: pointer;
	font-family: inherit;
}
.mb-select-wrap::after {
	content: "";
	position: absolute; right: 16px; top: 50%;
	width: 13px; height: 9px;
	transform: translateY(-50%);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%234C5058' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
	pointer-events: none;
	transition: transform .2s;
}
.mb-dd-wrap.open::after { transform: translateY(-50%) rotate(180deg); }

/* Custom consultation dropdown — matched to the date trigger + calendar popup */
.mb-dd-native { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.mb-dd-btn {
	width: 100%;
	display: flex; align-items: center; gap: 10px;
	-webkit-appearance: none; appearance: none;
	border: 2px solid var(--mbb-e8eef9, #F0F0F1);
	border-radius: 10px;
	padding: 14px 48px 14px 16px;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
	background: #fff;
	cursor: pointer;
	font-family: inherit;
	font-weight: 400;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	margin: 0;
}
/* Neutralize theme button hover/focus so it stays visually identical to the date field */
.mb-dd-btn:hover, .mb-dd-btn:focus, .mb-dd-btn:active {
	background: #fff; color: #333; box-shadow: none; outline: none;
}
/* When open, turn blue and square the bottom corners so the list merges seamlessly (same as the date field) */
.mb-dd-wrap.open .mb-dd-btn {
	border-color: var(--mbb-4d7de1, #4C5058);
	border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}
.mb-dd-btn-label { flex: 1 1 auto; }
.mb-dd-btn-label.is-placeholder { color: #aaa; }
/* Popup attaches under the field with the same blue border as the calendar */
.mb-dd-list {
	display: none;
	position: absolute; left: 0; right: 0; top: 100%;
	z-index: 30;
	margin: 0 !important; padding: 8px !important; list-style: none;
	background: #fff;
	border: 2px solid var(--mbb-4d7de1, #4C5058); border-top: none;
	border-radius: 0 0 10px 10px;
	box-shadow: 0 12px 30px rgba(var(--mbb-28437b-rgb, 48, 50, 54),.12);
	max-height: 320px; overflow-y: auto;
}
.mb-dd-wrap.open .mb-dd-list { display: block; }
.mb-dd-item {
	display: flex; align-items: center; gap: 10px;
	margin: 0 !important;
	padding: 11px 12px;
	border-radius: 8px;
	cursor: pointer;
	color: #333;
	list-style: none;
}
.mb-dd-item:hover { background: var(--mbb-eef2fb, #F4F4F5); }
.mb-dd-item.is-active { background: var(--mbb-eef2fb, #F4F4F5); }
.mb-dd-item.is-active .mb-dd-item-label { color: var(--mbb-162f62, #383B40); font-weight: 600; }
.mb-dd-item-label { flex: 1 1 auto; font-size: 15px; }
.mb-dd-badge, .mb-dd-btn-badge {
	flex: none;
	font-size: 12px; font-weight: 700;
	padding: 4px 11px;
	border-radius: 50px;
	white-space: nowrap;
}
.mb-dd-badge-tele { background: var(--mbb-e8f0fe, #F2F3F4); color: var(--mbb-1967d2, #2F3237); }
.mb-dd-badge-presentiel { background: #E6F4EA; color: #1E8E3E; }

/* Conditional follow-up question */
.mb-followup { margin-bottom: 24px; }
/* Description + answers are one panel: grey description head, dropdown body. No
   overflow:hidden here — .mb-dd-list is absolutely positioned and would be clipped. */
.mb-fu-panel { position: relative; }
.mb-fu-desc {
	padding: 14px 16px;
	border: 2px solid var(--mbb-e8eef9, #F0F0F1);
	border-bottom: 0;
	border-radius: 10px 10px 0 0;
	background: var(--mbb-f4f6fa, #F7F7F7);
	font-size: 13.5px;
	line-height: 1.6;
	color: #222;                 /* body copy, not muted: this is content the client must read */
	/* Long consent lists scroll inside the block instead of pushing the form down.
	   Sized to fit a long consent list (8 single-line conditions measure 273px) with room
	   for wrapped lines. Safe to scroll here: the answers dropdown is a sibling of this
	   block, not a child. */
	max-height: 500px;
	overflow-y: auto;
	overscroll-behavior: contain;
}
/* Square the shared edge so head and dropdown read as one control */
.mb-fu-panel.has-desc .mb-select-wrap { margin-bottom: 0; }
.mb-fu-panel.has-desc .mb-dd-btn { border-top-left-radius: 0; border-top-right-radius: 0; }
.mb-fu-panel.has-desc.is-open-desc .mb-fu-desc { border-color: var(--mbb-4d7de1, #4C5058); }
/* Rich text inside the description */
.mb-fu-desc > *:first-child { margin-top: 0; }
.mb-fu-desc > *:last-child { margin-bottom: 0; }
/* Zero inter-block margin, matching .mb-rte .ql-editor in MB_RTE::assets(): the editor
   turns EVERY line break into its own <p> (Quill 1.x has no soft break), so a bottom
   margin here is charged to each line rather than only to real paragraph changes — that
   was the gap between consecutive lines. Spacing comes from line-height alone. */
.mb-fu-desc p { margin: 0; }
.mb-fu-desc ul, .mb-fu-desc ol { margin: 0; padding-left: 22px; }
.mb-fu-desc ul { list-style: disc; }
.mb-fu-desc ol { list-style: decimal; }
.mb-fu-desc li { margin: 0; }
.mb-fu-desc a { color: var(--mbb-2c58b0, #303236); text-decoration: underline; }
.mb-fu-desc a:hover { color: var(--mbb-16336e, #3E4046); }
.mb-fu-desc strong, .mb-fu-desc b { font-weight: 700; }   /* weight only: description text stays black */
/* Emphasis + quote: stated explicitly rather than left to browser defaults so the public
   page matches what the editor showed. blockquote's default is margin:1em 40px with no
   visual marker; the editor renders it as a left accent bar (same treatment as
   .mb-rte .ql-editor blockquote in MB_RTE::assets()), so mirror that here or a saved
   quote silently looks like a plain indented paragraph to the client. Any inline
   color/font/size the author applied still wins over these — inline style beats a
   stylesheet rule, which is exactly why these can be safe blanket defaults. */
.mb-fu-desc em, .mb-fu-desc i { font-style: italic; }
/* A background-colour run reads as a highlight. The panel itself is #F4F6FA, so a light
   swatch would otherwise sit almost invisibly on it; the tiny inline padding gives the
   fill an edge without changing line height (padding-block would overlap the line above
   on wrapped text). Mirrored in the editor so both sides look the same. */
.mb-fu-desc [style*="background-color"] { padding: 0 2px; border-radius: 2px; }
.mb-fu-desc u { text-decoration: underline; }
.mb-fu-desc blockquote { margin: 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--mbb-c8ccd8, #CFD0D1); color: #50575E; }
option.mb-opt-hidden, .mb-select option[hidden] { display: none; }

/* Date trigger + calendar */
.mb-date { position: relative; margin-bottom: 24px; }
.mb-date-trigger {
	display: flex; align-items: center; justify-content: space-between;
	border: 2px solid var(--mbb-e8eef9, #F0F0F1);
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 15px;
	cursor: pointer;
	background: #fff;
}
/* 1.1.0-glif.3 — the open look, set by step1.js as a class (was inline styles), so a skin can restyle it. */
.mb-date-trigger.is-open { border-color: var(--mbb-4d7de1, #4C5058); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.mb-date-placeholder { color: #aaa; }
.mb-chevron { transition: transform .2s; flex: none; }
/* 1.2.0 — the chevron's colour follows the palette (its SVG stroke attribute is the old blue; CSS wins). */
.mb-chevron path { stroke: var(--mbb-4d7de1, #4C5058); }

.mb-cal-popup {
	display: none;
	position: absolute; left: 0; right: 0; top: 100%;
	z-index: 30;
	background: #fff;
	border: 2px solid var(--mbb-4d7de1, #4C5058);
	border-top: none;
	border-radius: 0 0 10px 10px;
	padding: 16px;
	box-shadow: 0 12px 30px rgba(var(--mbb-28437b-rgb, 48, 50, 54),.12);
}
.mb-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mb-cal-month { font-weight: 700; color: var(--mbb-162f62, #383B40); font-size: 15px; }
.mb-cal-nav {
	-webkit-appearance: none; appearance: none;
	display: flex; align-items: center; justify-content: center;
	border: none; background: var(--mbb-eef2fb, #F4F4F5); color: var(--mbb-4d7de1, #4C5058);
	width: 32px; height: 32px; padding: 0; margin: 0; border-radius: 8px;
	font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer;
	box-shadow: none; transition: background .15s;
}
.mb-cal-nav:hover { background: var(--mbb-e0e8fa, #ECECEE); }
.mb-cal-nav:focus, .mb-cal-nav:active { background: var(--mbb-e0e8fa, #ECECEE); outline: none; box-shadow: none; }
.mb-cal-weekdays, .mb-cal-days { display: grid; grid-template-columns: repeat(7,1fr); }
.mb-cal-weekdays span {
	text-align: center; font-size: 11px; color: var(--mbb-9aa7c2, #ACADB0);
	padding: 6px 0; font-weight: 600;
}
.mb-cal-days { gap: 2px; }
.cal-day {
	text-align: center; padding: 9px 0; font-size: 13px;
	border-radius: 8px; cursor: pointer; color: #333;
}
.cal-day:hover:not(.disabled):not(.empty) { background: var(--mbb-eef2fb, #F4F4F5); }
.cal-day.empty { cursor: default; }
.cal-day.disabled { color: var(--mbb-cfd6e4, #D8D9DB); cursor: default; }
.cal-day.today { border: 2px solid var(--mbb-4d7de1, #4C5058); color: var(--mbb-4d7de1, #4C5058); font-weight: 700; }
.cal-day.selected { background: var(--mbb-4d7de1, #4C5058); color: #fff; font-weight: 700; }

/* Time slots */
.mb-slots {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
	margin-bottom: 8px;
}
.time-slot {
	text-align: center;
	border: 2px solid var(--mbb-e8eef9, #F0F0F1);
	border-radius: 10px;
	padding: 12px 0;
	font-size: 14px;
	cursor: pointer;
	background: #fff;
	transition: all .15s;
	user-select: none;
}
.time-slot:hover:not(.unavailable) { border-color: var(--mbb-4d7de1, #4C5058); }
.time-slot.selected { background: var(--mbb-4d7de1, #4C5058); color: #fff; border-color: var(--mbb-4d7de1, #4C5058); }
.time-slot.unavailable { color: var(--mbb-cfd6e4, #D8D9DB); background: var(--mbb-f6f8fc, #F9F9F9); cursor: not-allowed; border-color: var(--mbb-eef2fb, #F4F4F5); }
.mb-time-error { display: none; color: #e0524d; font-size: 13px; margin: 6px 0 0; }

/* Continue / submit button */
.mb-btn {
	width: 100%;
	margin-top: 28px;
	background: var(--mbb-4d7de1, #4C5058);
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 18px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
/* 1.6.0 — the colour too: a host theme's button:hover (Themify paints buttons black with its own text colour)
   must not change the label colour (Manthan's screenshots, MinuteSante dev, 24 Oct 2026). One class + pseudo-class,
   no .mb-wrap prefix, so a clinic skin loaded after this file still wins at equal weight. */
.mb-btn:hover { background: var(--mbb-3f6cd0, #3F4147); color: #fff; }
.mb-btn:disabled { opacity: .7; cursor: default; }

/* Step 2 */
.mb-back { display: inline-block; color: var(--mbb-4d7de1, #4C5058); text-decoration: none; font-size: 14px; margin-bottom: 18px; }
.mb-back:hover { text-decoration: underline; }

/* Language switcher (FR | EN), printed only when the bilingual setting is on. */
.mb-lang-switch { display: flex; justify-content: flex-end; align-items: center; font-size: 13px; margin-bottom: 12px; color: var(--mbb-9aa7c2, #ACADB0); }
.mb-lang-switch a { color: var(--mbb-4d7de1, #4C5058); text-decoration: none; font-weight: 500; padding: 2px 4px; }
.mb-lang-switch a + a::before { content: "|"; display: inline-block; text-decoration: none; color: var(--mbb-9aa7c2, #ACADB0); font-weight: 400; margin-right: 8px; margin-left: -4px; }
.mb-lang-switch a:hover { text-decoration: underline; }
.mb-lang-switch a.is-current { color: var(--mbb-162f62, #383B40); font-weight: 700; }
.mb-summary {
	display: flex; align-items: center; justify-content: space-between;
	background: var(--mbb-eef4ff, #F6F6F7); border-radius: 12px; padding: 16px 20px; margin-bottom: 20px;
}
.mb-summary-left { display: flex; align-items: center; gap: 12px; }
.mb-summary-icon { font-size: 22px; }
.mb-summary-title { font-weight: 700; color: var(--mbb-162f62, #383B40); font-size: 15px; }
.mb-summary-detail { font-size: 13px; color: #888; margin-top: 2px; }
.mb-summary-price { font-size: 22px; font-weight: 800; color: var(--mbb-4d7de1, #4C5058); }
/* 1.1.0-glif.1 — a price TEXT (« À partir de 11 $ / unité ») is longer than an amount: smaller, and
   allowed to wrap instead of pushing against the service and date. */
.mb-summary-price.mb-summary-price-text { font-size: 17px; font-weight: 700; text-align: right; max-width: 45%; flex: 0 1 auto; margin-left: 16px; line-height: 1.3; }

.mb-note {
	background: #fff8e6; border: 1px solid #ffe7a8; border-left: 4px solid #f3c64d;
	border-radius: 12px; padding: 16px 18px; margin-bottom: 24px; font-size: 13px; color: #7a6a3a;
}
.mb-note strong { display: block; margin-bottom: 3px; color: #6a5a2a; }
/* 1.1.0-glif.2 — the deposit notice is one sentence (« Dépôt de 50 $ prélevé aujourd'hui, déduit… »):
   its bold opening stays on the same line as the rest. */
.mb-note.mb-note-deposit strong { display: inline; margin-bottom: 0; }

.mb-section {
	font-size: 16px; font-weight: 700; color: var(--mbb-162f62, #383B40);
	margin: 24px 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--mbb-eef4ff, #F6F6F7); /* sleek divider, matches original */
}
.mb-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.mb-input {
	width: 100%;
	border: 2px solid var(--mbb-e8eef9, #F0F0F1); border-radius: 10px;
	padding: 14px 16px; font-size: 15px; line-height: 1.5; font-family: inherit; color: #333;
	height: auto !important;
	min-height: 0;
}
.mb-input:focus { outline: none; border-color: var(--mbb-4d7de1, #4C5058); }
/* 1.5.0 — an invalid email on Step 2 (step2.js emailCheck(); approved mockup mockup-emails-buttons.html, right
   column): red frame + 3 px red ring, focused or not, and one red line under the field. The mockup's literal
   values (no variable exists for the error red, the same #d0463f as the verification row's messages). */
.mb-input[aria-invalid="true"], .mb-input[aria-invalid="true"]:focus { border-color: #d0463f; box-shadow: 0 0 0 3px rgba(208, 70, 63, .15); }
.mb-field-err { color: #d0463f; font-size: 13px; line-height: normal; margin: 6px 0 0; }

.mb-card-element {
	border: 2px solid var(--mbb-e8eef9, #F0F0F1); border-radius: 10px;
	padding: 14px 16px; background: #fff;
}
.mb-card-errors { color: #e0524d; font-size: 13px; margin-top: 8px; min-height: 16px; }
.mb-secure { font-size: 12px; color: #888; margin: 16px 0 0; }

.mb-spinner {
	width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid rgba(255,255,255,.5); border-top-color: #fff;
	animation: mb-spin .7s linear infinite;
}
@keyframes mb-spin { to { transform: rotate(360deg); } }

/* Confirmation / transition screen */
.mb-confirm { text-align: center; }
.mb-confirm-icon {
	width: 64px; height: 64px; border-radius: 50%;
	background: #e4f6ec; color: #1f9d57;
	font-size: 34px; line-height: 64px;
	margin: 4px auto 18px;
}
.mb-confirm-title { font-size: 22px; font-weight: 800; color: var(--mbb-162f62, #383B40); margin: 0 0 16px; }
.mb-confirm-appt {
	display: inline-block; background: var(--mbb-eef4ff, #F6F6F7); color: var(--mbb-162f62, #383B40); font-weight: 700;
	border-radius: 10px; padding: 12px 18px; margin-bottom: 18px; font-size: 15px;
}
.mb-confirm-msg { font-size: 14px; color: #555; line-height: 1.6; margin: 0 auto 20px; max-width: 460px; }
.mb-confirm-count { font-size: 13px; color: #888; margin: 0 0 20px; }
.mb-confirm .mb-btn { max-width: 340px; margin: 0 auto; }

@media (max-width: 560px) {
	.mb-wrap { margin-top: 20px; margin-bottom: 20px; }
	.mb-card { padding: 22px; border-radius: 16px; }
	.mb-title { font-size: 21px; }
	.mb-sub { margin-bottom: 24px; }
	.mb-slots { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.mb-grid2 { grid-template-columns: 1fr; }

	/* Compact stepper: show only the active step's label; the other collapses to
	   just its number/check circle, so the row fits a phone width. */
	.mb-steps { gap: 6px; }
	.mb-step { font-size: 12px; padding: 7px 12px; gap: 6px; white-space: normal; }
	.mb-step:not(.active) .mb-step-label { display: none; }
	.mb-step:not(.active) { padding: 7px; }
	.mb-step-num, .mb-step-check { width: 18px; height: 18px; font-size: 11px; }
	.mb-step-line { max-width: 28px; }

	/* Stack the Step 2 summary so the date and price never get squished. */
	.mb-summary { flex-direction: column; align-items: flex-start; gap: 8px; }
	.mb-summary-price.mb-summary-price-text { text-align: left; max-width: none; margin-left: 0; }

	/* Intro card: smaller photo + tighter padding on phones. */
	.mb-intro { padding: 16px; gap: 14px; }
	.mb-intro-photo img { width: 72px; height: 72px; border-radius: 12px; }
	.mb-intro-name { font-size: 16px; }
}

/* Window model: shown when a date has no bookable slots */
.mb-no-slots { grid-column: 1 / -1; text-align: center; color: #8A8F98; font-size: 14px; padding: 20px 4px; }

/* ============================================================================
   Booking dialog (mbModal) — shared by Step 1 and Step 2.
   One layout for every case: icon + left-aligned text, then the same full-width
   action button the booking pages already use (.mb-btn), so the dialog reads as
   part of the flow rather than a system alert.
   ========================================================================== */
.mb-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(var(--mbb-16305c-rgb, 54, 56, 60), .45);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 9999;
}
.mb-modal {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 18px 48px rgba(var(--mbb-16305c-rgb, 54, 56, 60), .22);
	max-width: 420px;
	width: 100%;
	padding: 24px;
}
.mb-modal-head { display: flex; align-items: center; gap: 12px; }
.mb-modal-ic {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #FAEEDA;
	color: #854F0B;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mb-modal-title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--mbb-16305c, #36383C);
	line-height: 1.35;
}
.mb-modal-sep {
	border: 0;
	border-top: 1px solid var(--mbb-e8ecf3, #EDEDEE);
	margin: 15px 0;
}
.mb-modal-body {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #5a5a5a;
}
.mb-modal .mb-modal-btn { margin-top: 20px; }
.mb-modal-btn:focus-visible { outline: 3px solid var(--mbb-16305c, #36383C); outline-offset: 2px; }

@media (max-width: 560px) {
	.mb-modal { padding: 20px; }
	.mb-modal-title { font-size: 16px; }
	.mb-modal-body { font-size: 13.5px; }
	.mb-modal .mb-modal-btn { padding: 16px; }
}

/* ============================================================================
   1.5.0 — contact verification on Step 2 (MB_Contact_Verify; markup in step2.php, logic in step2.js).
   Built from the approved mockup tickets/1.5.0-phone-verify/mockup-step2-preference.html — its VALUES,
   drawn with this file's own frame and variables so a clinic skin follows:
     mockup --btn #4C5058 → --mbb-4d7de1 · --btn-dark #383B40 → --mbb-162f62 (+ its -rgb for the rings)
     · --border → the field border --mbb-e8eef9 · --soft → --mbb-f4f6fa · text → the page's #333.
   No variable exists for the mockup's muted grey (#7b8794), radio grey (#9aa1ab), placeholder (#b6bbc2),
   green (#1f9d57) or error red (#d0463f): those are its literal values.
   The row is full width under the email | phone row, one box in every state (send · code · ok), drawn
   with an .mb-input's frame (2 px border, 10 px radius), 54 px high. Under it: one help line, or nothing.
   Every hidden part takes zero height. With verification off none of this is printed (1.4.0's step 2).
   ========================================================================== */
.mb-cv { margin: 16px 0 0; }
.mb-cv [hidden] { display: none !important; }
.mb-cv-box {
	position: relative; display: flex; align-items: center; gap: 12px;
	min-height: 54px; box-sizing: border-box;
	border: 2px solid var(--mbb-e8eef9, #F0F0F1); border-radius: 10px; background: #fff;
	padding: 0 8px 0 16px; font-size: 15px; line-height: 1.5; color: #333;
}
/* Choice: custom round radios over real radio inputs (keyboard arrows, group name from the label). */
.mb-cv-prefs { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 22px; min-width: 0; }
.mb-cv-opt { position: relative; display: inline-flex; align-items: center; gap: 9px; margin: 0; cursor: pointer; font-size: 15px; line-height: 20px; font-weight: 400; color: #333; white-space: nowrap; user-select: none; }
.mb-cv-opt input {
	position: absolute; left: 0; top: 50%; width: 1px; height: 1px; margin: 0; padding: 0;
	opacity: 0; outline: none; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.mb-cv-dot {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #9aa1ab; background: #fff;
	transition: border-color .12s, box-shadow .12s;
}
.mb-cv-opt input:checked + .mb-cv-dot { border-color: var(--mbb-162f62, #383B40); }
.mb-cv-opt input:checked + .mb-cv-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mbb-162f62, #383B40); }
/* Keyboard focus = a round ring on the circle, never the browser's square outline. */
.mb-cv-opt input:focus-visible + .mb-cv-dot { box-shadow: 0 0 0 3px rgba(var(--mbb-162f62-rgb, 56, 59, 64), .18); }
.mb-cv-opt:hover .mb-cv-dot { border-color: var(--mbb-162f62, #383B40); }
/* Clinic without texts: « Code de vérification par courriel · ⟨adresse⟩ ». */
.mb-cv-single { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: normal; overflow-wrap: anywhere; }
.mb-cv-dest { color: #7b8794; }
.mb-cv-btn {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	height: 38px; background: var(--mbb-4d7de1, #4C5058); color: #fff;
	border: none; border-radius: 8px; padding: 0 16px; margin: 0;
	font-size: 14px; line-height: 1.2; font-weight: 700; font-family: inherit; cursor: pointer; white-space: nowrap;
}
.mb-cv-btn:hover { background: var(--mbb-3f6cd0, #3F4147); color: #fff; } /* 1.6.0 — colour: see .mb-btn:hover */
.mb-cv-btn:disabled { opacity: .45; cursor: default; background: var(--mbb-4d7de1, #4C5058); }
/* Code: the box holds the code input and, at the right, « Renvoyer » / « Vérification… ». */
.mb-cv-field { padding: 0 16px; }
.mb-cv-field:focus-within { border-color: var(--mbb-162f62, #383B40); box-shadow: 0 0 0 3px rgba(var(--mbb-162f62-rgb, 56, 59, 64), .10); }
.mb-cv .mb-cv-input {
	flex: 1 1 auto; min-width: 0; width: auto; height: 50px !important; min-height: 0; margin: 0; padding: 0;
	border: 0; border-radius: 0; outline: 0; box-shadow: none; background: transparent;
	font-family: inherit; font-size: 18px; line-height: normal; letter-spacing: .35em; color: #333; font-variant-numeric: tabular-nums;
}
.mb-cv .mb-cv-input::placeholder { color: #b6bbc2; opacity: 1; }
.mb-cv-in { flex: 0 0 auto; display: flex; align-items: center; white-space: nowrap; }
.mb-cv .mb-cv-resend { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.mb-cv .mb-cv-resend:disabled { color: #7b8794; }
.mb-cv-checking { font-size: 13.5px; color: #7b8794; }
/* Verified: the same box on the soft background. */
.mb-cv-ok-row { background: var(--mbb-f4f6fa, #F7F7F7); }
/* One line, always: « ✓ Vérifié · Texto · ⟨destination⟩ ». The destination never breaks; a too-long address ends
   in an ellipsis (full address in its title and its text). Under 560 px only the channel shows (below). */
.mb-cv-okline { flex: 1 1 auto; min-width: 0; display: flex; align-items: baseline; gap: 0 .3em; font-size: 15px; white-space: nowrap; }
.mb-cv-okline > .mb-cv-ok { flex: none; }
.mb-cv-okdest { display: flex; gap: 0 .3em; min-width: 0; }
.mb-cv-okch { flex: none; }
.mb-cv-okto { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mb-cv-okch-s { display: none; }
.mb-cv-ok { font-weight: 700; color: #1f9d57; }
.mb-cv-ok.is-unverified { color: #7a6a3a; }
.mb-cv-okdest { color: #7b8794; }
.mb-cv-link {
	flex: 0 0 auto; background: none; border: none; padding: 0; margin: 0;
	font: inherit; font-size: 13.5px; font-weight: 400; line-height: inherit; color: var(--mbb-162f62, #383B40);
	text-decoration: underline; cursor: pointer; white-space: nowrap;
}
/* 1.6.0 — « Changer » / « Renvoyer le code » are <button>s: on a theme with a global button:hover/:focus/:active
   (Themify: black fill) they turned into black blocks (Manthan's screenshots, MinuteSante dev, 24 Oct 2026). Keep the
   link look in every state. One class + pseudo-class beats `button:hover`; no .mb-wrap prefix so a clinic skin still wins. */
.mb-cv-link:hover, .mb-cv-link:focus, .mb-cv-link:active {
	background: none; border: 0; box-shadow: none; color: var(--mbb-162f62, #383B40);
}
.mb-cv-link:disabled { text-decoration: none; cursor: default; }
.mb-cv-btn:focus-visible, .mb-cv-link:focus-visible { outline: 3px solid var(--mbb-162f62, #383B40); outline-offset: 2px; }
/* The help line under the row: the sent line, the hint or a message, then « Changer ». */
.mb-cv-help { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: #7b8794; }
.mb-cv-sent { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.mb-cv-to { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.mb-cv-msg:empty { display: none; }
.mb-cv-msg-err { color: #d0463f; }
@media (max-width: 560px) {
	/* Phones (the mockup's « Cellulaire » view): in the choice step the send button goes full width under
	   the radios; the code and verified rows stay on one line. */
	.mb-cv-send-row { flex-wrap: wrap; padding: 12px 12px 12px 16px; gap: 12px; }
	.mb-cv-send-row .mb-cv-btn { width: 100%; height: 42px; }
	/* Verified row on phones: « ✓ Vérifié · Texto » / « · Courriel » — never a cut address; the destination is in
	   the field above and stays in the accessible text (visually hidden, not display: none). */
	.mb-cv-okch-l { display: none; }
	.mb-cv-okch-s { display: inline; }
	.mb-cv-okto { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
}

/* The card section, mounted at load, kept closed until the contact is verified. */
.mb-pay-section.mb-cv-locked > * { opacity: .35; pointer-events: none; user-select: none; }

/* 1.6.0 — wide booking pages by default (Manthan's screenshots, MinuteSante dev, 24 Oct 2026: on Themify step 1/2 sat
   in a 752px column while GLIF's skin already widened them). Lifted from GLIF's skin (« GLIF-03 round 2 »), which keeps
   its theme-only container rule. Below 900px nothing changes. .mb-slots is scoped to .mb-wrap so the client page's grid
   (client.css .mbc-step .mb-slots) is untouched. !important on max-width: it overrides the 752px !important above and
   any host theme. */
@media (min-width: 900px) {
	.mb-wrap { max-width: 1080px !important; }
	.mb-wrap .mb-slots { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 1200px) {
	.mb-wrap .mb-slots { grid-template-columns: repeat(8, 1fr); }
}

/* 1.6.0 — inputs fill their column. .mb-input already says width:100%, but a host theme's input selectors out-rank one
   class (Themify: inline-block 255px in a 312px column, Manthan's screenshots, MinuteSante dev, 24 Oct 2026). Two classes
   win. The dropdown button keeps its own display (flex: label + badge + arrow). */
.mb-wrap .mb-input { display: block; width: 100%; max-width: none; }
.mb-wrap .mb-dd-btn { width: 100%; max-width: none; }
