/* Booking App — mobile-first step wizard */

.page-booking,
.contact-us {
	padding: 70px 0 60px;
}

@media only screen and (max-width: 991px) {

	.page-booking,
	.contact-us {
		padding: 30px 0 30px;
	}
}

.booking-app,
.booking-app * {
	-webkit-tap-highlight-color: transparent;
}

.booking-app button {
	-webkit-appearance: none;
	appearance: none;
	touch-action: manipulation;
	font: inherit;
}

.booking-app {
	max-width: 640px;
	margin: 0 auto;
	padding-bottom: 110px;
}

.booking-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 36px;
}

.booking-progress-step {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--default-font);
	font-size: 13px;
	font-weight: 600;
	color: var(--text-color);
	opacity: 0.5;
	transition: opacity 0.3s ease;
}

.booking-progress-step.active,
.booking-progress-step.done {
	opacity: 1;
}

.booking-progress-step span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--white-color);
	border: 1.5px solid var(--divider-color);
	color: var(--primary-color);
	font-size: 13px;
	transition: all 0.3s ease;
}

.booking-progress-step.active span {
	background: var(--accent-color);
	border-color: var(--accent-color);
	color: var(--white-color);
}

.booking-progress-step.done span {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: var(--white-color);
}

.booking-progress-line {
	width: 32px;
	height: 1px;
	background: var(--divider-color);
}

.booking-step {
	display: none;
	animation: bookingFadeIn 0.35s ease;
}

.booking-step.active {
	display: block;
}

@keyframes bookingFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.booking-section-label {
	font-family: var(--default-font);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent-dark);
	margin-bottom: 14px;
}

.booking-section-label:not(:first-child) {
	margin-top: 28px;
}

.booking-pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 8px;
}

.booking-pill {
	font-family: var(--default-font);
	font-size: 14px;
	font-weight: 600;
	color: var(--primary-color);
	background: var(--white-color);
	border: 1.5px solid var(--divider-color);
	border-radius: 100px;
	padding: 10px 20px;
	transition: all 0.25s ease;
}

.booking-pill.selected {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: var(--white-color);
}

.booking-tabs {
	display: flex;
	gap: 6px;
	background: var(--cream-color);
	border-radius: 100px;
	padding: 5px;
	margin-bottom: 20px;
}

.booking-tab {
	flex: 1;
	font-family: var(--default-font);
	font-size: 14px;
	font-weight: 600;
	color: var(--text-color);
	padding: 11px 10px;
	border-radius: 100px;
	transition: all 0.25s ease;
}

.booking-tab.active {
	background: var(--white-color);
	color: var(--primary-color);
	box-shadow: 0 2px 10px rgba(27, 20, 15, 0.08);
}

.booking-cards {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.booking-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	text-align: left;
	background: var(--white-color);
	border: 1.5px solid var(--divider-color);
	border-radius: 18px;
	padding: 18px 20px;
	transition: all 0.25s ease;
}

.booking-card:active {
	transform: scale(0.98);
}

.booking-card.selected {
	border-color: var(--accent-color);
	background: var(--cream-color);
	box-shadow: 0 4px 16px rgba(169, 118, 76, 0.18);
}

.booking-card-info h4 {
	font-family: var(--display-font);
	font-size: 18px;
	font-weight: 600;
	color: var(--primary-color);
	margin-bottom: 4px;
}

.booking-card-info p {
	font-size: 13px;
	color: var(--text-color);
	margin: 0;
}

.booking-card-price {
	font-family: var(--display-font);
	font-size: 18px;
	font-weight: 700;
	color: var(--accent-dark);
	white-space: nowrap;
}

.booking-date-row {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 6px;
	margin-bottom: 8px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.booking-date-row::-webkit-scrollbar {
	display: none;
}

.booking-date-chip {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 62px;
	background: var(--white-color);
	border: 1.5px solid var(--divider-color);
	border-radius: 16px;
	padding: 12px 10px;
	font-family: var(--default-font);
	transition: all 0.25s ease;
}

.booking-date-chip .dow {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--text-color);
	letter-spacing: 0.05em;
}

.booking-date-chip .dom {
	font-size: 18px;
	font-weight: 700;
	color: var(--primary-color);
}

.booking-date-chip.selected {
	background: var(--primary-color);
	border-color: var(--primary-color);
}

.booking-date-chip.selected .dow,
.booking-date-chip.selected .dom {
	color: var(--white-color);
}

.booking-slots {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.booking-slots-empty {
	grid-column: 1 / -1;
	font-size: 14px;
	color: var(--text-color);
	text-align: center;
	padding: 30px 10px;
	margin: 0;
}

.booking-slot {
	font-family: var(--default-font);
	font-size: 14px;
	font-weight: 600;
	color: var(--primary-color);
	background: var(--white-color);
	border: 1.5px solid var(--divider-color);
	border-radius: 12px;
	padding: 12px 6px;
	transition: all 0.25s ease;
}

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

.booking-summary {
	background: var(--cream-color);
	border-radius: 18px;
	padding: 18px 20px;
	margin-bottom: 28px;
}

.booking-summary h4 {
	font-family: var(--display-font);
	font-size: 20px;
	margin-bottom: 10px;
}

.booking-summary p {
	font-size: 14px;
	color: var(--text-color);
	margin: 0 0 4px;
}

.booking-summary strong {
	color: var(--primary-color);
}

.booking-field {
	margin-bottom: 18px;
}

.booking-field label {
	display: block;
	font-family: var(--default-font);
	font-size: 13px;
	font-weight: 600;
	color: var(--primary-color);
	margin-bottom: 8px;
}

.app-input {
	display: block;
	width: 100%;
	font-family: var(--default-font);
	font-size: 16px;
	color: var(--primary-color);
	background: var(--white-color);
	border: 1.5px solid var(--divider-color);
	border-radius: 14px;
	padding: 15px 18px;
	transition: border-color 0.25s ease;
}

.app-input:focus {
	outline: none;
	border-color: var(--accent-color);
}

.app-input-phone-wrap {
	display: flex;
	align-items: stretch;
	border: 1.5px solid var(--divider-color);
	border-radius: 14px;
	overflow: hidden;
	transition: border-color 0.25s ease;
}

.app-input-phone-wrap:focus-within {
	border-color: var(--accent-color);
}

.app-input-phone-prefix {
	display: flex;
	align-items: center;
	padding: 0 14px;
	font-family: var(--default-font);
	font-size: 16px;
	font-weight: 600;
	color: var(--text-color);
	background: var(--cream-color);
}

.app-input-phone-wrap .app-input {
	border: none;
	border-radius: 0;
	letter-spacing: 0.04em;
}

.booking-error {
	background: rgba(230, 87, 87, 0.1);
	color: var(--error-color);
	font-size: 14px;
	font-weight: 500;
	border-radius: 12px;
	padding: 12px 16px;
	margin-bottom: 18px;
}

.booking-actionbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	display: flex;
	gap: 12px;
	padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
	background: var(--white-color);
	border-top: 1px solid var(--divider-color);
	box-shadow: 0 -6px 24px rgba(27, 20, 15, 0.08);
}

.booking-btn-back,
.booking-btn-next {
	font-family: var(--default-font);
	font-size: 15px;
	font-weight: 700;
	border-radius: 100px;
	padding: 15px 20px;
	transition: all 0.25s ease;
}

.booking-btn-back {
	flex: 0 0 auto;
	color: var(--primary-color);
	background: var(--cream-color);
}

.booking-btn-back[hidden] {
	display: none;
}

.booking-btn-next {
	flex: 1;
	color: var(--white-color);
	background: var(--primary-color);
	text-align: center;
}

.booking-btn-next:disabled {
	opacity: 0.4;
}

.booking-btn-next:not(:disabled):active {
	transform: scale(0.98);
}

@media (min-width: 640px) {
	.booking-app {
		padding: 0 0 60px;
	}

	.booking-actionbar{
		position: static;
		box-shadow: none;
		border-top: none;
		padding: 30px 0 0;
		background: transparent;
	}

	.booking-slots{
		grid-template-columns: repeat(4, 1fr);
	}
}

/* My Bookings */

.my-bookings-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 10px;
}

.my-booking-card {
	margin-bottom: 0;
	text-align: left;
}

.my-booking-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.booking-status-badge {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 100px;
	padding: 6px 14px;
	color: var(--white-color);
	background: var(--text-color);
}

.booking-status-badge.status-pending {
	background: #C58A3F;
}

.booking-status-badge.status-confirmed {
	background: var(--accent-color);
}

.booking-status-badge.status-checked_in {
	background: #6B8F9C;
}

.booking-status-badge.status-in_service {
	background: var(--accent-dark);
}

.booking-status-badge.status-completed {
	background: #4B8B5A;
}

.booking-status-badge.status-cancelled {
	background: var(--error-color);
}