@font-face {
	font-family: "GBM Number Plate";
	src: url("../fonts/UKNumberPlate.ttf") format("truetype");
	font-display: swap;
}

.gbm-booking-widget {
	--gbm-border: #e5e7eb;
	--gbm-muted: #6b7280;
	--gbm-surface: #f8fafc;
	--gbm-selected: var(--sgs-red, var(--wp--preset--color--primary, #0b72b9));
	--gbm-selected-dark: var(--sgs-red-dark, #075f9d);
	--gbm-text: #1f2937;
	--gbm-focus: #111827;
	background: #fff;
	border: 1px solid var(--gbm-border);
	box-shadow: 0 12px 28px rgb(17 24 39 / 16%);
	box-sizing: border-box;
	color: var(--gbm-text);
	container-type: inline-size;
	font-size: 0.95rem;
	margin-inline: auto;
	max-width: 100%;
	width: 100%;
}

.gbm-booking-widget *,
.gbm-booking-widget *::before,
.gbm-booking-widget *::after {
	box-sizing: border-box;
}

.gbm-booking-widget__header {
	align-items: center;
	background: var(--gbm-selected);
	border-bottom: 0;
	display: flex;
	gap: 0.75rem;
	padding: 1rem 1.1rem 0.95rem;
}

.gbm-booking-widget__title {
	color: #fff;
	display: block;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.gbm-booking-widget__icon {
	align-items: center;
	background: rgb(255 255 255 / 16%);
	border: 1px solid rgb(255 255 255 / 34%);
	color: #fff;
	display: inline-flex;
	flex: 0 0 2.25rem;
	height: 2.25rem;
	justify-content: center;
	position: relative;
	width: 2.25rem;
}

.gbm-booking-widget__icon::before {
	border: 2px solid currentColor;
	content: "";
	height: 1.12rem;
	width: 1.2rem;
}

.gbm-booking-widget__icon::after {
	background: currentColor;
	box-shadow: 0.38rem 0 0 currentColor, -0.38rem 0 0 currentColor;
	content: "";
	height: 0.16rem;
	position: absolute;
	top: 0.82rem;
	width: 0.16rem;
}

.gbm-booking-app {
	background: #fff;
	box-sizing: border-box;
	color: var(--gbm-text);
	display: flex;
	flex-direction: column;
	font-size: inherit;
	max-width: none;
	min-height: 440px;
	overflow: visible;
	padding: 1rem 1.1rem 1.15rem;
	width: 100%;
}

.gbm-booking-app *,
.gbm-booking-app *::before,
.gbm-booking-app *::after {
	box-sizing: border-box;
}

.gbm-booking-app [hidden] {
	display: none !important;
}

.gbm-screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.gbm-stepper {
	align-items: center;
	border-bottom: 1px solid var(--gbm-border);
	display: grid;
	gap: 0.35rem;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	flex: 0 0 auto;
	margin: 0 0 1rem;
	padding-bottom: 0.9rem;
	padding-left: 0;
}

.gbm-step {
	align-items: center;
	border: 1px solid transparent;
	color: var(--gbm-muted);
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 600;
	gap: 0.45rem;
	justify-content: center;
	list-style: none;
	min-width: 0;
	padding: 0.38rem 0.44rem;
	position: relative;
	transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.gbm-step b {
	align-items: center;
	background: var(--gbm-surface);
	border: 1px solid var(--gbm-border);
	display: inline-flex;
	flex: 0 0 auto;
	height: 1.55rem;
	justify-content: center;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
	width: 1.55rem;
}

.gbm-booking-app.is-vehicle-stage .gbm-step-vehicle,
.gbm-booking-app.is-service-stage .gbm-step-service,
.gbm-booking-app.is-calendar-stage .gbm-step-calendar,
.gbm-booking-app.is-form-stage .gbm-step-form,
.gbm-booking-app.is-confirmation-stage .gbm-step-confirmation {
	background: var(--gbm-selected);
	border-color: var(--gbm-selected);
	box-shadow: 0 8px 18px rgb(17 24 39 / 16%);
	color: #fff;
	transform: translateY(-1px);
}

.gbm-booking-app.is-vehicle-stage .gbm-step-vehicle b,
.gbm-booking-app.is-service-stage .gbm-step-service b,
.gbm-booking-app.is-calendar-stage .gbm-step-calendar b,
.gbm-booking-app.is-form-stage .gbm-step-form b,
.gbm-booking-app.is-confirmation-stage .gbm-step-confirmation b {
	background: rgb(255 255 255 / 18%);
	border-color: rgb(255 255 255 / 42%);
	color: currentColor;
	transform: scale(1.04);
}

.gbm-booking-app.is-form-stage .gbm-step-calendar,
.gbm-booking-app.is-confirmation-stage .gbm-step-calendar,
.gbm-booking-app.is-confirmation-stage .gbm-step-form,
.gbm-booking-app.is-service-stage .gbm-step-vehicle,
.gbm-booking-app.is-calendar-stage .gbm-step-service,
.gbm-booking-app.is-calendar-stage .gbm-step-vehicle,
.gbm-booking-app.is-form-stage .gbm-step-service,
.gbm-booking-app.is-form-stage .gbm-step-vehicle,
.gbm-booking-app.is-confirmation-stage .gbm-step-vehicle,
.gbm-booking-app.is-confirmation-stage .gbm-step-service {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	color: var(--gbm-muted);
	transform: none;
}

.gbm-booking-app.is-form-stage .gbm-step-calendar b,
.gbm-booking-app.is-confirmation-stage .gbm-step-calendar b,
.gbm-booking-app.is-confirmation-stage .gbm-step-form b,
.gbm-booking-app.is-service-stage .gbm-step-vehicle b,
.gbm-booking-app.is-calendar-stage .gbm-step-service b,
.gbm-booking-app.is-calendar-stage .gbm-step-vehicle b,
.gbm-booking-app.is-form-stage .gbm-step-service b,
.gbm-booking-app.is-form-stage .gbm-step-vehicle b,
.gbm-booking-app.is-confirmation-stage .gbm-step-vehicle b,
.gbm-booking-app.is-confirmation-stage .gbm-step-service b {
	background: var(--gbm-surface);
	border-color: var(--gbm-border);
	color: var(--gbm-muted);
}

.gbm-booking-status {
	background: var(--gbm-surface);
	border: 1px solid var(--gbm-border);
	border-left: 4px solid var(--gbm-selected);
	flex: 0 0 auto;
	margin: 0 0 1rem;
	padding: 0.65rem 0.8rem;
}

.gbm-booking-status[hidden] {
	display: none;
}

.gbm-notice-success {
	background: #f0fdf4;
	border-left-color: #00a32a;
}

.gbm-notice-error {
	background: #fef2f2;
	border-left-color: #d63638;
}

.gbm-stage,
.gbm-booking-form,
.gbm-confirmation-panel {
	flex: 0 1 auto;
	margin-block: 0.75rem 0;
	min-height: 0;
	overflow: visible;
}

.gbm-vehicle-panel h3,
.gbm-service-panel h3 {
	font-size: 1.05rem;
	margin: 0 0 0.55rem;
}

.gbm-stage-help {
	color: var(--gbm-muted);
	font-size: 0.9rem;
	line-height: 1.4;
	margin: 0 0 0.8rem;
}

.gbm-vehicle-panel {
	align-self: center;
	max-width: 34rem;
	text-align: center;
	width: min(100%, 34rem);
}

.gbm-vehicle-panel p {
	margin: 0 0 0.8rem;
}

.gbm-vehicle-panel p:has(.gbm-number-plate-input) {
	align-items: center;
	display: flex;
	flex-direction: column;
}

.gbm-vehicle-panel label {
	display: block;
	font-size: 0.86rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.gbm-number-plate-input {
	background: #ffd429;
	border: 2px solid #111827;
	border-radius: 0.38rem;
	box-shadow: inset 0 0 0 2px rgb(255 255 255 / 32%), 0 2px 0 rgb(17 24 39 / 20%);
	color: #111827;
	font-family: "GBM Number Plate", "Charles Wright", "UKNumberPlate", "Mandatory", "Arial Black", sans-serif;
	font-size: 2.65rem;
	font-weight: 900;
	height: 4.2rem;
	line-height: 1;
	max-width: 18rem;
	padding: 0.35rem 0.9rem 0.2rem;
	text-align: center;
	text-transform: uppercase;
}

.gbm-vehicle-result {
	background: var(--gbm-surface);
	border: 1px solid var(--gbm-border);
	margin: 0.9rem auto 0;
	max-width: 24rem;
	padding: 0.75rem 0.85rem;
	text-align: left;
}

.gbm-vehicle-result strong {
	display: block;
	font-size: 0.95rem;
	margin-bottom: 0.55rem;
	text-align: center;
}

.gbm-vehicle-result dl {
	display: grid;
	gap: 0.35rem 0.75rem;
	grid-template-columns: max-content minmax(0, 1fr);
	margin: 0;
}

.gbm-vehicle-result dt {
	color: var(--gbm-muted);
	font-size: 0.82rem;
	font-weight: 700;
}

.gbm-vehicle-result dd {
	font-size: 0.88rem;
	font-weight: 700;
	margin: 0;
}

.gbm-service-options {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(auto-fit, minmax(9.8rem, 1fr));
}

.gbm-service-options.is-advanced-matrix {
	display: block;
	min-width: 0;
}

.gbm-service-button {
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--gbm-border);
	color: inherit;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font: inherit;
	gap: 0.28rem;
	justify-content: center;
	min-height: 3.85rem;
	padding: 0.58rem 0.68rem;
	text-align: left;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
	width: 100%;
}

.gbm-icon {
	color: var(--gbm-selected);
	flex: 0 0 auto;
	height: 1.25rem;
	width: 1.25rem;
}

.gbm-service-button:hover,
.gbm-service-button:focus-visible {
	background: #fff3f2;
	border-color: var(--gbm-selected);
	transform: translateY(-1px);
}

.gbm-service-button span {
	flex: 1 1 auto;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	min-width: 0;
}

.gbm-service-button small {
	color: var(--gbm-muted);
	flex: 0 0 auto;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.2;
	margin-top: 0.08rem;
	white-space: nowrap;
}

.gbm-service-button .gbm-mot-discount {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	white-space: normal;
}

.gbm-mot-discount s {
	color: var(--gbm-muted);
	font-weight: 800;
	text-decoration-thickness: 2px;
}

.gbm-mot-discount mark {
	background: #dcfce7;
	color: #166534;
	font-weight: 900;
	padding: 0.08rem 0.28rem;
}

.gbm-service-button.is-selected {
	background: var(--gbm-selected);
	border-color: var(--gbm-selected);
	color: #fff;
	transform: none;
}

.gbm-service-button.is-selected .gbm-icon {
	color: currentColor;
}

.gbm-service-button.is-selected small {
	color: currentColor;
}

.gbm-detected-engine {
	background: var(--gbm-surface);
	border: 1px solid var(--gbm-border);
	font-size: 0.92rem;
	font-weight: 800;
	margin: 0 0 0.75rem;
	padding: 0.58rem 0.68rem;
}

.gbm-detected-engine small {
	color: var(--gbm-muted);
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.25;
	margin-top: 0.18rem;
}

.gbm-matrix-wrap {
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
}

.gbm-service-matrix {
	border-collapse: collapse;
	font-size: 0.88rem;
	min-width: 32rem;
	table-layout: fixed;
	width: 100%;
}

.gbm-service-matrix th,
.gbm-service-matrix td {
	border: 1px solid var(--gbm-border);
	padding: 0.5rem 0.52rem;
	text-align: center;
	vertical-align: middle;
}

.gbm-service-matrix th:first-child {
	text-align: left;
}

.gbm-matrix-item-label {
	align-items: center;
	display: inline-flex;
	gap: 0.48rem;
	line-height: 1.25;
	transition: opacity 0.18s ease;
}

.gbm-matrix-item-label .gbm-icon {
	background: #fff3f2;
	border: 1px solid #f4c6c1;
	box-sizing: border-box;
	height: 1.65rem;
	padding: 0.26rem;
	width: 1.65rem;
}

.gbm-service-matrix tbody th.is-matrix-row-muted .gbm-matrix-item-label {
	opacity: 0.5;
}

.gbm-service-matrix thead th {
	background: var(--gbm-surface);
	font-weight: 800;
	overflow-wrap: anywhere;
}

.gbm-service-matrix thead small {
	color: var(--gbm-muted);
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	margin-top: 0.15rem;
}

.gbm-service-matrix .gbm-mot-discount {
	line-height: 1.25;
}

.gbm-service-matrix .gbm-mot-discount mark {
	display: inline-block;
	margin-top: 0.1rem;
}

.gbm-service-matrix th[data-gbm-matrix-level],
.gbm-service-matrix td[data-gbm-matrix-level] {
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.gbm-service-matrix th.is-column-hovered,
.gbm-service-matrix td.is-column-hovered {
	background: #fff3f2;
}

.gbm-service-matrix thead th.is-column-hovered {
	background: #ffe7e4;
	box-shadow: inset 0 3px 0 var(--gbm-selected);
}

.gbm-service-matrix tfoot td.is-column-hovered {
	background: #fff3f2;
	box-shadow: inset 0 -3px 0 var(--gbm-selected);
}

.gbm-service-matrix tfoot td {
	background: #fff;
	padding: 0.45rem;
}

.gbm-service-matrix tfoot .gbm-service-button {
	align-items: center;
	background: var(--gbm-selected);
	border-color: var(--gbm-selected);
	color: #fff;
	min-height: 2.55rem;
	padding: 0.48rem;
	text-align: center;
}

.gbm-service-matrix tfoot .gbm-service-button:hover,
.gbm-service-matrix tfoot .gbm-service-button:focus-visible {
	background: var(--gbm-selected-dark);
	border-color: var(--gbm-selected-dark);
	color: #fff;
	transform: none;
}

.gbm-service-matrix tfoot .gbm-service-button span {
	flex: 0 0 auto;
	font-size: 0.86rem;
	overflow-wrap: anywhere;
	width: 100%;
}

.gbm-service-matrix tfoot .gbm-service-button small {
	font-size: 0.72rem;
	white-space: normal;
}

.gbm-matrix-tick {
	align-items: center;
	background: #15803d;
	border-radius: 50%;
	display: inline-flex;
	height: 1.35rem;
	justify-content: center;
	width: 1.35rem;
}

.gbm-matrix-tick::before {
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: "";
	height: 0.62rem;
	transform: rotate(45deg) translate(-1px, -1px);
	width: 0.32rem;
}

.gbm-matrix-cards {
	display: none;
}

.gbm-matrix-card {
	background: #fff;
	border: 1px solid var(--gbm-border);
	padding: 0.72rem;
}

.gbm-matrix-card + .gbm-matrix-card {
	margin-top: 0.65rem;
}

.gbm-matrix-card.is-selected {
	border-color: var(--gbm-selected);
	box-shadow: 0 0 0 1px var(--gbm-selected);
}

.gbm-matrix-card header {
	align-items: flex-start;
	display: flex;
	gap: 0.55rem;
	margin-bottom: 0.55rem;
}

.gbm-matrix-card header strong {
	display: block;
	font-size: 1rem;
	line-height: 1.2;
}

.gbm-matrix-card header small {
	color: var(--gbm-muted);
	display: block;
	font-size: 0.82rem;
	font-weight: 800;
	margin-top: 0.12rem;
}

.gbm-matrix-card ul {
	display: grid;
	gap: 0.38rem;
	list-style: none;
	margin: 0 0 0.65rem;
	padding: 0;
}

.gbm-matrix-card li {
	align-items: center;
	display: flex;
	font-size: 0.88rem;
	gap: 0.5rem;
	line-height: 1.25;
}

.gbm-matrix-card li .gbm-icon {
	background: #fff3f2;
	border: 1px solid #f4c6c1;
	box-sizing: border-box;
	height: 1.55rem;
	padding: 0.25rem;
	width: 1.55rem;
}

.gbm-matrix-card .gbm-matrix-select {
	align-items: center;
	background: var(--gbm-selected);
	border-color: var(--gbm-selected);
	box-shadow: 0 0.45rem 1rem rgba(127, 29, 29, 0.18);
	color: #fff;
	flex-direction: row;
	gap: 0.55rem;
	justify-content: center;
	min-height: 3.2rem;
	padding: 0.7rem 0.85rem;
	text-align: center;
}

.gbm-matrix-card .gbm-matrix-select:hover,
.gbm-matrix-card .gbm-matrix-select:focus-visible {
	background: var(--gbm-selected-dark);
	border-color: var(--gbm-selected-dark);
	color: #fff;
}

.gbm-matrix-card .gbm-matrix-select .gbm-icon,
.gbm-matrix-card .gbm-matrix-select small {
	color: currentColor;
}

.gbm-matrix-card .gbm-matrix-select span {
	flex: 0 1 auto;
}

.gbm-link-button {
	background: transparent;
	border: 0;
	color: var(--gbm-selected);
	cursor: pointer;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 700;
	padding: 0;
	text-decoration: underline;
}

.gbm-date-time-panel {
	display: grid;
	gap: 0.85rem;
	grid-template-columns: minmax(0, 1.25fr) minmax(170px, 0.75fr);
	overflow: visible;
}

.gbm-stage-actions {
	align-items: center;
	display: flex;
	gap: 0.75rem;
	grid-column: 1 / -1;
	justify-content: space-between;
	margin-bottom: 0.15rem;
}

.gbm-selected-service-summary {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.55rem;
	min-width: 0;
}

.gbm-selected-service-summary span {
	color: var(--gbm-muted);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.gbm-selected-service-summary strong {
	color: var(--gbm-text);
	font-size: 1rem;
	font-weight: 900;
}

.gbm-selected-service-summary small {
	color: var(--gbm-selected);
	font-size: 0.92rem;
	font-weight: 900;
}

.gbm-calendar-panel,
.gbm-slots-panel {
	min-height: 0;
	overflow: visible;
}

.gbm-availability-loading {
	align-items: center;
	background: var(--gbm-surface);
	border: 1px solid var(--gbm-border);
	display: flex;
	font-size: 0.9rem;
	font-weight: 700;
	gap: 0.55rem;
	grid-column: 1 / -1;
	justify-content: center;
	min-height: 2.7rem;
	padding: 0.65rem 0.8rem;
}

.gbm-spinner {
	animation: gbm-spin 0.8s linear infinite;
	border: 2px solid rgb(31 41 55 / 20%);
	border-top-color: var(--gbm-selected);
	border-radius: 50%;
	display: inline-block;
	height: 1.1rem;
	width: 1.1rem;
}

@keyframes gbm-spin {
	to {
		transform: rotate(360deg);
	}
}

.gbm-calendar-header {
	align-items: center;
	display: flex;
	gap: 0.5rem;
	justify-content: space-between;
	margin-bottom: 0.6rem;
}

.gbm-calendar-header h2,
.gbm-slots-panel h3 {
	font-size: 1.05rem;
	line-height: 1.25;
	margin: 0;
}

.gbm-month-nav,
.gbm-calendar-day,
.gbm-slot-button,
.gbm-vehicle-panel button,
.gbm-booking-form button {
	border: 1px solid var(--gbm-border);
	cursor: pointer;
	font: inherit;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.gbm-month-nav {
	align-items: center;
	aspect-ratio: 1;
	background: transparent;
	display: inline-flex;
	font-size: 1.2rem;
	justify-content: center;
	line-height: 1;
	min-width: 1.9rem;
}

.gbm-booking-app button:focus-visible,
.gbm-booking-app input:focus-visible,
.gbm-booking-app textarea:focus-visible {
	border-color: var(--gbm-focus);
	box-shadow: 0 0 0 3px rgb(17 24 39 / 18%);
	outline: 2px solid transparent;
	outline-offset: 2px;
}

.gbm-month-nav:hover,
.gbm-month-nav:focus-visible {
	background: #fff3f2;
	border-color: var(--gbm-selected);
}

.gbm-weekdays,
.gbm-calendar-grid {
	display: grid;
	gap: 0.18rem;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.gbm-weekdays {
	color: var(--gbm-muted);
	font-size: 0.7rem;
	margin-bottom: 0.3rem;
	text-align: center;
}

.gbm-calendar-day,
.gbm-calendar-spacer {
	aspect-ratio: 1.25;
	min-width: 0;
}

.gbm-calendar-day {
	background: #fff;
	border-radius: 0;
	color: inherit;
	display: flex;
	flex-direction: column;
	gap: 0.03rem;
	justify-content: center;
	font-size: 0.82rem;
	min-height: 1.9rem;
	padding: 0.1rem;
	text-align: center;
}

.gbm-calendar-day small {
	color: var(--gbm-muted);
	font-size: 0.54rem;
	line-height: 1;
}

.gbm-calendar-day:disabled {
	cursor: not-allowed;
	opacity: 0.35;
	transform: none;
}

.gbm-calendar-day.is-available {
	background: #fff;
}

.gbm-calendar-day.is-available:hover,
.gbm-calendar-day.is-available:focus-visible {
	background: #fff3f2;
	border-color: var(--gbm-selected);
	transform: translateY(-1px);
}

.gbm-calendar-day.is-selected,
.gbm-slot-button.is-selected {
	background: var(--gbm-selected);
	border-color: var(--gbm-selected);
	color: #fff;
	transform: none;
}

.gbm-calendar-day.is-selected small {
	color: currentColor;
}

.gbm-slots {
	display: grid;
	gap: 0.35rem;
	margin-top: 0.65rem;
}

.gbm-slot-button {
	align-items: center;
	background: #fff;
	color: inherit;
	display: flex;
	font-size: 0.88rem;
	justify-content: space-between;
	padding: 0.45rem 0.65rem;
	width: 100%;
}

.gbm-slot-button:not(:disabled):hover,
.gbm-slot-button:not(:disabled):focus-visible {
	background: #fff3f2;
	border-color: var(--gbm-selected);
	transform: translateY(-1px);
}

.gbm-slot-button small {
	color: var(--gbm-muted);
	font-size: 0.72rem;
	margin-left: 0.5rem;
}

.gbm-slot-button.is-selected small {
	color: currentColor;
}

.gbm-slot-button:disabled {
	cursor: not-allowed;
	opacity: 0.35;
	transform: none;
}

.gbm-form-grid {
	display: grid;
	gap: 0.65rem 0.75rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gbm-booking-form p {
	margin: 0;
}

.gbm-booking-summary {
	background: var(--gbm-surface);
	border: 1px solid var(--gbm-border);
	font-size: 0.92rem;
	font-weight: 600;
	margin-bottom: 0.7rem;
	padding: 0.55rem 0.7rem;
}

.gbm-booking-form label {
	display: block;
	font-size: 0.86rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.gbm-booking-form label span {
	color: var(--gbm-muted);
	font-size: 0.85em;
	font-weight: 400;
}

.gbm-field-help {
	color: var(--gbm-muted);
	display: block;
	font-size: 0.78rem;
	line-height: 1.35;
	margin-top: 0.3rem;
	white-space: pre-line;
}

.gbm-field-help:empty {
	display: none;
}

.gbm-vehicle-panel input,
.gbm-booking-form input,
.gbm-booking-form select,
.gbm-booking-form textarea {
	background: #fff;
	border: 1px solid var(--gbm-border);
	box-sizing: border-box;
	color: inherit;
	font: inherit;
	padding: 0.46rem 0.55rem;
	width: 100%;
}

.gbm-vehicle-panel input.gbm-number-plate-input {
	background: #ffd429;
	border-color: #111827;
	color: #111827;
	font: 900 2.65rem / 1 "GBM Number Plate", "Charles Wright", "UKNumberPlate", "Mandatory", "Arial Black", sans-serif;
	height: 4.2rem;
	max-width: 18rem;
	padding: 0.35rem 0.9rem 0.2rem;
	text-align: center;
}

.gbm-checkbox-field label {
	align-items: flex-start;
	display: flex;
	gap: 0.45rem;
}

.gbm-checkbox-field input {
	flex: 0 0 auto;
	margin-top: 0.15rem;
	width: auto;
}

.gbm-vehicle-panel button[type="submit"],
.gbm-booking-form button[type="submit"] {
	background: var(--gbm-selected);
	border-color: var(--gbm-selected);
	color: #fff;
	margin-top: 0.85rem;
	padding: 0.6rem 0.9rem;
}

.gbm-vehicle-panel button[type="submit"]:hover,
.gbm-vehicle-panel button[type="submit"]:focus-visible,
.gbm-booking-form button[type="submit"]:hover,
.gbm-booking-form button[type="submit"]:focus-visible {
	background: var(--gbm-selected-dark);
	border-color: var(--gbm-selected-dark);
}

.gbm-secondary-button {
	background: #fff;
	color: inherit;
	margin-right: 0.5rem;
	margin-top: 0.85rem;
	padding: 0.6rem 0.9rem;
}

.gbm-secondary-button:hover,
.gbm-secondary-button:focus-visible {
	background: #fff3f2;
	border-color: var(--gbm-selected);
}

.gbm-confirmation-panel {
	border-left: 4px solid #00a32a;
	background: #f0fdf4;
	min-height: 18rem;
	padding: 0.9rem;
}

.gbm-confirmation-message {
	font-weight: 600;
	margin-bottom: 1rem;
	white-space: pre-line;
}

.gbm-confirmation-details {
	display: grid;
	gap: 0.4rem 1rem;
	grid-template-columns: max-content minmax(0, 1fr);
	margin: 0 0 1rem;
}

.gbm-confirmation-details dt {
	font-weight: 600;
}

.gbm-confirmation-details dd {
	margin: 0;
}

.gbm-confirmation-panel button,
.gbm-add-calendar-button {
	background: #fff;
	border: 1px solid var(--gbm-border);
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font: inherit;
	padding: 0.7rem 1rem;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.gbm-confirmation-panel button:hover,
.gbm-confirmation-panel button:focus-visible,
.gbm-add-calendar-button:hover,
.gbm-add-calendar-button:focus-visible {
	background: #fff3f2;
	border-color: var(--gbm-selected);
	color: inherit;
	text-decoration: none;
}

.gbm-add-calendar-button {
	background: var(--gbm-selected);
	border-color: var(--gbm-selected);
	color: #fff;
	font-weight: 600;
	margin-top: 0.2rem;
}

.gbm-add-calendar-button:hover,
.gbm-add-calendar-button:focus-visible {
	background: var(--gbm-selected-dark);
	border-color: var(--gbm-selected-dark);
	color: #fff;
}

@container (max-width: 600px) {
	.gbm-booking-app {
		min-height: 0;
		padding: 0.75rem;
	}

	.gbm-booking-widget__header {
		padding: 0.85rem 0.75rem;
	}

	.gbm-booking-widget__title {
		font-size: 1.08rem;
	}

	.gbm-step {
		font-size: 0.75rem;
	}

	.gbm-step span {
		display: none;
	}

	.gbm-service-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gbm-service-button {
		min-height: 3.7rem;
		padding: 0.56rem 0.58rem;
	}

	.gbm-service-button small {
		font-size: 0.82rem;
	}

	.gbm-service-options.is-advanced-matrix {
		display: block;
	}

	.gbm-matrix-wrap {
		display: none;
	}

	.gbm-matrix-cards {
		display: block;
	}

	.gbm-form-grid {
		grid-template-columns: 1fr;
	}

	.gbm-date-time-panel {
		grid-template-columns: 1fr;
		overflow: visible;
	}

	.gbm-stage,
	.gbm-booking-form,
	.gbm-confirmation-panel {
		min-height: 0;
	}

	.gbm-confirmation-details {
		grid-template-columns: 1fr;
	}

	.gbm-weekdays,
	.gbm-calendar-grid {
		gap: 0.18rem;
	}

	.gbm-calendar-day {
		font-size: 0.78rem;
		min-height: 1.75rem;
		padding: 0.1rem;
	}
}

@container (max-width: 340px) {
	.gbm-service-options {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.gbm-booking-app {
		min-height: 0;
		padding: 0.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gbm-step,
	.gbm-step b {
		transition: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gbm-booking-app button {
		transition-duration: 0.01ms;
	}

	.gbm-service-button:hover,
	.gbm-service-button:focus-visible,
	.gbm-calendar-day.is-available:hover,
	.gbm-calendar-day.is-available:focus-visible,
	.gbm-slot-button:not(:disabled):hover,
	.gbm-slot-button:not(:disabled):focus-visible {
		transform: none;
	}
}
