.mk-booking {
	--blue: #075eb8;
	--deep: #073b70;
	--sky: #edf6fd;
	--line: #cdddea;
	--ink: #17324b;
	max-width: 1120px;
	margin: auto;
	color: var(--ink);
}

.mk-booking * { box-sizing: border-box; }

.mk-booking-intro {
	margin-bottom: 24px;
	padding: 30px 34px;
	border-left: 6px solid var(--blue);
	background: linear-gradient(135deg, #f7fbff, var(--sky));
}

.mk-booking-kicker {
	margin: 0 0 8px;
	color: var(--blue);
	font-size: .73rem;
	font-weight: 800;
	letter-spacing: .15em;
}

.mk-booking-intro h1 { margin: 0 0 10px; color: var(--deep); }
.mk-booking-unavailable { padding: 40px; border: 1px solid var(--line); border-radius: 14px; text-align: center; }

.mk-booking-complete { max-width: 760px; padding: 40px 0; }
.mk-booking-success {
	padding: 54px 36px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: linear-gradient(145deg, #fff, var(--sky));
	box-shadow: 0 14px 38px rgba(7, 59, 112, .1);
	text-align: center;
}
.mk-complete-mark { display: grid; width: 68px; height: 68px; margin: 0 auto 20px; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 2rem; font-weight: 900; }
.mk-booking-success h1 { margin: 6px 0 14px; color: var(--deep); }
.mk-booking-success > p:not(.mk-booking-kicker) { margin: 0; font-size: 1.05rem; line-height: 1.8; }
.mk-complete-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.mk-complete-actions a { padding: 11px 22px; border: 2px solid var(--blue); border-radius: 999px; color: var(--blue); font-weight: 800; text-decoration: none; }
.mk-complete-actions a:first-child { background: var(--blue); color: #fff; }
.mk-complete-actions a:hover { opacity: .82; }

.mk-slots {
	overflow: hidden;
	border: 1px solid #b9cfe0;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(7, 59, 112, .08);
}

.mk-slots table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.mk-slots th, .mk-slots td { padding: 18px 22px; border-bottom: 1px solid #cdddea; vertical-align: middle; }
.mk-booking .mk-slots thead { background: #dcecf8 !important; color: #0b2f50 !important; }
.mk-booking .mk-slots thead th {
	background: #dcecf8 !important;
	color: #0b2f50 !important;
	border-color: #8fb6d3 !important;
	border-bottom-width: 2px !important;
	font-size: 1rem;
	font-weight: 900;
	letter-spacing: .04em;
	text-align: left;
	text-shadow: none !important;
}
.mk-slots thead th:first-child { width: 58%; }
.mk-slots thead th:last-child { width: 42%; text-align: center; }
.mk-slots tbody th { text-align: left; }
.mk-slots tbody td { text-align: center; }
.mk-slots tbody tr:last-child th, .mk-slots tbody tr:last-child td { border-bottom: 0; }
.mk-slots tr.is-open { background: #fff; }
.mk-slots tr.is-open:hover { background: #f3f9fe; }
.mk-slots tr.is-blocked { background: #f4f6f8; color: #66798a; }

.mk-slot-date { display: inline-block; min-width: 10em; font-size: 1.08rem; font-weight: 800; color: #17324b; }
.mk-slot-time { display: inline-block; font-size: 1.35rem; color: #073b70; }
.mk-unavailable { display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: #9f2d25; font-weight: 800; }
.mk-unavailable b { font-size: 1.7rem; line-height: 1; }
.mk-unavailable small { font-size: .88rem; }

.mk-slot-choice { display: block; }
.mk-slot-choice span {
	display: inline-flex;
	min-width: 190px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 11px 18px;
	border: 2px solid var(--blue);
	border-radius: 999px;
	background: #fff;
	color: var(--blue);
	font-weight: 800;
	cursor: pointer;
	transition: .18s ease;
}

.mk-slot-choice span:hover { background: #eaf4fd; }
.mk-slot-choice input { position: absolute; opacity: 0; }
.mk-slot-choice input:focus-visible + span { outline: 3px solid #f3b61f; outline-offset: 3px; }
.mk-slot-choice input:checked + span { background: var(--blue); color: #fff; }
.mk-slot-choice input:checked + span b { font-size: 0; }
.mk-slot-choice input:checked + span b::after { content: '●'; font-size: 1rem; }

.mk-customer {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 28px;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: 12px;
}

.mk-customer h2, .mk-customer .wide { grid-column: 1 / -1; }
.mk-customer label { font-weight: 800; }
.mk-customer input, .mk-customer select, .mk-customer textarea {
	display: block;
	width: 100%;
	margin-top: 7px;
	padding: 11px;
	border: 1px solid #adc2d2;
	border-radius: 7px;
	font: inherit;
}

.mk-submit, .mk-more {
	display: block;
	margin: 22px auto 0;
	padding: 14px 30px;
	border: 0;
	border-radius: 999px;
	background: var(--blue);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.mk-hp { position: absolute !important; left: -9999px !important; }

.mb-color-picker { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 12px; }
.mb-color-picker label { padding: 3px; border: 2px solid transparent; border-radius: 50%; cursor: pointer; }
.mb-color-picker label.is-selected { border-color: #1d2327; }
.mb-color-picker input { position: absolute; opacity: 0; }
.mb-color-picker label span { display: block; width: 24px; height: 24px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.mb-color-picker label.is-default { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 4px; border-radius: 999px; background: #f0f0f1; }
.mb-color-picker label.is-default em { color: #1d2327; font-size: 12px; font-style: normal; font-weight: 700; }
.mb-hours { max-width: 700px; }
.mb-hours input[type='time'] { width: 130px; }

@media (max-width: 700px) {
	.mk-booking-intro { padding: 24px 20px; }
	.mk-slots th, .mk-slots td { padding: 15px 12px; }
	.mk-slots thead th { font-size: .88rem; }
	.mk-slots thead th:first-child { width: 54%; }
	.mk-slots thead th:last-child { width: 46%; }
	.mk-slot-date { display: block; min-width: 0; font-size: .92rem; }
	.mk-slot-time { display: block; margin-top: 3px; font-size: 1.25rem; }
	.mk-slot-choice span { min-width: 0; width: 100%; padding: 10px 8px; font-size: .86rem; }
	.mk-unavailable small { display: none; }
	.mk-customer { grid-template-columns: 1fr; padding: 20px; }
	.mk-customer h2, .mk-customer .wide { grid-column: auto; }
	.mk-booking-complete { padding: 18px 0; }
	.mk-booking-success { padding: 38px 20px; }
}
