/* First Look Sessions sign-up — scoped to .fls-wrap, inherits the theme's fonts. */
.fls-wrap {
	--fls-accent: #1f4e79;
	--fls-accent-ink: #ffffff;
	--fls-ink: inherit;
	--fls-muted: #5f6670;
	--fls-line: #d9dde3;
	--fls-soft: #f4f6f9;
	--fls-ok: #1a7f37;
	--fls-warn: #b25e00;
	--fls-err: #b42318;
	max-width: 1100px;
	margin: 0 auto;
	line-height: 1.5;
	white-space: normal;
	/* Use the site's Elementor global fonts when present; otherwise the theme's. */
	font-family: var(--e-global-typography-text-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial), sans-serif;
}
.fls-wrap *, .fls-wrap *::before, .fls-wrap *::after { box-sizing: border-box; font-family: inherit; }
.fls-wrap .fls-heading, .fls-wrap .fls-step, .fls-wrap .fls-card__name, .fls-wrap .fls-confirm__title {
	font-family: var(--e-global-typography-primary-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial), sans-serif;
}

.fls-heading { margin: 0 0 .5rem; }
.fls-intro p { margin: 0 0 .75rem; max-width: 70ch; }
.fls-meta { margin: 0 0 1.25rem; color: var(--fls-muted); }
.fls-meta .fls-sep { margin: 0 .5em; }

.fls-notice {
	padding: .85rem 1rem; margin: 0 0 1.25rem;
	border-left: 4px solid var(--fls-accent); background: var(--fls-soft); border-radius: 4px;
}
.fls-notice--error { border-color: var(--fls-err); background: #fdf1f0; }
.fls-notice--admin { border-color: var(--fls-warn); background: #fff6ea; font-size: .92em; }

.fls-step {
	display: flex; align-items: center; gap: .6rem;
	margin: 1.75rem 0 .9rem; font-size: 1.15rem;
}
.fls-step span {
	display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; flex: none;
	border-radius: 50%; background: var(--fls-accent); color: var(--fls-accent-ink); font-size: .9rem;
}

/* Customer cards */
.fls-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 980px) { .fls-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fls-grid { grid-template-columns: 1fr; } }

.fls-card {
	margin: 0; padding: 1rem; min-width: 0;
	border: 1px solid var(--fls-line); border-radius: 8px; background: #fff;
}
.fls-card__name { float: left; width: 100%; padding: 0; margin: 0 0 .25rem; font-weight: 700; font-size: 1.05rem; }
.fls-card__note { clear: both; margin: 0 0 .5rem; color: var(--fls-muted); font-size: .9em; }
.fls-slots { clear: both; list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .5rem; }
.fls-slots li { margin: 0; padding: 0; }

.fls-slot {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .05rem;
	padding: .55rem .8rem; border: 1px solid var(--fls-line); border-radius: 6px;
	cursor: pointer; transition: border-color .15s, background-color .15s;
}
.fls-slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fls-slot__time { font-weight: 600; font-size: .95em; white-space: nowrap; }
.fls-slot__status { font-size: .78em; color: var(--fls-ok); white-space: nowrap; }
.fls-slot:hover { border-color: var(--fls-accent); }
.fls-slot:has(input:focus-visible) { outline: 2px solid var(--fls-accent); outline-offset: 2px; }
.fls-slot:has(input:checked), .fls-slot.is-selected {
	border-color: var(--fls-accent); background: var(--fls-accent); color: var(--fls-accent-ink);
}
.fls-slot__picked { display: none; font-size: .78em; font-weight: 600; white-space: nowrap; }
.fls-slot:has(input:checked) .fls-slot__status, .fls-slot.is-selected .fls-slot__status { display: none; }
.fls-slot:has(input:checked) .fls-slot__picked, .fls-slot.is-selected .fls-slot__picked { display: inline; }

.fls-slot.is-disabled { cursor: not-allowed; background: var(--fls-soft); color: var(--fls-muted); }
.fls-slot.is-disabled:hover { border-color: var(--fls-line); }
.fls-slot.is-disabled .fls-slot__status { color: var(--fls-muted); }
.fls-slot.is-taken .fls-slot__time { text-decoration: line-through; }

.fls-summary { min-height: 1.5em; margin: 1rem 0 0; font-weight: 600; color: var(--fls-accent); }

/* Fields */
.fls-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fls-field--wide { grid-column: 1 / -1; max-width: 32rem; }
@media (max-width: 760px) { .fls-fields { grid-template-columns: 1fr; } }
.fls-field { margin: 0; display: flex; flex-direction: column; gap: .3rem; }
.fls-field label { font-weight: 600; }
.fls-field em { color: var(--fls-err); font-style: normal; }
.fls-field small { color: var(--fls-muted); }
.fls-field input, .fls-field select {
	width: 100%; padding: .6rem .7rem; font: inherit;
	border: 1px solid #b9c0ca; border-radius: 6px; background: #fff;
}
.fls-field input:focus, .fls-field select:focus { outline: 2px solid var(--fls-accent); outline-offset: 1px; border-color: var(--fls-accent); }
.fls-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }

.fls-agree { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 .75rem; max-width: 70ch; }
.fls-agree input { margin-top: .3rem; }
.fls-policy { color: var(--fls-muted); font-size: .92em; margin: 0 0 1rem; max-width: 70ch; }
.fls-policy p { margin: 0 0 .5rem; }

.fls-submit, .fls-pay {
	display: inline-block; padding: .85rem 1.6rem; border: 0; border-radius: 6px;
	background: var(--fls-accent); color: var(--fls-accent-ink) !important;
	font: inherit; font-weight: 700; text-decoration: none !important; cursor: pointer;
}
.fls-submit:hover, .fls-pay:hover { filter: brightness(1.12); }
.fls-submit:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.fls-next { color: var(--fls-muted); font-size: .9em; margin: .6rem 0 0; }

/* Confirmation */
.fls-confirm {
	max-width: 40rem; padding: 1.5rem; border: 1px solid var(--fls-line);
	border-top: 4px solid var(--fls-accent); border-radius: 8px; background: #fff;
}
.fls-confirm__eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .06em; font-size: .8em; font-weight: 700; color: var(--fls-warn); }
.fls-confirm__title { margin: .25rem 0 0; }
.fls-confirm__when { margin: .15rem 0 1rem; font-size: 1.1em; }
.fls-confirm__details { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0 0 1.25rem; }
.fls-confirm__details dt { color: var(--fls-muted); }
.fls-confirm__details dd { margin: 0; overflow-wrap: anywhere; }
.fls-confirm__paid { color: var(--fls-ok); font-weight: 700; }
.fls-confirm__note { color: var(--fls-muted); font-size: .92em; margin: .9rem 0; }

.fls-wrap strong { font-weight: 700; }
