/* Booking form. Colours and type come from the brand plugin's tokens, with
   fallbacks so the form still looks deliberate if that plugin is disabled. */

.sl-booking__inner {
	max-width: 660px;
	margin: 0 auto;
}

.sl-booking__row {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

.sl-booking__row .sl-booking__field {
	flex: 1 1 220px;
}

.sl-booking__field {
	display: block;
	margin-bottom: 22px;
}

.sl-booking__field > span {
	display: block;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--text, #CBD8CD);
}

.sl-booking__field em {
	font-style: normal;
	color: var(--muted, #8B9C8E);
}

.sl-booking__field input,
.sl-booking__field textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--rule, rgba(153, 246, 174, 0.16));
	border-radius: 0;
	background: var(--void-3, #131C15);
	color: var(--text, #CBD8CD);
	font-family: var(--font-mono, ui-monospace, monospace);
	font-size: 15px;
	/* Makes the native date/time picker chrome render dark, so its icons stay
	   visible against the dark field. */
	color-scheme: dark;
}

/* Native date/time controls render at their own height, which leaves the two
   fields in a row visibly mismatched. Pin them all to the same box. */
.sl-booking__field input {
	height: 48px;
	padding: 0 14px;
	box-sizing: border-box;
}

.sl-booking__field input::placeholder,
.sl-booking__field textarea::placeholder {
	color: var(--muted, #8B9C8E);
}

.sl-booking__field input:focus,
.sl-booking__field textarea:focus {
	outline: 2px solid var(--neon, #99F6AE);
	outline-offset: 1px;
	border-color: var(--neon, #99F6AE);
}

.sl-booking__meta {
	font-size: 13px;
	color: var(--muted, #8B9C8E);
	margin: 0 0 22px;
	line-height: 1.7;
}

/* First-session note. Given a touch more weight than the meta line above it:
   it is the one thing a first-time booker needs to know before committing. */
.sl-booking__note {
	margin: 0 0 26px;
	padding: 16px 18px;
	border-left: 3px solid var(--neon, #99F6AE);
	background: rgba(153, 246, 174, 0.06);
	color: var(--text, #CBD8CD);
	font-size: 13px;
	line-height: 1.75;
}

.sl-booking__note strong {
	display: block;
	margin-bottom: 4px;
	color: var(--neon-bright, #A8FEC3);
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 11px;
}

.sl-booking__submit,
.sl-booking__pick {
	background: var(--neon, #99F6AE);
	color: var(--void, #050904);
	border: 0;
	border-radius: 0;
	min-height: 46px;
	padding: 0 26px;
	font-family: var(--font-mono, ui-monospace, monospace);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease-in-out;
}

.sl-booking__submit:hover:not(:disabled),
.sl-booking__pick:hover {
	background: var(--neon-bright, #A8FEC3);
}

.sl-booking__submit:disabled {
	opacity: 0.5;
	cursor: default;
}

/* Result panel */

.sl-booking__result {
	margin-top: 28px;
	padding: 24px;
	border: 1px solid var(--rule, rgba(153, 246, 174, 0.16));
	background: rgba(153, 246, 174, 0.05);
}

.sl-booking__result.is-success {
	border-color: var(--neon, #99F6AE);
	background: rgba(153, 246, 174, 0.11);
}

.sl-booking__result.is-error {
	border-color: #F2777A;
	background: rgba(242, 119, 122, 0.1);
}

.sl-booking__result p {
	margin: 0 0 18px;
	line-height: 1.7;
	color: var(--text, #CBD8CD);
}

.sl-booking__result p:last-child {
	margin-bottom: 0;
}

/* Suggested times */

.sl-booking__suggestions {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sl-booking__suggestion {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding: 16px 18px;
	background: var(--void-3, #131C15);
	border: 1px solid var(--rule, rgba(153, 246, 174, 0.16));
}

.sl-booking__suggestion-time {
	font-family: var(--font-display, 'Big Shoulders Display', sans-serif);
	font-weight: 800;
	font-size: 1.4rem;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.015em;
	color: var(--neon-bright, #A8FEC3);
}

.sl-booking__suggestion-away {
	font-size: 12px;
	color: var(--muted, #8B9C8E);
	letter-spacing: 0.06em;
}

@media (max-width: 480px) {
	.sl-booking__suggestion {
		flex-direction: column;
		align-items: flex-start;
	}

	.sl-booking__pick {
		width: 100%;
	}
}
