/* Max Hygiene Booking — front-end wizard styles */

.mhb-app {
	--mhb-primary: #0f766e;
	--mhb-primary-dark: #0b5750;
	--mhb-dark: #0b1220;
	--mhb-bg: #f7f8f7;
	--mhb-border: #e4e7e5;
	--mhb-text: #14213a;
	--mhb-muted: #6b7280;
	--mhb-radius: 14px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--mhb-text);
	max-width: 1180px;
	margin: 0 auto;
	box-sizing: border-box;
}
.mhb-app *, .mhb-app *::before, .mhb-app *::after { box-sizing: border-box; }
.mhb-app img { max-width: 100%; }

.mhb-loading { padding: 40px; text-align: center; color: var(--mhb-muted); }

.mhb-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	flex-wrap: wrap;
	gap: 10px;
}
.mhb-header-logo img { max-height: 42px; }
.mhb-header-logo { font-weight: 700; font-size: 20px; color: var(--mhb-text); }
.mhb-header-meta { font-size: 13px; color: var(--mhb-muted); text-align: right; }

.mhb-progress-bar {
	height: 4px;
	background: var(--mhb-border);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 16px;
}
.mhb-progress-fill {
	height: 100%;
	background: var(--mhb-primary);
	transition: width .3s ease;
}

.mhb-steps-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}
.mhb-step-pill {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--mhb-border);
	font-size: 13px;
	font-weight: 600;
	color: var(--mhb-muted);
}
.mhb-step-pill .mhb-pill-num {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--mhb-border);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
}
.mhb-step-pill.is-done { color: var(--mhb-primary); border-color: #cdeae6; background: #f0faf9; }
.mhb-step-pill.is-done .mhb-pill-num { background: var(--mhb-primary); }
.mhb-step-pill.is-current { color: #fff; background: var(--mhb-dark); border-color: var(--mhb-dark); }
.mhb-step-pill.is-current .mhb-pill-num { background: rgba(255,255,255,.25); }

.mhb-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 26px;
	align-items: start;
}
@media (max-width: 880px) {
	.mhb-layout { grid-template-columns: 1fr; }
	.mhb-summary { order: -1; position: static !important; }
}

.mhb-panel {
	background: #fff;
	border: 1px solid var(--mhb-border);
	border-radius: var(--mhb-radius);
	padding: 26px;
}

.mhb-step-title { font-size: 22px; font-weight: 700; margin: 0 0 4px; color: var(--mhb-text); }
.mhb-step-sub { color: var(--mhb-muted); margin: 0 0 20px; font-size: 14px; }

/* Service cards */
.mhb-service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
	margin-bottom: 22px;
}
.mhb-service-card {
	border: 1.5px solid var(--mhb-border);
	border-radius: 12px;
	padding: 16px;
	cursor: pointer;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.mhb-service-card:hover { border-color: var(--mhb-primary); }
.mhb-service-card.is-selected { border-color: var(--mhb-primary); box-shadow: 0 0 0 3px rgba(15,118,110,.12); background: #f6fbfa; }
.mhb-service-icon { font-size: 26px; margin-bottom: 8px; display: block; }
.mhb-service-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.mhb-service-desc { font-size: 12.5px; color: var(--mhb-muted); line-height: 1.4; }
.mhb-service-price { font-size: 12.5px; color: var(--mhb-primary); font-weight: 700; margin-top: 8px; }

/* Frequency pills */
.mhb-freq-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.mhb-freq-pill {
	padding: 9px 16px;
	border-radius: 999px;
	border: 1.5px solid var(--mhb-border);
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	color: var(--mhb-text);
}
.mhb-freq-pill.is-selected { border-color: var(--mhb-primary); background: var(--mhb-primary); color: #fff; }
.mhb-freq-save { font-size: 11px; opacity: .85; margin-left: 4px; }

/* Counters (rooms) */
.mhb-field-label { font-weight: 700; font-size: 14.5px; margin-bottom: 2px; }
.mhb-field-help { font-size: 12.5px; color: var(--mhb-muted); margin-bottom: 10px; }
.mhb-counter-row { margin-bottom: 20px; }
.mhb-counter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.mhb-counter-btn {
	min-width: 46px;
	padding: 9px 10px;
	text-align: center;
	border-radius: 10px;
	border: 1.5px solid var(--mhb-border);
	background: #fff;
	font-weight: 700;
	cursor: pointer;
	font-size: 14px;
}
.mhb-counter-btn.is-selected { border-color: var(--mhb-primary); background: var(--mhb-primary); color: #fff; }

.mhb-more-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--mhb-bg);
	border: 1px solid var(--mhb-border);
	border-radius: 10px;
	padding: 12px 16px;
	cursor: pointer;
	font-weight: 700;
	font-size: 13.5px;
	margin-top: 6px;
}
.mhb-more-toggle .mhb-chevron { transition: transform .2s ease; }
.mhb-more-toggle.is-open .mhb-chevron { transform: rotate(180deg); }
.mhb-more-panel { padding-top: 16px; display: none; }
.mhb-more-panel.is-open { display: block; }

/* Hours stepper (hourly services) */
.mhb-hours-stepper { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.mhb-hours-btn {
	width: 42px; height: 42px; border-radius: 50%;
	border: 1.5px solid var(--mhb-border); background: #fff;
	font-size: 20px; font-weight: 700; cursor: pointer; color: var(--mhb-primary);
}
.mhb-hours-value { font-size: 20px; font-weight: 700; min-width: 90px; text-align: center; }

/* Extras list */
.mhb-extra-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--mhb-bg);
	margin-bottom: 10px;
}
.mhb-extra-info { display: flex; align-items: center; gap: 12px; }
.mhb-extra-icon { font-size: 20px; }
.mhb-extra-name { font-weight: 700; font-size: 14.5px; }
.mhb-extra-desc { font-size: 12px; color: var(--mhb-muted); }
.mhb-extra-price { color: var(--mhb-primary); font-weight: 700; font-size: 13px; white-space: nowrap; }
.mhb-extra-control { display: flex; align-items: center; gap: 10px; }
.mhb-qty-btn {
	width: 30px; height: 30px; border-radius: 50%;
	border: 1.5px solid var(--mhb-border); background: #fff;
	font-weight: 700; cursor: pointer;
}
.mhb-qty-val { min-width: 18px; text-align: center; font-weight: 700; }
.mhb-toggle-switch {
	width: 42px; height: 24px; border-radius: 999px; background: var(--mhb-border);
	position: relative; cursor: pointer; flex-shrink: 0;
}
.mhb-toggle-switch::after {
	content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
	border-radius: 50%; background: #fff; transition: left .15s ease;
}
.mhb-toggle-switch.is-on { background: var(--mhb-primary); }
.mhb-toggle-switch.is-on::after { left: 21px; }

/* Form fields */
.mhb-field { margin-bottom: 16px; }
.mhb-field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.mhb-field input[type=text], .mhb-field input[type=email], .mhb-field input[type=tel], .mhb-field textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1.5px solid var(--mhb-border);
	border-radius: 9px;
	font-size: 14px;
	font-family: inherit;
	background: #fff;
	color: var(--mhb-text);
}
.mhb-field input:focus, .mhb-field textarea:focus { outline: none; border-color: var(--mhb-primary); }
.mhb-field-error { color: #b3261e; font-size: 12.5px; margin-top: 4px; display: none; }
.mhb-field.has-error input, .mhb-field.has-error textarea { border-color: #b3261e; }
.mhb-field.has-error .mhb-field-error { display: block; }
.mhb-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .mhb-field-row { grid-template-columns: 1fr; } }

/* Calendar */
.mhb-calendar-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .mhb-calendar-wrap { grid-template-columns: 1fr; } }
.mhb-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mhb-cal-title { font-weight: 700; font-size: 15px; }
.mhb-cal-nav { display: flex; gap: 6px; }
.mhb-cal-nav button {
	width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--mhb-border); background: #fff; cursor: pointer;
}
.mhb-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.mhb-cal-dow { font-size: 11px; color: var(--mhb-muted); font-weight: 700; padding: 4px 0; }
.mhb-cal-day {
	position: relative;
	padding: 10px 0;
	border-radius: 9px;
	font-size: 13px;
	cursor: pointer;
	background: transparent;
	border: 1.5px solid transparent;
}
.mhb-cal-day.is-empty { cursor: default; }
.mhb-cal-day.is-available:hover { background: var(--mhb-bg); }
.mhb-cal-day.is-unavailable { color: #c6cbd2; cursor: not-allowed; }
.mhb-cal-day.is-selected { background: var(--mhb-primary); color: #fff; font-weight: 700; }
.mhb-cal-dot { position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; }
.mhb-cal-day.is-available .mhb-cal-dot { background: var(--mhb-primary); }
.mhb-cal-day.is-limited .mhb-cal-dot { background: #d97706; }
.mhb-cal-legend { display: flex; gap: 14px; font-size: 12px; color: var(--mhb-muted); margin-top: 14px; flex-wrap: wrap; }
.mhb-cal-legend span { display: inline-flex; align-items: center; gap: 5px; }
.mhb-cal-legend i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

.mhb-slots-title { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.mhb-slots-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.mhb-slot-btn {
	padding: 11px 16px; border-radius: 9px; border: 1.5px solid var(--mhb-border);
	background: #fff; font-weight: 600; font-size: 13.5px; cursor: pointer;
}
.mhb-slot-btn.is-selected { border-color: var(--mhb-primary); background: var(--mhb-primary); color: #fff; }
.mhb-slots-empty { color: var(--mhb-muted); font-size: 13.5px; }

/* Review */
.mhb-review-block { border: 1px solid var(--mhb-border); border-radius: 10px; padding: 16px 18px; margin-bottom: 14px; }
.mhb-review-block h4 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--mhb-muted); }
.mhb-review-block p { margin: 2px 0; font-size: 14.5px; }

/* Nav buttons */
.mhb-nav-row { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.mhb-btn {
	padding: 13px 26px;
	border-radius: 10px;
	border: none;
	font-weight: 700;
	font-size: 14.5px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.mhb-btn-primary { background: var(--mhb-primary); color: #fff; }
.mhb-btn-primary:hover { background: var(--mhb-primary-dark); }
.mhb-btn-primary:disabled { background: #a9c9c6; cursor: not-allowed; }
.mhb-btn-secondary { background: #fff; border: 1.5px solid var(--mhb-border); color: var(--mhb-text); }

/* Summary sidebar */
.mhb-summary {
	background: var(--mhb-dark);
	color: #fff;
	border-radius: var(--mhb-radius);
	padding: 24px;
	position: sticky;
	top: 20px;
}
.mhb-summary-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.mhb-summary-head .mhb-label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.mhb-summary-head .mhb-brand { font-size: 12px; opacity: .7; }
.mhb-summary-service { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.mhb-summary-section { border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; margin-top: 12px; }
.mhb-summary-section .mhb-label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; display: block; margin-bottom: 4px; }
.mhb-summary-section .mhb-value { font-size: 14.5px; font-weight: 600; }
.mhb-summary-line { display: flex; justify-content: space-between; font-size: 13px; opacity: .9; padding: 2px 0; }
.mhb-summary-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.mhb-summary-total-row .mhb-total-num { font-size: 26px; font-weight: 700; }
.mhb-summary-sub { display: flex; justify-content: space-between; font-size: 12.5px; opacity: .7; margin-top: 4px; }
.mhb-summary-badges { margin-top: 16px; font-size: 12.5px; opacity: .85; }
.mhb-summary-badges div { margin-bottom: 4px; }
.mhb-summary-contact { margin-top: 16px; font-size: 12.5px; opacity: .75; border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; }
.mhb-summary-contact a { color: #fff; }
.mhb-summary-empty { opacity: .6; font-size: 13.5px; }

/* Success screen */
.mhb-success { text-align: center; padding: 50px 20px; }
.mhb-success-icon { font-size: 52px; margin-bottom: 14px; }
.mhb-success h2 { font-size: 24px; margin-bottom: 8px; }
.mhb-success p { color: var(--mhb-muted); font-size: 15px; }
.mhb-success .mhb-ref { font-weight: 700; color: var(--mhb-text); }

.mhb-alert { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 12px 16px; border-radius: 9px; margin-bottom: 18px; font-size: 13.5px; }

@media (max-width: 560px) {
	.mhb-panel { padding: 18px; }
	.mhb-step-title { font-size: 19px; }
	.mhb-steps-nav { display: none; }
}
