/* Limitless Appointments & Zoom — public booking interface */
.laz-booking,
.laz-my-appointments,
.laz-access-card,
.laz-notice {
	--laz-primary: #0a6c74;
	--laz-primary-strong: #07535a;
	--laz-accent: #d5a94e;
	--laz-surface: #fff;
	--laz-surface-muted: #f5f8f8;
	--laz-text: #172126;
	--laz-text-muted: #607079;
	--laz-border: #dbe3e5;
	--laz-danger: #ad2f35;
	--laz-success: #267a49;
	--laz-shadow: 0 18px 55px rgba(15, 41, 46, .12);
	--laz-radius: 18px;
	box-sizing: border-box;
	color: var(--laz-text);
	font-family: inherit;
}

.laz-booking *,
.laz-my-appointments *,
.laz-access-card *,
.laz-notice * {
	box-sizing: border-box;
}

.laz-booking,
.laz-my-appointments {
	width: min(100%, 920px);
	margin: 28px auto;
	padding: clamp(22px, 4vw, 44px);
	background: var(--laz-surface);
	border: 1px solid var(--laz-border);
	border-radius: var(--laz-radius);
	box-shadow: var(--laz-shadow);
}

.laz-theme-dark {
	--laz-surface: #132126;
	--laz-surface-muted: #1b2d33;
	--laz-text: #f3f8f8;
	--laz-text-muted: #bdcacc;
	--laz-border: #385057;
	--laz-primary-strong: #65c4ca;
}

@media (prefers-color-scheme: dark) {
	.laz-theme-auto {
		--laz-surface: #132126;
		--laz-surface-muted: #1b2d33;
		--laz-text: #f3f8f8;
		--laz-text-muted: #bdcacc;
		--laz-border: #385057;
		--laz-primary-strong: #65c4ca;
	}
}

.laz-booking__header {
	max-width: 680px;
	margin-bottom: 28px;
}

.laz-booking__header h2,
.laz-access-card h2,
.laz-success h3 {
	margin: 0 0 10px;
	color: var(--laz-text);
	font-size: clamp(1.65rem, 4vw, 2.4rem);
	line-height: 1.15;
}

.laz-booking__header p,
.laz-access-card p,
.laz-success p {
	margin: 0;
	color: var(--laz-text-muted);
	line-height: 1.65;
}

.laz-eyebrow {
	margin: 0 0 8px !important;
	color: var(--laz-primary) !important;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.laz-progress {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 34px;
	padding: 0;
	list-style: none;
}

.laz-progress li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	color: var(--laz-text-muted);
	font-size: .78rem;
	font-weight: 700;
	text-align: center;
}

.laz-progress li::before {
	position: absolute;
	top: 16px;
	right: calc(50% + 19px);
	left: calc(-50% + 19px);
	height: 2px;
	background: var(--laz-border);
	content: '';
}

.laz-progress li:first-child::before {
	display: none;
}

.laz-progress span {
	position: relative;
	z-index: 1;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	background: var(--laz-surface);
	border: 2px solid var(--laz-border);
	border-radius: 50%;
	font-size: .82rem;
}

.laz-progress li.is-active,
.laz-progress li.is-complete {
	color: var(--laz-primary-strong);
}

.laz-progress li.is-active span,
.laz-progress li.is-complete span {
	color: #fff;
	background: var(--laz-primary);
	border-color: var(--laz-primary);
}

.laz-progress li.is-complete::before,
.laz-progress li.is-active::before {
	background: var(--laz-primary);
}

.laz-step {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.laz-step[hidden],
.laz-success[hidden],
.laz-alert[hidden],
.laz-reschedule-panel[hidden] {
	display: none !important;
}

.laz-step legend {
	width: 100%;
	margin: 0 0 24px;
	padding: 0;
	color: var(--laz-text);
	font-size: clamp(1.25rem, 3vw, 1.65rem);
	font-weight: 750;
	line-height: 1.25;
}

.laz-booking label,
.laz-reschedule-panel label,
.laz-fixed-label {
	display: block;
	margin: 0 0 8px;
	color: var(--laz-text);
	font-size: .92rem;
	font-weight: 700;
}

.laz-fixed-timezone {
	min-height: 50px;
	margin: 0 0 20px;
	padding: 10px 14px;
	background: var(--laz-surface-muted);
	border: 1px solid var(--laz-border);
	border-radius: 10px;
}

.laz-fixed-timezone strong,
.laz-fixed-timezone small {
	display: block;
}

.laz-booking .laz-fixed-timezone small {
	margin: 2px 0 0;
}

.laz-booking input:not([type="checkbox"]),
.laz-booking select,
.laz-booking textarea,
.laz-reschedule-panel input {
	display: block;
	width: 100%;
	min-height: 50px;
	margin: 0 0 20px;
	padding: 12px 14px;
	color: var(--laz-text);
	background: var(--laz-surface);
	border: 1px solid var(--laz-border);
	border-radius: 10px;
	box-shadow: none;
	font: inherit;
	line-height: 1.35;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.laz-booking textarea {
	min-height: 112px;
	resize: vertical;
}

.laz-booking input[readonly] {
	color: var(--laz-text-muted);
	background: var(--laz-surface-muted);
}

.laz-booking input:focus,
.laz-booking select:focus,
.laz-booking textarea:focus,
.laz-reschedule-panel input:focus {
	outline: 0;
	border-color: var(--laz-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--laz-primary) 22%, transparent);
}

.laz-booking small,
.laz-field-help,
.laz-timezone-note {
	display: block;
	margin: -12px 0 20px;
	color: var(--laz-text-muted);
	font-size: .84rem;
	line-height: 1.55;
}

.laz-field-help {
	margin-top: 8px;
}

.laz-grid {
	display: grid;
	gap: 20px;
}

.laz-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.laz-check {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0 !important;
	padding: 14px;
	background: var(--laz-surface-muted);
	border-radius: 10px;
	font-weight: 500 !important;
}

.laz-check input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--laz-primary);
}

.laz-step__actions,
.laz-success__actions,
.laz-inline-actions,
.laz-appointment-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 28px;
}

.laz-button,
button.laz-button,
a.laz-button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	color: #fff;
	background: var(--laz-primary);
	border: 1px solid var(--laz-primary);
	border-radius: 10px;
	box-shadow: none;
	cursor: pointer;
	font: inherit;
	font-size: .94rem;
	font-weight: 750;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.laz-button:hover,
.laz-button:focus-visible {
	color: #fff;
	filter: brightness(.92);
	transform: translateY(-1px);
}

.laz-button:focus-visible,
.laz-slot:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--laz-accent) 75%, #fff);
	outline-offset: 2px;
}

.laz-button:disabled {
	cursor: wait;
	filter: grayscale(.4);
	opacity: .62;
	transform: none;
}

.laz-button--secondary,
button.laz-button--secondary,
a.laz-button--secondary {
	color: var(--laz-primary-strong);
	background: transparent;
	border-color: var(--laz-primary);
}

.laz-button--secondary:hover,
.laz-button--secondary:focus-visible {
	color: var(--laz-primary-strong);
	background: color-mix(in srgb, var(--laz-primary) 8%, transparent);
}

.laz-button--danger,
button.laz-button--danger {
	color: var(--laz-danger);
	background: transparent;
	border-color: color-mix(in srgb, var(--laz-danger) 55%, var(--laz-border));
}

.laz-alert,
.laz-notice {
	margin: 0 0 22px;
	padding: 14px 16px;
	color: #79262b;
	background: #fff0f1;
	border: 1px solid #efbdc0;
	border-radius: 10px;
	font-size: .92rem;
	line-height: 1.5;
}

.laz-alert--success,
.laz-notice--success {
	color: #1f613a;
	background: #ecf8f0;
	border-color: #b9dfc7;
}

.laz-alert--info,
.laz-notice--info {
	color: #295a66;
	background: #edf8fa;
	border-color: #bcdde2;
}

.laz-slots {
	min-height: 86px;
	margin: 8px 0 20px;
	padding: 16px;
	background: var(--laz-surface-muted);
	border-radius: 12px;
}

.laz-slot-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
	gap: 10px;
}

.laz-slot {
	min-height: 44px;
	padding: 9px 12px;
	color: var(--laz-text);
	background: var(--laz-surface);
	border: 1px solid var(--laz-border);
	border-radius: 9px;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.laz-slot:hover {
	border-color: var(--laz-primary);
}

.laz-slot.is-selected {
	color: #fff;
	background: var(--laz-primary);
	border-color: var(--laz-primary);
}

.laz-loading {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	color: var(--laz-text-muted);
}

.laz-spinner {
	display: inline-block;
	width: 22px;
	height: 22px;
	border: 3px solid var(--laz-border);
	border-top-color: var(--laz-primary);
	border-radius: 50%;
	animation: laz-spin .75s linear infinite;
}

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

.laz-empty-state {
	margin: 0;
	color: var(--laz-text-muted);
	line-height: 1.55;
	text-align: center;
}

.laz-empty-state--large {
	padding: 36px 20px;
	background: var(--laz-surface-muted);
	border-radius: 12px;
}

.laz-empty-state--large .laz-button {
	margin-top: 16px;
}

.laz-summary,
.laz-appointment-meta {
	margin: 0;
	padding: 0;
}

.laz-summary > div,
.laz-appointment-meta > div {
	display: grid;
	grid-template-columns: minmax(120px, .8fr) minmax(0, 1.6fr);
	gap: 20px;
	padding: 13px 0;
	border-bottom: 1px solid var(--laz-border);
}

.laz-summary dt,
.laz-appointment-meta dt {
	color: var(--laz-text-muted);
	font-weight: 650;
}

.laz-summary dd,
.laz-appointment-meta dd {
	margin: 0;
	color: var(--laz-text);
	font-weight: 700;
}

.laz-success {
	padding: clamp(20px, 4vw, 42px);
	background: var(--laz-surface-muted);
	border-radius: 14px;
	text-align: center;
}

.laz-success__icon {
	display: grid;
	width: 58px;
	height: 58px;
	margin: 0 auto 18px;
	place-items: center;
	color: #fff;
	background: var(--laz-success);
	border-radius: 50%;
	font-size: 1.55rem;
	font-weight: 900;
}

.laz-success__actions {
	justify-content: center;
}

.laz-access-card {
	width: min(100%, 720px);
	margin: 28px auto;
	padding: clamp(22px, 4vw, 38px);
	background: var(--laz-surface);
	border: 1px solid var(--laz-border);
	border-radius: var(--laz-radius);
	box-shadow: var(--laz-shadow);
	text-align: center;
}

.laz-access-card .laz-button {
	margin-top: 20px;
}

.laz-appointment-list {
	display: grid;
	gap: 18px;
}

.laz-appointment-card {
	padding: clamp(18px, 3vw, 26px);
	background: var(--laz-surface-muted);
	border: 1px solid var(--laz-border);
	border-radius: 14px;
}

.laz-appointment-card > header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
}

.laz-appointment-card h3 {
	margin: 0;
	color: var(--laz-text);
	font-size: 1.2rem;
}

.laz-status {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	padding: 5px 9px;
	color: #71550f;
	background: #fff5d8;
	border: 1px solid #ebd184;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .02em;
}

.laz-status--confirmed,
.laz-status--completed {
	color: #1f613a;
	background: #e8f7ed;
	border-color: #acd7bb;
}

.laz-status--cancelled,
.laz-status--failed {
	color: #79262b;
	background: #fff0f1;
	border-color: #efbdc0;
}

.laz-appointment-actions {
	justify-content: flex-start;
	margin-top: 20px;
}

.laz-reschedule-panel {
	margin-top: 18px;
	padding: 18px;
	background: var(--laz-surface);
	border: 1px solid var(--laz-border);
	border-radius: 12px;
}

.laz-reschedule-panel .laz-slots {
	margin-bottom: 14px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 680px) {
	.laz-booking,
	.laz-my-appointments {
		margin: 16px auto;
		border-radius: 14px;
	}

	.laz-progress {
		gap: 2px;
	}

	.laz-progress li {
		font-size: 0;
	}

	.laz-progress span {
		font-size: .78rem;
	}

	.laz-grid--two {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.laz-step__actions,
	.laz-appointment-actions {
		flex-direction: column-reverse;
	}

	.laz-button,
	button.laz-button,
	a.laz-button {
		width: 100%;
	}

	.laz-summary > div,
	.laz-appointment-meta > div {
		grid-template-columns: 1fr;
		gap: 3px;
	}

	.laz-appointment-card > header {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.laz-button,
	.laz-booking input,
	.laz-booking select,
	.laz-booking textarea {
		transition: none;
	}

	.laz-spinner {
		animation-duration: 1.5s;
	}
}
