/**
 * 3-Step Interactive Booking Modal Styles
 *
 * Implements native mobile application experience matching iOS design standards:
 * - High-z-index fixed backdrop & centered container
 * - Responsive 2-column layout on desktop (Form + Vehicle Summary Card)
 * - Streamlined native app bottom-sheet on mobile (Sticky header, persistent vehicle card, 2-col date/time)
 * - 3-Step Stepper with labels underneath ("Hire Details", "Your Details", "Review & Submit")
 * - Pinned Compact Vehicle Card with cutout image, title, specs, daily/weekly rates, and interactive vehicle selector
 * - 2-Column Date & Time grid rows on mobile
 * - Side-by-side student segmented toggle cards
 * - iOS-style extras list with icons and right-aligned rates
 * - Security trust note & celebratory success screen
 *
 * @package Horizontal_Traders
 */

/* ==========================================================================
   1. MODAL BACKDROP & BASE CONTAINER
   ========================================================================== */
.ht-bkg-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	display: none;
	opacity: 0;
	transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ht-bkg-modal.is-open {
	display: block;
	opacity: 1;
}

.ht-bkg-modal__backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(3, 20, 36, 0.72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.ht-bkg-modal__container {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.ht-bkg-modal__dialog {
	position: relative;
	background: #ffffff;
	border-radius: 18px;
	max-width: 1040px;
	width: 100%;
	max-height: min(92vh, 740px);
	box-shadow: 0 25px 60px -15px rgba(0, 21, 46, 0.35);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	animation: htModalPop 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes htModalPop {
	0% {
		opacity: 0;
		transform: scale(0.96) translateY(12px);
	}
	100% {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

/* ==========================================================================
   2. MODAL HEADER & STEPPER
   ========================================================================== */
.ht-bkg-modal__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 22px 10px;
	border-bottom: 1px solid #f1f5f9;
	background: #ffffff;
	flex: 0 0 auto;
}

.ht-bkg-modal__title {
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 18px;
	font-weight: 800;
	color: #0a2540;
	margin: 0;
	line-height: 1.2;
}

.ht-bkg-modal__subtitle {
	font-size: 12px;
	color: #64748b;
	margin: 2px 0 0;
}

.ht-bkg-modal__close {
	background: transparent;
	border: none;
	cursor: pointer;
	color: #94a3b8;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	margin-right: -4px;
}

.ht-bkg-modal__close:hover {
	background: #f1f5f9;
	color: #0f172a;
	transform: rotate(90deg);
}

/* Stepper Bar */
.ht-bkg-stepper {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	background: #ffffff;
	padding: 8px 18px 10px;
	border-bottom: 1px solid #f1f5f9;
	gap: 0;
	flex: 0 0 auto;
}

.ht-bkg-step-node {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: #94a3b8;
	font-size: 11px;
	font-weight: 600;
	transition: all 0.25s ease;
	flex: 0 0 82px;
	text-align: center;
}

.ht-bkg-step-node__circle {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2px solid #cbd5e1;
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	transition: all 0.25s ease;
}

.ht-bkg-step-node__check {
	display: none;
}

.ht-bkg-step-node__label {
	display: block;
	font-size: 11.5px;
	color: #64748b;
	font-weight: 600;
	line-height: 1.2;
}

.ht-bkg-step-node.is-active {
	color: #0284c7;
}

.ht-bkg-step-node.is-active .ht-bkg-step-node__circle {
	background: #0284c7;
	border-color: #0284c7;
	color: #ffffff;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.22);
}

.ht-bkg-step-node.is-active .ht-bkg-step-node__label {
	color: #0a2540;
	font-weight: 700;
}

.ht-bkg-step-node.is-completed .ht-bkg-step-node__circle {
	background: #0284c7;
	border-color: #0284c7;
	color: #ffffff;
}

.ht-bkg-step-node.is-completed .ht-bkg-step-node__num {
	display: none;
}

.ht-bkg-step-node.is-completed .ht-bkg-step-node__check {
	display: block;
}

.ht-bkg-step-node.is-completed .ht-bkg-step-node__label {
	color: #0284c7;
}

.ht-bkg-step-line {
	flex: 1;
	max-width: 50px;
	height: 2px;
	background: #e2e8f0;
	margin-top: 11px;
	transition: background 0.25s ease;
}

.ht-bkg-step-line.is-active {
	background: #0284c7;
}

/* ==========================================================================
   3. PINNED COMPACT VEHICLE CARD (PERSISTENT ON ALL STEPS)
   ========================================================================== */
.ht-bkg-vcard {
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 21, 46, 0.04);
	margin-bottom: 12px;
	overflow: hidden;
	transition: all 0.2s ease;
	flex: 0 0 auto;
}

.ht-bkg-vcard:hover {
	border-color: #cbd5e1;
	box-shadow: 0 4px 14px rgba(0, 21, 46, 0.06);
}

.ht-bkg-vcard__top {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
}

.ht-bkg-vcard__media {
	width: 76px;
	height: 48px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8fafc;
	border-radius: 6px;
	padding: 2px;
}

.ht-bkg-vcard__media img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.08));
}

.ht-bkg-vcard__info {
	flex: 1;
	min-width: 0;
}

.ht-bkg-vcard__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.ht-bkg-vcard__title {
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	font-weight: 800;
	color: #0a2540;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ht-bkg-vcard__change-btn {
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	color: #0284c7;
	border-radius: 6px;
	padding: 2px 7px;
	font-size: 10.5px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	transition: all 0.15s ease;
	flex-shrink: 0;
}

.ht-bkg-vcard__change-btn:hover {
	background: #e0f2fe;
	border-color: #7dd3fc;
}

.ht-bkg-vcard__sub {
	font-size: 11.5px;
	color: #64748b;
	display: block;
	margin: 1px 0 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ht-bkg-vcard__specs {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.ht-bkg-vspec {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 10.5px;
	font-weight: 600;
	color: #475569;
}

.ht-bkg-vspec svg {
	color: #0284c7;
	flex-shrink: 0;
}

/* Rates Bar */
.ht-bkg-vcard__rates {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 12px;
	background: #f8fafc;
	border-top: 1px solid #f1f5f9;
	font-size: 11.5px;
	color: #64748b;
}

.ht-bkg-vcard__rate-item {
	display: flex;
	align-items: baseline;
	gap: 3px;
}

.ht-bkg-vcard__rate-lbl {
	font-size: 11px;
	color: #64748b;
}

.ht-bkg-vcard__rate-val {
	font-size: 14.5px;
	font-weight: 800;
	color: #0a2540;
}

.ht-bkg-vcard__rate-val--weekly {
	color: #0284c7;
}

.ht-bkg-vcard__rate-unit {
	font-size: 11px;
	color: #64748b;
}

/* Selector Drawer */
.ht-bkg-vcard__selector-wrap {
	padding: 12px 14px;
	background: #f0f9ff;
	border-top: 1px solid #bae6fd;
	animation: htFadeIn 0.2s ease;
}

@keyframes htFadeIn {
	0% { opacity: 0; transform: translateY(-4px); }
	100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   4. TWO-COLUMN LAYOUT (DESKTOP)
   ========================================================================== */
.ht-bkg-modal__layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

.ht-bkg-modal__form-col {
	padding: 16px 22px 14px;
	display: flex;
	flex-direction: column;
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 transparent;
}

.ht-bkg-modal__form-col::-webkit-scrollbar {
	width: 5px;
}

.ht-bkg-modal__form-col::-webkit-scrollbar-track {
	background: transparent;
}

.ht-bkg-modal__form-col::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}

.ht-bkg-modal__summary-col {
	background: #f8fafc;
	border-left: 1px solid #e2e8f0;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 transparent;
}

.ht-bkg-modal__summary-col::-webkit-scrollbar {
	width: 5px;
}

.ht-bkg-modal__summary-col::-webkit-scrollbar-track {
	background: transparent;
}

.ht-bkg-modal__summary-col::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}

/* ==========================================================================
   5. FORM PANES & INPUT CONTROLS
   ========================================================================== */
.ht-bkg-pane {
	display: none;
	animation: htPaneSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ht-bkg-pane.is-active {
	display: block;
}

@keyframes htPaneSlideIn {
	0% { opacity: 0; transform: translateX(8px); }
	100% { opacity: 1; transform: translateX(0); }
}

.ht-bkg-section-head {
	margin-bottom: 12px;
}

.ht-bkg-section-title {
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 16px;
	font-weight: 800;
	color: #0a2540;
	margin: 0 0 2px;
}

.ht-bkg-section-desc {
	font-size: 12px;
	color: #64748b;
	margin: 0;
}

.ht-bkg-field {
	margin-bottom: 10px;
}

.ht-bkg-label {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	font-weight: 700;
	color: #334155;
	margin-bottom: 3px;
}

.ht-bkg-label svg {
	color: #64748b;
}

.ht-bkg-input,
.ht-bkg-select {
	width: 100%;
	height: 38px;
	padding: 0 10px;
	font-size: 13px;
	font-family: inherit;
	color: #0f172a;
	background: #ffffff;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	outline: none;
	box-sizing: border-box;
	transition: all 0.2s ease;
}

.ht-bkg-input:focus,
.ht-bkg-select:focus {
	border-color: #0284c7;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.ht-bkg-input.has-error,
.ht-bkg-select.has-error {
	border-color: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
	animation: htShake 0.3s ease;
}

@keyframes htShake {
	0%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(-4px); }
	40%, 80% { transform: translateX(4px); }
}

/* 2-Column Grid Row (Used for Date & Time side-by-side) */
.ht-bkg-grid-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 10px;
}

.ht-bkg-grid-row .ht-bkg-field {
	margin-bottom: 0;
}

/* Different Drop-off Toggle */
.ht-bkg-toggle-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 10px;
	cursor: pointer;
	font-size: 12px;
	color: #475569;
	font-weight: 500;
	user-select: none;
}

.ht-bkg-toggle-check {
	width: 15px;
	height: 15px;
	accent-color: #0284c7;
	cursor: pointer;
}

/* Duration Readonly Box */
.ht-bkg-duration-readonly {
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 8px;
	height: 38px;
	padding: 0 10px;
	font-size: 12.5px;
	font-weight: 600;
	color: #1e293b;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

/* Date of Birth & Live Age Feedback */
.ht-bkg-age-feedback {
	margin-top: 6px;
	animation: htFadeIn 0.25s ease;
}

.ht-bkg-age-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 8px;
	font-size: 12.5px;
	line-height: 1.4;
}

.ht-bkg-age-pill .ht-bkg-age-icon {
	flex-shrink: 0;
}

.ht-bkg-age-feedback--valid .ht-bkg-age-pill {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}
.ht-bkg-age-feedback--valid .ht-bkg-age-icon {
	stroke: #10b981;
}

.ht-bkg-age-feedback--invalid .ht-bkg-age-pill {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}
.ht-bkg-age-feedback--invalid .ht-bkg-age-icon {
	stroke: #ef4444;
}

.ht-bkg-field-hint {
	margin: 6px 0 0;
	font-size: 11.5px;
	color: #64748b;
	line-height: 1.4;
	display: flex;
	align-items: flex-start;
	gap: 4px;
}

.ht-bkg-field-hint svg {
	flex-shrink: 0;
	margin-top: 2px;
}

.ht-bkg-subhint {
	font-size: 11.5px;
	color: #64748b;
	display: block;
	margin-top: -3px;
	margin-bottom: 8px;
}

/* Side-by-side Segmented Radio Cards (Student) */
.ht-bkg-seg-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.ht-bkg-seg-card {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	background: #ffffff;
	cursor: pointer;
	transition: all 0.2s ease;
	user-select: none;
}

.ht-bkg-seg-radio {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ht-bkg-seg-circle {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #cbd5e1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.2s ease;
	background: #ffffff;
}

.ht-bkg-seg-card.is-selected {
	border-color: #0284c7;
	background: #f0f9ff;
	box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12);
}

.ht-bkg-seg-card.is-selected .ht-bkg-seg-circle {
	border-color: #0284c7;
	background: #0284c7;
	box-shadow: inset 0 0 0 3px #ffffff;
}

.ht-bkg-seg-label {
	font-size: 12.5px;
	font-weight: 600;
	color: #334155;
}

.ht-bkg-seg-card.is-selected .ht-bkg-seg-label {
	color: #0284c7;
	font-weight: 700;
}

/* ==========================================================================
   6. EXTRAS LIST & TERMS CONFIRMATION
   ========================================================================== */
.ht-bkg-extras-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}

.ht-bkg-extra-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 10px;
	border: 1.5px solid #e2e8f0;
	border-radius: 8px;
	background: #ffffff;
	cursor: pointer;
	transition: all 0.2s ease;
	user-select: none;
	margin-bottom: 0;
}

.ht-bkg-extras-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 8px;
}

.ht-bkg-extra-row:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
}

.ht-bkg-extra-row:has(.ht-bkg-extra-check:checked) {
	border-color: #0284c7;
	background: #f0f9ff;
}

.ht-bkg-extra-row__left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ht-bkg-extra-check {
	width: 16px;
	height: 16px;
	accent-color: #0284c7;
	cursor: pointer;
}

.ht-bkg-extra-row__icon {
	color: #0284c7;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ht-bkg-extra-row__name {
	font-size: 12.5px;
	font-weight: 700;
	color: #0f172a;
}

.ht-bkg-extra-row__price {
	font-size: 11.5px;
	font-weight: 600;
	color: #64748b;
	white-space: nowrap;
}

.ht-bkg-extra-row:has(.ht-bkg-extra-check:checked) .ht-bkg-extra-row__price {
	color: #0284c7;
	font-weight: 700;
}

/* Terms & Confirmation Card */
.ht-bkg-terms-card {
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	padding: 10px 12px;
	margin-top: 6px;
	margin-bottom: 10px;
}

.ht-bkg-terms-heading {
	font-size: 12.5px;
	font-weight: 800;
	color: #0a2540;
	margin: 0 0 6px;
}

.ht-bkg-term-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 6px;
	font-size: 11.5px;
	color: #334155;
	line-height: 1.4;
	cursor: pointer;
}

.ht-bkg-term-item:last-child {
	margin-bottom: 0;
}

.ht-bkg-term-check {
	width: 15px;
	height: 15px;
	accent-color: #0284c7;
	margin-top: 2px;
	cursor: pointer;
	flex-shrink: 0;
}

/* ==========================================================================
   7. ACTIONS & BUTTONS
   ========================================================================== */
.ht-bkg-actions {
	position: sticky;
	bottom: 0;
	margin-top: auto;
	margin-left: -22px;
	margin-right: -22px;
	margin-bottom: -14px;
	padding: 10px 22px 12px;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-top: 1px solid #e2e8f0;
	box-shadow: 0 -4px 14px rgba(0, 21, 46, 0.05);
	z-index: 30;
}

.ht-bkg-actions--single {
	width: auto;
}

.ht-bkg-actions--split {
	display: flex;
	gap: 10px;
	align-items: center;
	width: auto;
}

.ht-bkg-actions--split .ht-bkg-btn--subtle {
	flex: 0 0 88px;
	min-width: 88px;
}

.ht-bkg-actions--split .ht-bkg-btn--primary,
.ht-bkg-actions--split .ht-bkg-btn--success {
	flex: 1 1 auto;
}

.ht-bkg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	font-size: 13.5px;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	border: 1.5px solid transparent;
	font-family: inherit;
	line-height: 1;
}

.ht-bkg-btn svg {
	flex-shrink: 0;
}

.ht-bkg-btn--full {
	width: 100%;
}

.ht-bkg-btn--primary {
	background: #0284c7;
	color: #ffffff;
	border-color: #0284c7;
	box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.ht-bkg-btn--primary:hover {
	background: #0369a1;
	border-color: #0369a1;
	box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.ht-bkg-btn--subtle {
	background: #ffffff;
	border-color: #cbd5e1;
	color: #475569;
	min-width: 90px;
}

.ht-bkg-btn--subtle:hover {
	background: #f8fafc;
	color: #0f172a;
	border-color: #94a3b8;
}

.ht-bkg-btn--success {
	background: #059669;
	color: #ffffff;
	border-color: #059669;
	flex: 1;
	box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.ht-bkg-btn--success:hover {
	background: #047857;
	border-color: #047857;
	box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}

.ht-bkg-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.ht-bkg-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: #ffffff;
	animation: htSpin 0.7s linear infinite;
}

@keyframes htSpin {
	to { transform: rotate(360deg); }
}

/* Security Trust Note */
.ht-bkg-trust-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 12px;
	color: #64748b;
	text-align: center;
}

.ht-bkg-trust-note svg {
	color: #94a3b8;
	flex-shrink: 0;
}

/* Error Banner */
.ht-bkg-error-banner {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 12.5px;
	margin-top: 12px;
	line-height: 1.4;
	animation: htFadeIn 0.2s ease;
}

/* ==========================================================================
   8. DESKTOP SUMMARY SIDEBAR STYLES
   ========================================================================== */
.ht-bkg-summary-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ht-bkg-summary-media {
	width: 100%;
	aspect-ratio: 16/10;
	max-height: 85px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 6px;
}

.ht-bkg-summary-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

.ht-bkg-summary-title {
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 15px;
	font-weight: 800;
	color: #0a2540;
	margin: 0;
	line-height: 1.2;
}

.ht-bkg-summary-subtitle {
	font-size: 11.5px;
	color: #64748b;
	display: block;
	margin: 1px 0 6px;
}

.ht-bkg-summary-specs {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin: 4px 0 8px;
}

.ht-bkg-spec-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1;
	box-shadow: 0 1px 2px rgba(0,0,0,0.03);
	transition: all 0.2s ease;
}

.ht-bkg-spec-pill .ht-bkg-pill-icon {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
}

.ht-bkg-spec-pill--seats {
	background: #f0f9ff;
	border-color: #bae6fd;
	color: #0369a1;
}
.ht-bkg-spec-pill--seats .ht-bkg-pill-icon {
	color: #0284c7;
}

.ht-bkg-spec-pill--trans {
	background: #f0fdf4;
	border-color: #bbf7d0;
	color: #15803d;
}
.ht-bkg-spec-pill--trans .ht-bkg-pill-icon {
	color: #16a34a;
}

.ht-bkg-spec-pill--fuel {
	background: #fffbeb;
	border-color: #fde68a;
	color: #b45309;
}
.ht-bkg-spec-pill--fuel .ht-bkg-pill-icon {
	color: #d97706;
}

.ht-bkg-summary-pricing {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 8px 10px;
	margin-bottom: 8px;
}

.ht-bkg-rate-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

.ht-bkg-rate-lbl {
	font-size: 11.5px;
	color: #64748b;
}

.ht-bkg-rate-num {
	font-size: 16px;
	font-weight: 800;
	color: #0a2540;
}

.ht-bkg-rate-num span {
	font-size: 11px;
	color: #64748b;
	font-weight: 500;
}

.ht-bkg-rate-row--sub {
	font-size: 11.5px;
	color: #64748b;
	margin-top: 3px;
	padding-top: 3px;
	border-top: 1px dashed #f1f5f9;
}

.ht-bkg-rate-row--sub strong {
	color: #0284c7;
}

.ht-bkg-student-applied {
	margin-top: 6px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
	padding: 3px 6px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 4px;
}

.ht-bkg-calc-box {
	background: #f0fdf4;
	border: 1.5px solid #86efac;
	border-radius: 8px;
	padding: 8px 10px;
	margin-bottom: 8px;
}

.ht-bkg-calc-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 12.5px;
	font-weight: 700;
	color: #14532d;
}

.ht-bkg-calc-amount {
	font-size: 17px;
	font-weight: 800;
	color: #15803d;
}

.ht-bkg-calc-sub {
	display: block;
	font-size: 10.5px;
	color: #166534;
	margin-top: 2px;
}

.ht-bkg-trust-list {
	list-style: none;
	padding: 0;
	margin: 0 0 8px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.ht-bkg-trust-list li {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: #475569;
}

.ht-bkg-trust-list li svg {
	flex-shrink: 0;
	width: 13px;
	height: 13px;
}

.ht-bkg-help-box {
	margin-top: auto;
	padding-top: 8px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.ht-bkg-help-icon {
	width: 28px;
	height: 28px;
	background: #eff6ff;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #0284c7;
	flex-shrink: 0;
}

.ht-bkg-help-text {
	display: flex;
	flex-direction: column;
	font-size: 11.5px;
	line-height: 1.35;
	color: #64748b;
}

.ht-bkg-help-text strong {
	color: #0f172a;
	font-size: 12px;
}

.ht-bkg-help-text a {
	color: #01757f;
	font-weight: 700;
	text-decoration: none;
}

.ht-bkg-help-sub {
	color: #94a3b8;
}

/* ==========================================================================
   9. SUCCESS STEP PANE
   ========================================================================== */
.ht-bkg-pane--success {
	text-align: center;
	padding: 20px 10px;
}

.ht-bkg-success-icon {
	width: 68px;
	height: 68px;
	background: #059669;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
	animation: htPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes htPopIn {
	0% { transform: scale(0.5); opacity: 0; }
	100% { transform: scale(1); opacity: 1; }
}

.ht-bkg-success-title {
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 22px;
	font-weight: 800;
	color: #0a2540;
	margin: 0 0 6px;
}

.ht-bkg-success-sub {
	font-size: 13.5px;
	color: #64748b;
	margin: 0 0 20px;
}

.ht-bkg-success-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e3a8a;
	padding: 8px 18px;
	border-radius: 9999px;
	font-size: 13.5px;
	margin-bottom: 20px;
}

.ht-bkg-success-badge strong {
	color: #0284c7;
	font-size: 15px;
}

.ht-bkg-success-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 20px;
	max-width: 420px;
	margin: 0 auto 20px;
	text-align: left;
}

.ht-bkg-success-row {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	font-size: 13.5px;
	border-bottom: 1px solid #f1f5f9;
}

.ht-bkg-success-row:last-child {
	border-bottom: none;
	padding-top: 8px;
}

.ht-bkg-success-row span {
	color: #64748b;
}

.ht-bkg-price-highlight {
	color: #059669;
	font-size: 16px;
	font-weight: 800;
}

.ht-bkg-success-note {
	font-size: 12.5px;
	color: #64748b;
	max-width: 440px;
	margin: 0 auto 24px;
	line-height: 1.5;
}

.ht-bkg-done-btn {
	min-width: 200px;
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS (NATIVE MOBILE APP SHELL)
   ========================================================================== */
@media (max-width: 860px) {
	/* Hide desktop summary column on mobile to match native app reference */
	.ht-bkg-modal__summary-col {
		display: none !important;
	}

	.ht-bkg-modal__container {
		padding: 0;
		align-items: flex-end;
		overflow: hidden;
	}

	.ht-bkg-modal__dialog {
		border-radius: 22px 22px 0 0;
		height: 92vh;
		max-height: calc(100dvh - 16px);
		width: 100%;
		max-width: 520px;
		margin: 0 auto;
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}

	.ht-bkg-modal__header {
		flex: 0 0 auto;
		padding: 14px 18px 12px;
	}

	.ht-bkg-modal__title {
		font-size: 18px;
	}

	.ht-bkg-modal__subtitle {
		font-size: 12px;
	}

	.ht-bkg-stepper {
		flex: 0 0 auto;
		padding: 10px 14px 12px;
		justify-content: space-around;
	}

	.ht-bkg-step-node {
		flex: 0 0 auto;
	}

	.ht-bkg-step-node__label {
		display: block;
		font-size: 11px;
	}

	.ht-bkg-step-line {
		max-width: 40px;
		margin-top: 14px;
	}

	.ht-bkg-modal__layout {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		min-height: 0;
		overflow: hidden;
	}

	.ht-bkg-modal__form-col {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		min-height: 0;
		padding: 14px 18px 0;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-color: #cbd5e1 transparent;
	}

	.ht-bkg-modal__form-col::-webkit-scrollbar {
		width: 5px;
	}

	.ht-bkg-modal__form-col::-webkit-scrollbar-track {
		background: transparent;
	}

	.ht-bkg-modal__form-col::-webkit-scrollbar-thumb {
		background: #cbd5e1;
		border-radius: 4px;
	}

	.ht-bkg-modal__form-col::-webkit-scrollbar-thumb:hover {
		background: #94a3b8;
	}

	.ht-bkg-field,
	.ht-bkg-grid-row,
	.ht-bkg-toggle-item,
	.ht-bkg-extras-list,
	.ht-bkg-terms-card,
	.ht-bkg-trust-note,
	.ht-bkg-section-head {
		flex-shrink: 0;
	}

	#ht-bkg-booking-form {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		min-height: 0;
		overflow-x: hidden;
	}

	.ht-bkg-pane.is-active {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		min-height: 0;
		overflow-x: hidden;
	}

	.ht-bkg-pane > .ht-bkg-field:last-of-type,
	.ht-bkg-pane > .ht-bkg-terms-card,
	.ht-bkg-pane > .ht-bkg-trust-note {
		margin-bottom: 20px;
	}

	.ht-bkg-vcard {
		flex: 0 0 auto;
		margin-bottom: 14px;
	}

	.ht-bkg-vcard__top {
		padding: 10px 12px;
		gap: 12px;
	}

	.ht-bkg-vcard__media {
		width: 88px;
		height: 56px;
	}

	.ht-bkg-vcard__title {
		font-size: 14px;
	}

	.ht-bkg-vcard__specs {
		gap: 8px;
	}

	.ht-bkg-vspec {
		font-size: 11px;
	}

	.ht-bkg-grid-row {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.ht-bkg-seg-group {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.ht-bkg-seg-card {
		padding: 9px 10px;
	}

	.ht-bkg-seg-label {
		font-size: 11.5px;
	}

	.ht-bkg-extra-row {
		padding: 10px 12px;
	}

	.ht-bkg-extra-row__name {
		font-size: 13px;
	}

	.ht-bkg-extra-row__price {
		font-size: 12.5px;
	}

	.ht-bkg-actions {
		position: sticky;
		bottom: 0;
		margin-top: auto;
		margin-left: -18px;
		margin-right: -18px;
		margin-bottom: 0;
		width: auto !important;
		box-sizing: border-box;
		padding: 12px 18px;
		padding-bottom: max(14px, env(safe-area-inset-bottom, 14px));
		background: #ffffff;
		border-top: 1px solid #e2e8f0;
		box-shadow: 0 -4px 18px rgba(0, 21, 46, 0.09);
		z-index: 60;
	}

	.ht-bkg-actions--single {
		width: auto !important;
	}

	.ht-bkg-actions--split {
		width: auto !important;
		display: flex;
		gap: 10px;
		align-items: center;
	}

	.ht-bkg-actions--split .ht-bkg-btn--subtle {
		flex: 0 0 88px;
		min-width: 88px;
	}

	.ht-bkg-actions--split .ht-bkg-btn--primary,
	.ht-bkg-actions--split .ht-bkg-btn--success {
		flex: 1 1 auto;
	}
}

@media (max-width: 640px) {
	.ht-bkg-grid-row--contact {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.ht-bkg-extras-list {
		grid-template-columns: 1fr;
		gap: 6px;
	}
}

@media (max-width: 420px) {
	.ht-bkg-modal__dialog {
		height: 94vh;
	}

	.ht-bkg-modal__header {
		padding: 12px 14px 10px;
	}

	.ht-bkg-modal__title {
		font-size: 16.5px;
	}

	.ht-bkg-modal__subtitle {
		font-size: 11.5px;
	}

	.ht-bkg-stepper {
		padding: 8px 10px 10px;
	}

	.ht-bkg-step-node__circle {
		width: 24px;
		height: 24px;
		font-size: 11px;
	}

	.ht-bkg-step-node__label {
		font-size: 10px;
	}

	.ht-bkg-step-line {
		max-width: 24px;
		margin-top: 11px;
	}

	.ht-bkg-modal__form-col {
		padding: 12px 14px 0;
		overflow-x: hidden;
	}

	.ht-bkg-actions {
		margin-left: -14px;
		margin-right: -14px;
		width: auto !important;
		padding: 10px 14px;
		padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
	}

	.ht-bkg-actions--single,
	.ht-bkg-actions--split {
		width: auto !important;
	}

	.ht-bkg-vcard__media {
		width: 76px;
		height: 48px;
	}

	.ht-bkg-vcard__title {
		font-size: 13.5px;
	}

	.ht-bkg-grid-row {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.ht-bkg-seg-group {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.ht-bkg-btn {
		padding: 11px 16px;
		font-size: 13.5px;
	}
}
