/* Shared defaults; the main calendar and widget picker override the dark surfaces. */
.spektrix-booking {
	--spektrix-accent: #174e45;
	--spektrix-border: #d8dfdc;
	--spektrix-surface: #d8dfdc;
	--spektrix-btn: #FEECC0;
	color: #fff;
	color-scheme: dark;
}

.spektrix-booking :is(h2, h3, p, label, span, strong, a, button, input, select, option, pre, div) {
	color: #fff;
}

.spektrix-booking input,
.spektrix-booking select,
.spektrix-booking option,
.spektrix-booking pre {
	background: var(--spektrix-surface);
}

.spektrix-booking [hidden] {
	display: none !important;
}

.spektrix-choose .spektrix-loading {
	margin:0!important;
}

.spektrix-booking .spektrix-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	box-sizing: border-box;
	min-height: 7rem;
	margin: 1rem 0;
	padding: 1.5rem;
	border: 1px solid #ecd396;
	border-radius: 8px;
	background: #fffcf5;
	color: #2f3f1f;
	font-family: var(--e-global-typography-16edc41-font-family, "rig-sans"), sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
}

.spektrix-booking .spektrix-loading::before,
.spektrix-booking :is(button, a.spektrix-button)[aria-busy="true"]::before {
	content: "";
	display: block;
	box-sizing: border-box;
	width: 1.5rem;
	height: 1.5rem;
	flex: 0 0 auto;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: spektrix-loading-spin 0.8s linear infinite;
}

.spektrix-booking :is(button, a.spektrix-button)[aria-busy="true"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65em;
	opacity: 1;
	cursor: wait;
}

.spektrix-booking :is(button, a.spektrix-button)[aria-busy="true"]::before {
	width: 1em;
	height: 1em;
}

.spektrix-booking .spektrix-loading-announcement {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.spektrix-loading-placeholder {
	min-height: 9rem;
	border: 1px solid #eee5d2;
	border-radius: 8px;
	background:
		linear-gradient(#eae3d6, #eae3d6) 1.25rem 1.5rem / 55% 0.85rem no-repeat,
		linear-gradient(#f0eade, #f0eade) 1.25rem 3.25rem / 75% 0.65rem no-repeat,
		linear-gradient(#f0eade, #f0eade) 1.25rem 4.75rem / 40% 0.65rem no-repeat,
		#fffcf5;
}

.spektrix-booking :is(.spektrix-date-notice, .spektrix-basket-highlight) {
	margin: 0.5rem 0 0;
	padding: 0.75rem 1rem;
	border-left: 3px solid var(--basket-gold, var(--ticket-gold, #ecd396));
	background: var(--basket-cream, var(--ticket-cream, #feecc0));
	white-space: pre-line;
	overflow-wrap: anywhere;
}

.spektrix-choose [data-ticket-picker] > .spektrix-date-notice {
	margin: 0 0 1.25rem;
}

@keyframes spektrix-loading-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.spektrix-booking .spektrix-loading::before,
	.spektrix-booking :is(button, a.spektrix-button)[aria-busy="true"]::before,
	.spektrix-date-time .spektrix-time-loading::after {
		animation: none;
	}
}

.spektrix-checkout-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}

.spektrix-checkout-breadcrumbs li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.spektrix-checkout-breadcrumbs a {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.spektrix-checkout-breadcrumbs [aria-current="step"] {
	font-weight: 700;
}

.spektrix-checkout-surface {
	position: relative;
	background: #fffcf5;
	color-scheme: light;
}

.spektrix-checkout-surface.is-loading {
	min-height: clamp(16rem, 35vh, 24rem);
}

.spektrix-checkout-surface iframe {
	display: block;
	background: #fffcf5;
}

.spektrix-checkout-surface.is-loading iframe {
	position: absolute;
	visibility: hidden;
}

.spektrix-checkout-surface .spektrix-checkout-loader {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 2rem;
}

.spektrix-booking button,
.spektrix-booking input,
.spektrix-booking select,
.spektrix-button {
	font: inherit;
}

.spektrix-booking button {
	border: 1px solid var(--spektrix-border);
	border-radius: 5px;
	padding: 12px;
	background: var(--spektrix-surface);
	color: #fff;
	cursor: pointer;
	text-decoration: none;
}

.spektrix-booking .spektrix-button {
	border-radius: 0px;
	height: 50px;
	font-family: var(--e-global-typography-eedd3d9-font-family);
	border: 1px solid var(--spektrix-border);
	background: var(--spektrix-btn);
	color: var(--e-global-color-cbe8320);
	cursor: pointer;
	text-decoration: none;
	padding: 12px 24px 12px 24px;
	font-size: var(--e-global-typography-eedd3d9-font-size);
}

.spektrix-booking button:hover:not(:disabled),
.spektrix-booking button[aria-pressed="true"],
.spektrix-button {
	background: var(--spektrix-accent);
	color: #fff;
}

.spektrix-booking button:disabled,
.spektrix-booking [aria-disabled="true"] {
	opacity: 0.5;
	cursor: not-allowed;
}

.spektrix-booking :focus-visible {
	outline: 3px solid #bf6314;
	outline-offset: 3px;
}

.spektrix-calendar-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.spektrix-calendar-nav h3 {
	margin: 0.5rem;
	text-align: center;
}

.spektrix-calendar {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0.35rem;
}

.spektrix-calendar button {
	padding: 0.75rem 0.15rem;
	min-height: 44px;
}

.spektrix-weekday {
	text-align: center;
	font-weight: 600;
	padding: 0.5rem 0;
}

.spektrix-times {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.spektrix-widget-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	align-items: end;
	gap: 1rem;
}

.spektrix-widget-form:has(.spektrix-event-choice) {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spektrix-widget-form > * {
	min-width: 0;
}

.spektrix-widget-form .spektrix-event-choice {
	margin-bottom: 0;
}

.spektrix-widget-form > button,
.spektrix-widget-date-field > button {
	min-height: 44px;
	margin: 0;
}

/* Routine announcements are screen-reader-only; errors and special-date notices stay visible. */
.spektrix-home-widget :is([data-event-choice-status], [data-widget-status]):not(.spektrix-error) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.spektrix-event-choice {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.spektrix-event-choice select {
	width: 100%;
	min-height: 44px;
	height: 50px;
	padding: 0.6rem;
	border: 1px solid var(--spektrix-border);
	border-radius: 5px;
	background: var(--spektrix-surface);
	color: #fff;
}
