/* Book Appointment page enhancements */

.page-book-appointment .booking-page-intro{
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.booking-layout{
	margin-top: 12px;
}

.booking-sidebar{
	display: flex;
	flex-direction: column;
	gap: 18px;
	position: sticky;
	top: 110px;
}

.booking-sidebar-card{
	background: var(--white-color);
	border: 1px solid rgba(var(--brand-rgb), 0.08);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 10px 28px rgba(var(--brand-rgb), 0.06);
}

.booking-sidebar-status{
	background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.04), rgba(61, 107, 79, 0.06));
}

.booking-sidebar-lead{
	margin: 14px 0 0;
	color: var(--text-color);
	line-height: 1.6;
	font-size: 15px;
}

.booking-sidebar-title{
	font-family: var(--accent-font);
	font-size: 18px;
	margin-bottom: 14px;
	color: var(--text-color);
}

.booking-contact-list,
.booking-hours-list,
.booking-trust-list{
	list-style: none;
	margin: 0;
	padding: 0;
}

.booking-contact-list li + li,
.booking-hours-list li + li{
	margin-top: 12px;
}

.booking-contact-list a{
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
	line-height: 1.5;
	transition: color 0.25s ease;
}

.booking-contact-list a:hover,
.booking-contact-list a:focus-visible{
	color: var(--accent-color);
}

.booking-contact-list i{
	color: var(--accent-color);
	margin-top: 3px;
	width: 16px;
	flex-shrink: 0;
}

.booking-hours-list li{
	font-size: 15px;
	color: var(--text-color);
	line-height: 1.5;
	padding-left: 0;
}

.booking-trust-list li{
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	color: var(--text-color);
	line-height: 1.55;
}

.booking-trust-list li + li{
	margin-top: 10px;
}

.booking-trust-list i{
	color: var(--accent-color);
	margin-top: 3px;
	flex-shrink: 0;
}

.booking-sidebar-link{
	display: inline-block;
	margin-top: 16px;
	font-weight: 600;
	color: var(--accent-color);
	text-decoration: none;
}

.booking-sidebar-link:hover,
.booking-sidebar-link:focus-visible{
	text-decoration: underline;
}

.booking-form-shell{
	background: var(--white-color);
	border: 1px solid rgba(var(--brand-rgb), 0.08);
	border-radius: 20px;
	box-shadow: 0 16px 40px rgba(var(--brand-rgb), 0.08);
	overflow: visible;
}

.booking-stepper{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	padding: 22px 18px;
	overflow: hidden;
	border-radius: 20px 20px 0 0;
}

.booking-stepper-item{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	position: relative;
	opacity: 0.65;
	transition: opacity 0.25s ease;
}

.booking-stepper-item:not(:last-child)::after{
	content: '';
	position: absolute;
	top: 18px;
	left: calc(50% + 22px);
	width: calc(100% - 44px);
	height: 2px;
	background: rgba(255, 255, 255, 0.28);
}

.booking-stepper-item.is-active,
.booking-stepper-item.is-complete{
	opacity: 1;
}

.booking-stepper-item.is-complete .booking-stepper-number{
	background: var(--white-color);
	color: var(--primary-color);
}

.booking-stepper-number{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	color: var(--white-color);
	font-size: 14px;
	font-weight: 700;
	position: relative;
	z-index: 1;
	transition: background 0.25s ease, color 0.25s ease;
}

.booking-stepper-item.is-active .booking-stepper-number{
	background: var(--white-color);
	color: var(--primary-color);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.booking-stepper-label{
	font-size: 12px;
	font-weight: 600;
	color: var(--white-color);
	line-height: 1.3;
}

.contact-us-form.appointment-form.booking-form-card{
	max-width: none;
	margin: 0;
	padding: 28px 28px 32px;
	background: transparent;
}

.booking-form-section{
	padding-bottom: 28px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--secondary-color);
}

.booking-form-section:last-of-type{
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 8px;
}

.booking-form-section-header{
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 22px;
}

.booking-form-section-number{
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--secondary-color);
	color: var(--primary-color);
	font-size: 15px;
	font-weight: 700;
}

.booking-form-section-header h2{
	font-family: var(--accent-font);
	font-size: 22px;
	margin: 0 0 6px;
	color: var(--text-color);
}

.booking-service-grid{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 8px;
}

.booking-service-card{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	width: 100%;
	margin: 0;
	padding: 16px 14px;
	text-align: left;
	cursor: pointer;
	background: var(--white-color);
	border: 1px solid rgba(var(--brand-rgb), 0.14);
	border-radius: 14px;
	color: var(--primary-color);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.booking-service-card:hover,
.booking-service-card:focus-visible{
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.12);
	outline: none;
}

.booking-service-card.is-selected{
	border-color: var(--accent-color);
	background: rgba(var(--brand-rgb), 0.06);
	box-shadow: 0 0 0 1px var(--accent-color);
}

.booking-service-card__name{
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.booking-service-card__time{
	font-size: 13px;
	font-weight: 600;
	color: var(--accent-color);
}

.booking-form-section-header p{
	margin: 0;
	color: var(--text-color);
	font-size: 15px;
	line-height: 1.55;
}

.booking-form-card label{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--primary-color);
	text-transform: none;
}

.booking-form-card label i{
	color: var(--accent-color);
	font-size: 14px;
}

.booking-optional{
	font-weight: 500;
	color: rgba(var(--brand-rgb), 0.55);
}

.booking-field-hint{
	margin: 8px 0 0;
	font-size: 13px;
	color: rgba(var(--brand-rgb), 0.62);
	line-height: 1.45;
}

.booking-date-group,
.booking-slot-group{
	position: relative;
}

.booking-date-group.is-enhanced #date,
.booking-slot-group.is-enhanced #slot{
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.booking-calendar,
.booking-slots{
	width: 100%;
	min-height: 20.5rem;
	padding: 14px 14px 16px;
	border: 1px solid rgba(var(--brand-rgb), 0.12);
	border-radius: 14px;
	background: var(--white-color);
}

.booking-slots{
	max-height: 22.5rem;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.booking-calendar__header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.booking-calendar__month,
.booking-slots__date{
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--primary-color);
}

.booking-slots__date{
	position: sticky;
	top: -14px;
	z-index: 1;
	margin-bottom: 12px;
	padding: 14px 0 8px;
	background: var(--white-color);
}

.booking-calendar__nav{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid rgba(var(--brand-rgb), 0.14);
	border-radius: 999px;
	background: var(--white-color);
	color: var(--primary-color);
	cursor: pointer;
}

.booking-calendar__nav:hover,
.booking-calendar__nav:focus-visible{
	border-color: var(--accent-color);
	color: var(--accent-color);
	outline: none;
}

.booking-calendar__nav:disabled{
	opacity: 0.35;
	cursor: not-allowed;
}

.booking-calendar__weekdays,
.booking-calendar__grid{
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
}

.booking-calendar__weekdays{
	margin-bottom: 6px;
}

.booking-calendar__weekday{
	display: block;
	padding: 4px 0;
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(var(--brand-rgb), 0.55);
}

.booking-calendar__weekday.is-available{
	color: var(--accent-color);
}

.booking-calendar__day{
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--text-color);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.booking-calendar__day.is-outside{
	visibility: hidden;
	pointer-events: none;
}

.booking-calendar__day:not(.is-disabled):hover,
.booking-calendar__day:not(.is-disabled):focus-visible{
	background: rgba(var(--brand-rgb), 0.08);
	color: var(--primary-color);
	outline: none;
}

.booking-calendar.is-limited .booking-calendar__day.is-available{
	background: rgba(var(--brand-rgb), 0.08);
	color: var(--accent-color);
	box-shadow: inset 0 0 0 1px rgba(61, 107, 79, 0.22);
}

.booking-calendar__day.is-today:not(.is-selected){
	box-shadow: inset 0 0 0 1px var(--primary-color);
}

.booking-calendar.is-limited .booking-calendar__day.is-available.is-today:not(.is-selected){
	box-shadow: inset 0 0 0 1px var(--primary-color);
}

.booking-calendar.is-limited .booking-calendar__day.is-selected,
.booking-calendar__day.is-selected{
	background: var(--accent-color);
	color: var(--white-color);
	box-shadow: none;
}

.booking-calendar__day.is-disabled{
	color: #c4b8b4;
	cursor: not-allowed;
	background: transparent;
	box-shadow: none;
}

.booking-slots__period{
	margin: 14px 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(var(--brand-rgb), 0.55);
}

.booking-slots__period:first-child{
	margin-top: 0;
}

.booking-slots__grid{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr));
	gap: 8px;
}

.booking-slot{
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 6px;
	border: 1px solid rgba(var(--brand-rgb), 0.14);
	border-radius: 12px;
	background: var(--white-color);
	color: var(--primary-color);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.booking-slot:hover,
.booking-slot:focus-visible{
	border-color: var(--accent-color);
	background: rgba(var(--brand-rgb), 0.08);
	outline: none;
}

.booking-slot.is-selected{
	border-color: var(--accent-color);
	background: var(--accent-color);
	color: var(--white-color);
}

.booking-slots__empty{
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 16.5rem;
	margin: 0;
	padding: 8px;
	text-align: center;
	color: rgba(var(--brand-rgb), 0.62);
	font-size: 14px;
	line-height: 1.5;
}

.contact-us-form.appointment-form.booking-form-card .form-control{
	background-color: var(--secondary-color);
	border: 1px solid transparent;
	padding: 16px 18px;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.contact-us-form.appointment-form.booking-form-card .form-control:hover{
	background-color: #eef3f6;
}

.contact-us-form.appointment-form.booking-form-card .form-control:focus{
	background-color: var(--white-color);
	border-color: rgba(61, 107, 79, 0.35);
	box-shadow: 0 0 0 4px rgba(61, 107, 79, 0.12);
}

.contact-us-form.appointment-form.booking-form-card .form-control:disabled{
	opacity: 0.72;
	cursor: not-allowed;
}

.contact-us-form.appointment-form.booking-form-card textarea.form-control{
	min-height: 110px;
	resize: vertical;
}

.booking-form-actions{
	padding-top: 8px;
}

.booking-form-note{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 18px;
	font-size: 14px;
	color: rgba(var(--brand-rgb), 0.68);
	text-align: center;
}

.booking-form-note i{
	color: var(--accent-color);
}

.contact-us-form.appointment-form.booking-form-card .contact-form-btn{
	text-align: center;
}

.contact-us-form.appointment-form.booking-form-card .btn-default.btn-highlighted{
	min-width: 240px;
}

.contact-us-form.appointment-form.booking-form-card .btn-default.btn-highlighted:disabled{
	opacity: 0.55;
	cursor: not-allowed;
}

.tp-turnstile,
.cf-turnstile{
	display: flex;
	justify-content: center;
	margin: 12px 0 18px;
	min-height: 65px;
}

.booking-turnstile-error{
	margin: 0 0 16px;
	text-align: center;
	color: var(--error-color, #b42318);
	font-size: 14px;
	line-height: 1.45;
}

.booking-confirmation{
	text-align: center;
	padding: 48px 24px;
}

.booking-confirmation-icon{
	width: 72px;
	height: 72px;
	margin: 0 auto 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(61, 107, 79, 0.1);
	color: var(--accent-color);
	font-size: 36px;
}

.booking-confirmation h2{
	font-family: var(--accent-font);
	font-size: 30px;
	margin-bottom: 12px;
	color: var(--text-color);
}

.booking-confirmation p{
	max-width: 560px;
	margin: 0 auto 24px;
	color: var(--text-color);
	line-height: 1.65;
	font-size: 16px;
}

.booking-confirmation-actions{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

#bookingAlert{
	border-radius: 12px;
	margin-bottom: 20px;
}

@media (max-width: 991px){
	.booking-sidebar{
		position: static;
	}

	.booking-stepper-label{
		font-size: 11px;
	}
}

@media (max-width: 767px){
	.booking-stepper{
		grid-template-columns: repeat(2, 1fr);
		gap: 16px 12px;
		padding: 18px 14px;
	}

	.booking-stepper-item:not(:last-child)::after{
		display: none;
	}

	.contact-us-form.appointment-form.booking-form-card{
		padding: 20px 18px 24px;
	}

	.booking-form-section-header{
		flex-direction: column;
		gap: 10px;
	}

	.booking-form-section-header h2{
		font-size: 20px;
	}

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

	.booking-calendar,
	.booking-slots{
		min-height: 0;
		max-height: none;
	}

	.contact-us-form.appointment-form.booking-form-card .btn-default.btn-highlighted{
		width: 100%;
		min-width: 0;
	}
}
