/* Booking widget. Uses the theme's colour tokens when present. */
.tsc-booking {
	--tsc-river: var(--river, #1f9bff);
	--tsc-river-deep: var(--river-deep, #1c7cf5);
	--tsc-sun: var(--sun, #fee38a);
	--tsc-ink: var(--ink, #12304f);
	max-width: 28rem;
}

.tsc-cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}

.tsc-cal__head button {
	border: 0;
	background: var(--tsc-sun);
	border-radius: 999px;
	width: 2.25rem;
	height: 2.25rem;
	font-size: 1.1rem;
	cursor: pointer;
}

.tsc-cal__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0.25rem;
	text-align: center;
}

.tsc-cal__dow {
	font-size: 0.8rem;
	font-weight: 600;
	opacity: 0.7;
}

.tsc-cal__day {
	border: 0;
	border-radius: 0.5rem;
	padding: 0.55rem 0;
	background: #eaf5ff;
	color: var(--tsc-ink);
	font: inherit;
	cursor: pointer;
}

.tsc-cal__day:disabled {
	background: transparent;
	color: rgb(18 48 79 / 35%);
	text-decoration: line-through;
	cursor: not-allowed;
}

.tsc-cal__day[aria-pressed="true"] {
	background: var(--tsc-river-deep);
	color: #fff;
}

.tsc-cal__day.is-between {
	background: var(--tsc-river);
	color: #fff;
}

.tsc-booking__form input:not([type="checkbox"]),
.tsc-booking__form textarea {
	display: block;
	width: 100%;
	padding: 0.55rem 0.75rem;
	border: 1px solid rgb(18 48 79 / 30%);
	border-radius: 0.5rem;
	font: inherit;
}

.tsc-booking__hp {
	position: absolute;
	left: -9999px;
}

.tsc-booking__summary {
	font-weight: 600;
}

.tsc-booking__error {
	color: #b00020;
	font-weight: 600;
}

.tsc-booking__small {
	font-size: 0.85rem;
	opacity: 0.75;
}
