.gcbp-booking {
	--gcbp-border: #d8dee8;
	--gcbp-text: #172033;
	--gcbp-muted: #667085;
	--gcbp-surface: #ffffff;
	--gcbp-soft: #f6f8fb;
	--gcbp-primary: #0f766e;
	--gcbp-primary-dark: #115e59;
	--gcbp-danger: #b42318;
	--gcbp-success: #067647;
	box-sizing: border-box;
	max-width: 860px;
	margin: 24px auto;
	color: var(--gcbp-text);
	font-family: inherit;
}

.gcbp-booking *,
.gcbp-booking *::before,
.gcbp-booking *::after {
	box-sizing: inherit;
}

.gcbp-booking-form {
	padding: 24px;
	background: var(--gcbp-surface);
	border: 1px solid var(--gcbp-border);
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(23, 32, 51, 0.08);
}

.gcbp-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.gcbp-grid-single {
	grid-template-columns: minmax(0, 1fr);
}

.gcbp-field {
	display: grid;
	gap: 8px;
	min-width: 0;
	font-size: 14px;
	font-weight: 650;
	color: var(--gcbp-text);
}

.gcbp-field span {
	line-height: 1.3;
}

.gcbp-field input,
.gcbp-field select {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--gcbp-border);
	border-radius: 7px;
	background: #ffffff;
	color: var(--gcbp-text);
	font: inherit;
	font-weight: 500;
}

.gcbp-field input:focus,
.gcbp-field select:focus {
	border-color: var(--gcbp-primary);
	outline: 2px solid rgba(15, 118, 110, 0.16);
	outline-offset: 1px;
}

.gcbp-field select:disabled,
.gcbp-button:disabled {
	cursor: not-allowed;
	opacity: 0.58;
}

.gcbp-class-summary {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: center;
	margin: 18px 0;
	padding: 16px;
	background: var(--gcbp-soft);
	border: 1px solid var(--gcbp-border);
	border-radius: 8px;
}

.gcbp-class-summary strong {
	font-size: 17px;
	line-height: 1.35;
}

.gcbp-summary-description {
	margin-top: 4px;
	color: var(--gcbp-muted);
	font-size: 14px;
	line-height: 1.5;
}

.gcbp-price {
	display: grid;
	gap: 3px;
	text-align: right;
	white-space: nowrap;
}

.gcbp-price span {
	color: var(--gcbp-muted);
	font-size: 13px;
	font-weight: 650;
	text-transform: uppercase;
}

.gcbp-price strong {
	font-size: 20px;
}

.gcbp-booking-type {
	display: grid;
	gap: 12px;
	margin: 18px 0;
	padding: 16px;
	background: var(--gcbp-soft);
	border: 1px solid var(--gcbp-border);
	border-radius: 8px;
}

.gcbp-booking-type > span {
	font-size: 14px;
	font-weight: 750;
}

.gcbp-choice-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.gcbp-choice-row label {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 46px;
	padding: 10px 12px;
	background: #ffffff;
	border: 1px solid var(--gcbp-border);
	border-radius: 7px;
}

.gcbp-choice-row label.is-disabled {
	opacity: 0.55;
}

.gcbp-recurring-options {
	display: grid;
	gap: 12px;
}

.gcbp-recurring-note,
.gcbp-recurring-total,
.gcbp-recurring-start {
	color: var(--gcbp-muted);
	font-size: 14px;
	line-height: 1.45;
}

.gcbp-recurring-start {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.gcbp-recurring-start strong,
.gcbp-recurring-total {
	color: var(--gcbp-text);
	font-weight: 750;
}

.gcbp-schedule {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
	gap: 18px;
	margin: 18px 0 20px;
}

.gcbp-calendar,
.gcbp-times {
	min-width: 0;
	padding: 16px;
	background: #ffffff;
	border: 1px solid var(--gcbp-border);
	border-radius: 8px;
}

.gcbp-calendar-head {
	display: grid;
	grid-template-columns: 38px 1fr 38px;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.gcbp-calendar-head strong {
	text-align: center;
	font-size: 17px;
	line-height: 1.35;
}

.gcbp-icon-button {
	width: 38px;
	height: 38px;
	border: 1px solid var(--gcbp-border);
	border-radius: 7px;
	background: #ffffff;
	color: var(--gcbp-text);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.gcbp-icon-button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.gcbp-calendar-weekdays,
.gcbp-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px;
}

.gcbp-calendar-weekdays {
	margin-bottom: 6px;
	color: var(--gcbp-muted);
	font-size: 12px;
	font-weight: 750;
	text-align: center;
}

.gcbp-calendar-empty,
.gcbp-date-button {
	aspect-ratio: 1;
	min-width: 0;
	border-radius: 7px;
}

.gcbp-date-button {
	border: 1px solid transparent;
	background: #f1f5f9;
	color: #98a2b3;
	font: inherit;
	font-weight: 750;
	cursor: not-allowed;
}

.gcbp-date-button.is-available {
	border-color: rgba(15, 118, 110, 0.28);
	background: #ecfdf3;
	color: var(--gcbp-primary-dark);
	cursor: pointer;
}

.gcbp-date-button.is-available:hover,
.gcbp-date-button.is-available:focus,
.gcbp-date-button.is-selected {
	background: var(--gcbp-primary);
	color: #ffffff;
	outline: none;
}

.gcbp-times {
	display: grid;
	align-content: start;
	gap: 12px;
}

.gcbp-times > strong {
	font-size: 16px;
}

.gcbp-times-list {
	display: grid;
	gap: 10px;
}

.gcbp-times-list p {
	margin: 0;
	color: var(--gcbp-muted);
}

.gcbp-time-button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	padding: 10px 12px;
	border: 1px solid var(--gcbp-border);
	border-radius: 7px;
	background: #ffffff;
	color: var(--gcbp-text);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.gcbp-time-button span {
	color: var(--gcbp-muted);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.gcbp-time-button:hover,
.gcbp-time-button:focus,
.gcbp-time-button.is-selected {
	border-color: var(--gcbp-primary);
	background: #f0fdfa;
	outline: none;
}

.gcbp-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 20px;
}

.gcbp-button {
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 7px;
	background: var(--gcbp-primary);
	color: #ffffff;
	font: inherit;
	font-weight: 750;
	cursor: pointer;
	transition: background-color 0.16s ease, transform 0.16s ease;
}

.gcbp-button:not(:disabled):hover,
.gcbp-button:not(:disabled):focus {
	background: var(--gcbp-primary-dark);
	transform: translateY(-1px);
}

.gcbp-message {
	margin-bottom: 16px;
	padding: 13px 15px;
	border-radius: 7px;
	font-weight: 650;
	line-height: 1.45;
}

.gcbp-message-success {
	background: #ecfdf3;
	border: 1px solid #abefc6;
	color: var(--gcbp-success);
}

.gcbp-message-error {
	background: #fef3f2;
	border: 1px solid #fecdca;
	color: var(--gcbp-danger);
}

@media (max-width: 760px) {
	.gcbp-booking {
		margin: 16px 0;
	}

	.gcbp-booking-form {
		padding: 18px;
	}

	.gcbp-grid {
		grid-template-columns: 1fr;
	}

	.gcbp-choice-row {
		grid-template-columns: 1fr;
	}

	.gcbp-schedule {
		grid-template-columns: 1fr;
	}

	.gcbp-class-summary {
		align-items: flex-start;
		flex-direction: column;
	}

	.gcbp-price {
		text-align: left;
	}

	.gcbp-actions {
		justify-content: stretch;
	}

	.gcbp-button {
		width: 100%;
	}
}
