/* booking.css - the /calendar/ booking widget (sits in the hero banner's white form card). */
#booking { text-align: left; }
#booking [hidden] { display: none !important; }

#booking .bk-step {
	margin: 0 0 0.6em;
	font-weight: 700;
	color: var(--headings-color, #0c063f);
}
#booking .bk-tz {
	font-weight: 400;
	font-size: 0.85em;
	color: #666;
}

#booking .bk-days {
	display: flex;
	gap: 0.5em;
	overflow-x: auto;
	padding: 2px 2px 0.75em;
	margin: 0 0 1.25em;
}
#booking .bk-times {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(6.5em, 1fr));
	gap: 0.5em;
	margin: 0 0 1.5em;
}
#booking .bk-day,
#booking .bk-time {
	font: inherit;
	line-height: 1.3;
	cursor: pointer;
	background: #fff;
	color: var(--text-color, #2c284b);
	border: 1px solid var(--border-color, #dedede);
	border-radius: 8px;
	box-shadow: none;
	text-transform: none;
}
#booking .bk-day {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 4.5em;
	padding: 0.6em 0.75em;
}
#booking .bk-dow {
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #666;
}
#booking .bk-date {
	font-weight: 700;
	white-space: nowrap;
}
#booking .bk-time {
	padding: 0.65em 0.5em;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
#booking .bk-day:hover,
#booking .bk-time:hover,
#booking .bk-day:focus-visible,
#booking .bk-time:focus-visible {
	border-color: var(--primary-color, #db3700);
	color: var(--primary-color, #db3700);
}
#booking .bk-day[aria-pressed="true"],
#booking .bk-day[aria-pressed="true"] .bk-dow {
	background: var(--primary-color, #db3700);
	border-color: var(--primary-color, #db3700);
	color: #fff;
}

#booking .bk-chosen {
	margin: 0 0 1.5em;
	padding: 0.9em 1.1em;
	border-radius: 8px;
	background: var(--shaded-background-color, #f0f4f8);
	font-weight: 700;
	color: var(--headings-color, #0c063f);
}
#booking .bk-change {
	font: inherit;
	font-weight: 400;
	margin-left: 0.5em;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
	color: var(--primary-color, #db3700);
	text-decoration: underline;
	cursor: pointer;
}

#booking .bk-status {
	padding: 1em 1.25em;
	margin: 0 0 1.5em;
	border-radius: 6px;
	font-size: 0.95em;
}
#booking .bk-ok { background: #e6f5ea; color: #1b5e20; border: 1px solid #a5d6a7; }
#booking .bk-err { background: #fdecea; color: #b71c1c; border: 1px solid #f5c6cb; }

#booking .bk-done { text-align: center; padding: 1em 0; }
#booking .bk-done-title {
	margin: 0 0 0.4em;
	font-size: 1.5em;
	font-weight: 700;
	color: var(--headings-color, #0c063f);
}
#booking .bk-done-when {
	font-weight: 700;
	color: var(--primary-color, #db3700);
}

#booking .bk-loading,
#booking .bk-alt {
	color: #666;
	font-size: 0.9em;
}
#booking .bk-alt { margin: 1.5em 0 1em; }

/* ------------------------------------------------------------------------------------------------
   Layout frames (data-layout on booking.js; previews at /calendar/frame-N/, 2026-10-20)
   ------------------------------------------------------------------------------------------------ */
#booking .bk-tz-note { margin: 0.75em 0 0; font-size: 0.85em; color: #666; font-weight: 400; }
#booking .bk-time[aria-pressed="true"] {
	background: var(--primary-color, #db3700);
	border-color: var(--primary-color, #db3700);
	color: #fff;
}

/* Frame switcher (preview pages only) */
#booking .bk-frames {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.4em 0.5em;
	margin: 0 0 1.5em; padding: 0.7em 0.9em;
	border: 1px dashed var(--primary-color, #db3700); border-radius: 8px;
	font-size: 0.85em; background: #fff8f4;
}
#booking .bk-frames-label { font-weight: 700; color: var(--headings-color, #0c063f); margin-right: 0.25em; }
#booking .bk-frames a {
	padding: 0.25em 0.7em; border-radius: 999px; text-decoration: none;
	color: var(--text-color, #2c284b); border: 1px solid var(--border-color, #dedede); background: #fff;
}
#booking .bk-frames a[aria-current="page"] {
	background: var(--primary-color, #db3700); border-color: var(--primary-color, #db3700); color: #fff;
}

/* Availability bar - the live page's layout (the park sites' pattern, in Ada's colours) */
#booking .bk-bar {
	display: flex; flex-direction: column; gap: 1.1em; align-items: stretch;
}
#booking .bk-field { position: relative; display: flex; align-items: center; gap: 0.75em; }
#booking .bk-icon { flex: 0 0 auto; color: var(--primary-color, #db3700); }
#booking .bk-float { position: relative; flex: 1 1 auto; display: block; margin: 0; }
#booking .bk-float-label {
	position: absolute; top: 0; left: 0.75em; transform: translateY(-50%);
	padding: 0 0.35em; background: #fff; z-index: 1;
	font-size: 0.75em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--primary-color, #db3700);
}
#booking .bk-input {
	display: block; width: 100%; height: 48px; margin: 0; padding: 0 1em;
	font: inherit; font-size: 0.95em; text-align: left; text-transform: none; letter-spacing: normal;
	color: var(--text-color, #2c284b); background: #fff;
	border: 1px solid var(--border-color, #cfcfcf); border-radius: 8px; box-shadow: none; cursor: pointer;
}
#booking .bk-input:hover, #booking .bk-input:focus-visible { border-color: var(--primary-color, #db3700); outline: none; }
#booking .bk-select[disabled] { color: #999; cursor: not-allowed; background: #fafafa; }
#booking .bk-select:not([disabled])::after {
	content: ""; float: right; margin-top: 1.2em; border: 5px solid transparent;
	border-top-color: var(--primary-color, #db3700);
}
#booking .bk-pop {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 25;
	padding: 0.9em; background: #fff; border: 1px solid #eee; border-radius: 12px;
	box-shadow: 0 10px 28px rgba(12, 6, 63, 0.14);
}
#booking .bk-pop .bk-times { margin: 0; }
#booking .bk-go {
	height: 48px; padding: 0 1.8em; border: 0; border-radius: 999px; cursor: pointer;
	font: inherit; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
	color: #fff; background: var(--primary-color, #db3700); box-shadow: none;
}
#booking .bk-go[disabled] { opacity: 0.45; cursor: not-allowed; }
@media (min-width: 900px) {
	#booking .bk-bar { flex-direction: row; align-items: center; }
	#booking .bk-bar .bk-field { flex: 1 1 0; }
	#booking .bk-go { flex: 0 0 auto; }
}

/* Frame 2 - month calendar + that day's times */
#booking .bk-month { display: grid; grid-template-columns: 1fr; gap: 1.5em; align-items: start; }
#booking .bk-month-cal { display: flex; justify-content: center; }
#booking .bk-month-side .bk-times { margin: 0; }
@media (min-width: 900px) {
	#booking .bk-month { grid-template-columns: auto 1fr; }
}

/* Frame 3 - week view */
#booking .bk-week-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75em; margin: 0 0 0.9em; }
#booking .bk-week-label { margin: 0; text-align: center; flex: 1 1 auto; }
#booking .bk-week-nav {
	width: 40px; height: 40px; padding: 0; border-radius: 50%; cursor: pointer;
	font: inherit; font-size: 1.4em; line-height: 1;
	color: var(--primary-color, #db3700); background: #fff;
	border: 1px solid var(--border-color, #dedede); box-shadow: none;
}
#booking .bk-week-nav[disabled] { opacity: 0.35; cursor: not-allowed; }
#booking .bk-week { display: grid; grid-template-columns: 1fr; gap: 0.75em; }
#booking .bk-week-day {
	padding: 0.75em; border: 1px solid var(--border-color, #e6e6e6); border-radius: 10px; background: #fff;
}
#booking .bk-week-empty { background: #fafafa; }
#booking .bk-week-dayname { display: flex; gap: 0.4em; align-items: baseline; margin: 0 0 0.6em; }
#booking .bk-week-dayname .bk-dow { font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.04em; color: #666; }
#booking .bk-week-dayname .bk-date { font-weight: 700; color: var(--headings-color, #0c063f); }
#booking .bk-week-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5em, 1fr)); gap: 0.4em; }
#booking .bk-none { font-size: 0.85em; color: #999; }
@media (min-width: 900px) {
	#booking .bk-week { grid-template-columns: repeat(5, 1fr); }
	#booking .bk-week-dayname { flex-direction: column; gap: 0.1em; align-items: center; text-align: center; }
	#booking .bk-week-times { grid-template-columns: 1fr; }
}

/* Frame 4 - next available times */
#booking .bk-soon { display: flex; flex-direction: column; gap: 1em; margin: 0 0 1em; }
#booking .bk-soon-day { padding: 0 0 1em; border-bottom: 1px solid #eee; }
#booking .bk-soon-day:last-child { border-bottom: 0; }
#booking .bk-soon-name { margin: 0 0 0.55em; font-weight: 700; color: var(--headings-color, #0c063f); }
#booking .bk-soon .bk-times { margin: 0; }
#booking .bk-more {
	font: inherit; font-weight: 700; padding: 0.6em 1.4em; border-radius: 999px; cursor: pointer;
	color: var(--primary-color, #db3700); background: #fff;
	border: 1px solid var(--primary-color, #db3700); box-shadow: none; text-transform: none;
}
