/* RTF booking form. Colours are tokens so the homepage design can override them. */
.rtf-form [hidden] { display: none !important; } /* layout classes below set display, which would otherwise override the hidden attribute */
.rtf-form {
	--rtf-ink: #1e2a2b;
	--rtf-muted: #5d6b6c;
	--rtf-line: #d6dcd9;
	--rtf-bg: #ffffff;
	--rtf-soft: #f3f5f2;
	--rtf-accent: #2f5d50;
	--rtf-accent-ink: #ffffff;
	--rtf-error: #b3261e;
	--rtf-ok: #1f6b3a;
	color: var(--rtf-ink);
	background: var(--rtf-bg);
	display: grid;
	gap: 20px;
	max-width: 860px;
	font-size: 16px;
}
@media (min-width: 900px) {
	.rtf-form { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
	.rtf-form .rtf-steps, .rtf-form .rtf-done { grid-column: 1 / -1; }
	.rtf-form .rtf-summary { grid-column: 2; grid-row: 2; position: sticky; top: 24px; }
}
.rtf-steps { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; counter-reset: s; font-size: 14px; }
.rtf-steps li { counter-increment: s; color: var(--rtf-muted); }
.rtf-steps li::before { content: counter(s) ". "; }
.rtf-steps li + li::before { content: "→  " counter(s) ". "; }
.rtf-steps li.is-current { color: var(--rtf-ink); font-weight: 600; }
.rtf-step { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.rtf-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.rtf-field { display: grid; gap: 6px; min-width: 0; }
.rtf-row > .rtf-field { grid-template-rows: 1fr; grid-auto-rows: auto; }
.rtf-row > .rtf-field > .rtf-label { align-self: end; }
.rtf-label { font-weight: 600; font-size: 14px; }
.rtf-hint { font-weight: 400; color: var(--rtf-muted); font-size: 13px; }
.rtf-label .rtf-hint { display: block; margin-top: 2px; }
.rtf-form input[type=text], .rtf-form input[type=email], .rtf-form input[type=tel], .rtf-form input[type=date],
.rtf-form input[type=time], .rtf-form input[type=number], .rtf-form textarea, .rtf-form select {
	width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--rtf-line);
	border-radius: 6px; font: inherit; color: inherit; background: var(--rtf-bg);
}
.rtf-form input:focus-visible, .rtf-form textarea:focus-visible, .rtf-form select:focus-visible, .rtf-btn:focus-visible { outline: 2px solid var(--rtf-accent); outline-offset: 2px; }
.rtf-segment { display: flex; flex-wrap: wrap; gap: 8px; }
.rtf-segment label { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--rtf-line); border-radius: 6px; cursor: pointer; }
.rtf-segment label:has(input:checked) { border-color: var(--rtf-accent); background: var(--rtf-soft); }
.rtf-vehicles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.rtf-vehicle { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--rtf-line); border-radius: 8px; cursor: pointer; position: relative; }
.rtf-vehicle input { position: absolute; opacity: 0; }
.rtf-vehicle:has(input:checked) { border-color: var(--rtf-accent); box-shadow: inset 0 0 0 1px var(--rtf-accent); background: var(--rtf-soft); }
.rtf-vehicle:has(input:focus-visible) { outline: 2px solid var(--rtf-accent); outline-offset: 2px; }
.rtf-vehicle-name { font-weight: 600; }
.rtf-vehicle-meta, .rtf-vehicle-note { font-size: 13px; color: var(--rtf-muted); }
.rtf-vehicle-price { font-variant-numeric: tabular-nums; font-weight: 600; }
.rtf-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.rtf-check { display: flex; gap: 8px; align-items: flex-start; }
.rtf-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.rtf-btn { appearance: none; border: 1px solid var(--rtf-accent); background: var(--rtf-accent); color: var(--rtf-accent-ink); padding: 12px 20px; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; justify-self: start; }
.rtf-btn[disabled] { opacity: .6; cursor: progress; }
.rtf-btn-ghost { background: transparent; color: var(--rtf-accent); }
.rtf-error { color: var(--rtf-error); font-size: 14px; margin: 0; min-height: 0; }
.rtf-error:empty { display: none; }
.rtf-summary { border: 1px solid var(--rtf-line); border-radius: 8px; padding: 16px; background: var(--rtf-soft); min-width: 0; }
.rtf-summary h3 { margin: 0 0 8px; font-size: 16px; }
.rtf-lines { width: 100%; border-collapse: collapse; font-size: 14px; }
.rtf-lines td { padding: 4px 0; vertical-align: top; }
.rtf-lines td:last-child, .rtf-totals dd { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rtf-totals { margin: 8px 0 0; border-top: 1px solid var(--rtf-line); padding-top: 8px; }
.rtf-totals div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.rtf-totals dt { margin: 0; }
.rtf-totals dd { margin: 0; font-weight: 600; }
.rtf-small { font-size: 13px; color: var(--rtf-muted); }
.rtf-waiting-title { margin: 10px 0 2px; }
.rtf-waiting { margin: 0; padding-left: 18px; }
.rtf-waiting li { margin: 2px 0; }
.rtf-notice { font-size: 14px; border-left: 3px solid #b7791f; padding-left: 10px; }
.rtf-ok { font-size: 14px; border-left: 3px solid var(--rtf-ok); padding-left: 10px; }
.rtf-done { padding: 16px; border: 1px solid var(--rtf-ok); border-radius: 8px; }
.rtf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rtf-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .rtf-form * { scroll-behavior: auto !important; } }
/* 0.4.0: special items, request state */
.rtf-sublabel { margin-top: 10px; font-weight: 500; }
.rtf-done.is-request { border-color: #b7791f; }
.rtf-done-title { margin: 0 0 6px; font-size: 18px; }
.rtf-done-text { margin: 0; }
.rtf-pickup-calc { margin: 0; padding: 10px 12px; border-left: 3px solid var(--rtf-accent); background: var(--rtf-bg); font-size: 15px; }
.rtf-pickup-line { margin: 0 0 10px; font-size: 14px; }

/* Sightseeing stops (0.6.0) */
.rtf-stops .rtf-stop-meta{color:#646970;font-size:.9em;white-space:nowrap}
.rtf-stops input:disabled + *, .rtf-stops label:has(input:disabled){opacity:.55}
.rtf-stops-time{margin:0 0 8px;font-size:.92em;color:#3c434a}
.rtf-field-narrow { max-width: 220px; }
/* 0.8.0: price summary spacing (ids beat the page theme's heading and paragraph rules) */
#rtf-form .rtf-summary h3 { margin: 0 0 14px; }
#rtf-form .rtf-pickup-line { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rtf-line); }
#rtf-form .rtf-lines td { padding: 6px 0; vertical-align: top; line-height: 1.35; }
#rtf-form .rtf-lines td:last-child { padding-left: 16px; text-align: right; white-space: nowrap; }
/* Step 1 can be reopened from step 2 */
.rtf-step-link { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rtf-step-link:disabled { cursor: default; text-decoration: none; }
.rtf-step-link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

#rtf-form .rtf-summary .rtf-small { margin: 12px 0 0; }
#rtf-form .rtf-summary .rtf-waiting { margin: 4px 0 0; padding-left: 18px; }
#rtf-form .rtf-summary .rtf-reasons > p { margin: 12px 0 0; }
