/* FTF Booking — slot picker. Shares the form styling from FTF Forms. */

.ftf-booking__legend {
	display: block;
	margin-block-end: 0.4rem;
	font-size: var(--wp--preset--font-size--x-small, 0.8125rem);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--muted, #B4B6BD);
}

.ftf-booking__slots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ftf-booking__hint {
	margin: 0;
	font-size: var(--wp--preset--font-size--small, 0.9375rem);
	color: var(--wp--preset--color--muted, #B4B6BD);
}

/* The radio itself is visually hidden; its label is the clickable pill. */
.ftf-booking__radio {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.ftf-booking__slot {
	display: inline-block;
	margin: 0;
	padding: 0.6rem 1rem;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: var(--wp--preset--font-size--small, 0.9375rem);
	letter-spacing: 0.06em;
	text-transform: none;
	color: var(--wp--preset--color--contrast, #F5F6F7);
	background: var(--wp--preset--color--surface-raised, #26262C);
	border: 1px solid var(--wp--preset--color--line, #3A3A42);
	border-radius: 10px;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ftf-booking__slot:hover {
	border-color: var(--wp--preset--color--accent, #BE1622);
}

.ftf-booking__radio:checked + .ftf-booking__slot {
	background: var(--wp--preset--color--accent, #BE1622);
	border-color: var(--wp--preset--color--accent, #BE1622);
	color: var(--wp--preset--color--accent-ink, #F5F6F7);
}

.ftf-booking__radio:focus-visible + .ftf-booking__slot {
	outline: 2px solid var(--wp--preset--color--accent, #BE1622);
	outline-offset: 3px;
}
