/* Contract Hire & Vehicle Leasing — Scoped Frontend Styles */

/* ── Layout 1: Search Box ────────────────────────────────────────────────── */
.chvl-search-box,
.chvl-search-box *,
.chvl-offers-wrap,
.chvl-offers-wrap *,
.chvl-modal-backdrop,
.chvl-modal-backdrop * {
	box-sizing: border-box;
}

.chvl-search-box {
	background: linear-gradient(160deg, #00103a 0%, #00184a 60%, #002360 100%);
	color: #ffffff;
	padding: 32px 28px 28px;
	max-width: 460px;
	width: 100%;
	margin: 0 auto;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 20px 45px rgba(0, 12, 42, 0.38);
	font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	line-height: 1.45;
}

.chvl-search-header {
	margin-bottom: 18px;
}

.chvl-search-title {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
	letter-spacing: -0.01em;
}

.chvl-search-subtitle {
	margin: 0;
	font-size: 13.5px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.88);
}

.chvl-type-toggle-row {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 14px;
}

.chvl-type-toggle {
	display: inline-flex;
	background: #ffffff;
	padding: 3px;
	border-radius: 6px;
	gap: 2px;
}

.chvl-search-box button.chvl-type-btn {
	appearance: none;
	border: none;
	background: transparent;
	background-color: transparent;
	color: #001442;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 700;
	padding: 7px 14px;
	margin: 0;
	border-radius: 4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
	line-height: 1.2;
	box-shadow: none;
	animation: none;
}

.chvl-search-box button.chvl-type-btn svg.chvl-type-icon {
	flex-shrink: 0;
}

.chvl-search-box button.chvl-type-btn:hover,
.chvl-search-box button.chvl-type-btn:focus,
.chvl-search-box button.chvl-type-btn:active {
	background: rgba(0, 20, 66, 0.08);
	background-color: rgba(0, 20, 66, 0.08);
	color: #001442;
	border: none;
	outline: none;
	text-decoration: none;
	animation: none;
}

.chvl-search-box button.chvl-type-btn.is-active,
.chvl-search-box button.chvl-type-btn.is-active:hover,
.chvl-search-box button.chvl-type-btn.is-active:focus,
.chvl-search-box button.chvl-type-btn.is-active:active {
	background: #001442;
	background-color: #001442;
	color: #ffffff;
	border: none;
	outline: none;
	animation: none;
}

.chvl-search-box button.chvl-type-btn:focus-visible {
	outline: 2px solid #5aa2ff;
	outline-offset: 2px;
}

.chvl-search-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.chvl-search-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.chvl-search-field label {
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
}

.chvl-select-wrap {
	position: relative;
}

.chvl-search-box select.chvl-select {
	width: 100%;
	height: 46px;
	padding: 0 38px 0 14px;
	background-color: #ffffff;
	color: #1f2937;
	border: 1.5px solid #d1d9e6;
	border-radius: 6px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230a1628' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px 16px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}

.chvl-search-box select.chvl-select:disabled {
	background-color: #e8eef7;
	color: #64748b;
	border-color: #c5d1e2;
	cursor: not-allowed;
	opacity: 0.85;
}

.chvl-search-box select.chvl-select:focus {
	outline: none;
	border-color: #2d7cd6;
	box-shadow: 0 0 0 3px rgba(45, 124, 214, 0.35);
}

.chvl-search-actions {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.chvl-search-box button.chvl-search-btn {
	width: 100%;
	appearance: none;
	border: none;
	background: #2d7cd6;
	background-color: #2d7cd6;
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	padding: 14px 28px;
	margin: 0;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 6px 16px rgba(45, 124, 214, 0.3);
	animation: none;
	transition: background-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.chvl-search-box button.chvl-search-btn svg.chvl-btn-arrow {
	transition: transform 0.18s ease;
}

.chvl-search-box button.chvl-search-btn:hover svg.chvl-btn-arrow {
	transform: translateX(3px);
}

.chvl-search-box button.chvl-search-btn:hover,
.chvl-search-box button.chvl-search-btn:focus,
.chvl-search-box button.chvl-search-btn:active {
	background: #2368b8;
	background-color: #2368b8;
	color: #ffffff;
	border: none;
	outline: none;
	text-decoration: none;
	animation: none;
}

.chvl-search-box button.chvl-search-btn:active {
	transform: translateY(1px);
}

.chvl-search-box button.chvl-search-btn:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.chvl-search-box .chvl-contact-link {
	background: transparent;
	background-color: transparent;
	border: none;
	padding: 0;
	margin: 0;
	color: #ffffff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	box-shadow: none;
	animation: none;
	transition: opacity 0.15s ease;
}

.chvl-search-box .chvl-contact-link:hover,
.chvl-search-box .chvl-contact-link:focus,
.chvl-search-box .chvl-contact-link:active {
	background: transparent;
	background-color: transparent;
	border: none;
	color: #dbeafe;
	opacity: 0.92;
	text-decoration: underline;
	outline: none;
	animation: none;
}

.chvl-search-box .chvl-contact-link:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

/* ── Layout 2: Vehicle Offer Cards Grid ──────────────────────────────────── */
.chvl-offers-wrap {
	font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
}

.chvl-offers-wrap .chvl-card[hidden],
.chvl-offers-wrap .chvl-no-filter-matches[hidden],
.chvl-offers-wrap .chvl-filter-reset[hidden] {
	display: none !important;
}

/* Offer Grid Filter Bar */
.chvl-offers-filter {
	margin-bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.chvl-filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	background: #f5f8fd;
	border: 1.5px solid #cdd9ec;
	border-radius: 10px;
	padding: 12px 14px;
}

.chvl-filter-types {
	display: inline-flex;
	flex-wrap: wrap;
	background: #ffffff;
	border: 1px solid #cbd5e4;
	border-radius: 7px;
	padding: 3px;
	gap: 3px;
}

.chvl-offers-wrap button.chvl-filter-type-btn {
	appearance: none;
	border: none;
	background: transparent;
	background-color: transparent;
	color: #042458;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	padding: 8px 15px;
	margin: 0;
	border-radius: 5px;
	cursor: pointer;
	box-shadow: none;
	animation: none;
	transition: background-color 0.16s ease, color 0.16s ease;
}

.chvl-offers-wrap button.chvl-filter-type-btn:hover,
.chvl-offers-wrap button.chvl-filter-type-btn:focus,
.chvl-offers-wrap button.chvl-filter-type-btn:active {
	background: rgba(4, 36, 88, 0.08);
	background-color: rgba(4, 36, 88, 0.08);
	color: #042458;
	border: none;
	outline: none;
	text-decoration: none;
	animation: none;
}

.chvl-offers-wrap button.chvl-filter-type-btn.is-active,
.chvl-offers-wrap button.chvl-filter-type-btn.is-active:hover,
.chvl-offers-wrap button.chvl-filter-type-btn.is-active:focus,
.chvl-offers-wrap button.chvl-filter-type-btn.is-active:active {
	background: #042458;
	background-color: #042458;
	color: #ffffff;
	border: none;
	outline: none;
	animation: none;
}

.chvl-offers-wrap button.chvl-filter-type-btn:focus-visible {
	outline: 2px solid #2d7cd6;
	outline-offset: 2px;
}

.chvl-filter-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	flex: 1;
	justify-content: flex-end;
	min-width: 260px;
}

.chvl-filter-select-wrap {
	min-width: 170px;
}

.chvl-offers-wrap select.chvl-filter-make {
	width: 100%;
	height: 40px;
	padding: 0 34px 0 12px;
	border: 1.5px solid #cbd5e4;
	border-radius: 6px;
	background-color: #ffffff;
	color: #0f172a;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 500;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23042458' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 15px 15px;
}

.chvl-offers-wrap select.chvl-filter-make:focus {
	outline: none;
	border-color: #2d7cd6;
	box-shadow: 0 0 0 3px rgba(45, 124, 214, 0.18);
}

.chvl-filter-search-wrap {
	position: relative;
	flex: 1;
	min-width: 200px;
	max-width: 300px;
}

.chvl-filter-search-icon {
	position: absolute;
	left: 11px;
	top: 50%;
	transform: translateY(-50%);
	color: #5b667a;
	pointer-events: none;
}

.chvl-offers-wrap input.chvl-filter-search {
	width: 100%;
	height: 40px;
	padding: 0 12px 0 34px;
	border: 1.5px solid #cbd5e4;
	border-radius: 6px;
	background: #ffffff;
	color: #0f172a;
	font-family: inherit;
	font-size: 13.5px;
	margin: 0;
}

.chvl-offers-wrap input.chvl-filter-search:focus {
	outline: none;
	border-color: #2d7cd6;
	box-shadow: 0 0 0 3px rgba(45, 124, 214, 0.18);
}

.chvl-filter-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 2px;
	font-size: 13px;
	color: #5b667a;
	font-weight: 500;
}

.chvl-offers-wrap button.chvl-filter-reset {
	background: transparent;
	background-color: transparent;
	border: none;
	padding: 0;
	margin: 0;
	color: #2d64b3;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
	box-shadow: none;
	animation: none;
}

.chvl-offers-wrap button.chvl-filter-reset:hover,
.chvl-offers-wrap button.chvl-filter-reset:focus,
.chvl-offers-wrap button.chvl-filter-reset:active {
	background: transparent;
	background-color: transparent;
	border: none;
	color: #042458;
	text-decoration: underline;
	outline: none;
	animation: none;
}

@media (max-width: 720px) {
	.chvl-filter-bar {
		flex-direction: column;
		align-items: stretch;
	}

	.chvl-filter-types {
		width: 100%;
		justify-content: space-between;
	}

	.chvl-offers-wrap button.chvl-filter-type-btn {
		flex: 1;
		text-align: center;
		padding: 8px 10px;
	}

	.chvl-filter-controls {
		width: 100%;
		min-width: 0;
	}

	.chvl-filter-select-wrap,
	.chvl-filter-search-wrap {
		max-width: none;
		flex: 1 1 100%;
	}
}

.chvl-offers-grid {
	display: grid;
	grid-template-columns: repeat(var(--chvl-cols, 3), minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.chvl-offers-grid.chvl-cols-1 {
	grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1024px) {
	.chvl-offers-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.chvl-offers-grid.chvl-cols-1 {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 680px) {
	.chvl-offers-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.chvl-card {
	background: #f5f8fd;
	border: 2px solid #0a2558;
	border-radius: 14px;
	box-shadow: 2px 3px 0 0 #0a2558;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: #0a1628;
}

.chvl-card-header {
	padding: 18px 20px 14px;
}

.chvl-card-eyebrow {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #2d64b3;
	margin-bottom: 5px;
}

.chvl-eyebrow-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #2d7cd6;
	flex-shrink: 0;
}

.chvl-card-title {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: #0a1628;
}

.chvl-card-variant {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: #5b667a;
	line-height: 1.4;
}

.chvl-card-media {
	width: 100%;
	aspect-ratio: 16 / 10;
	background: linear-gradient(180deg, #cfd6e1 0%, #e7ecf3 100%);
	overflow: hidden;
	position: relative;
}

.chvl-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Card Photo Gallery Slider */
.chvl-card-gallery {
	position: relative;
	width: 100%;
	height: 100%;
}

.chvl-gallery-slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.chvl-gallery-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.chvl-gallery-slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.chvl-gallery-counter {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	background: rgba(4, 36, 88, 0.78);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 999px;
	line-height: 1.3;
	pointer-events: none;
}

.chvl-offers-wrap button.chvl-gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 30px;
	min-width: 30px;
	height: 30px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 50%;
	background: rgba(4, 36, 88, 0.78);
	background-color: rgba(4, 36, 88, 0.78);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
	animation: none;
	transition: background-color 0.15s ease;
}

.chvl-offers-wrap button.chvl-gallery-nav svg {
	width: 16px;
	height: 16px;
	min-width: 16px;
	min-height: 16px;
	display: block;
	stroke: #ffffff;
	pointer-events: none;
}

.chvl-offers-wrap button.chvl-gallery-nav.chvl-gallery-prev {
	left: 10px;
}

.chvl-offers-wrap button.chvl-gallery-nav.chvl-gallery-next {
	right: 10px;
}

.chvl-offers-wrap button.chvl-gallery-nav:hover,
.chvl-offers-wrap button.chvl-gallery-nav:focus,
.chvl-offers-wrap button.chvl-gallery-nav:active {
	background: #042458;
	background-color: #042458;
	color: #ffffff;
	border: none;
	outline: none;
	animation: none;
}

.chvl-offers-wrap button.chvl-gallery-nav:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.chvl-gallery-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 9px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 0 12px;
}

.chvl-offers-wrap button.chvl-gallery-dot {
	width: 8px;
	min-width: 8px;
	height: 8px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.65);
	background-color: rgba(255, 255, 255, 0.65);
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
	animation: none;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.chvl-offers-wrap button.chvl-gallery-dot.is-active,
.chvl-offers-wrap button.chvl-gallery-dot:hover,
.chvl-offers-wrap button.chvl-gallery-dot:focus {
	background: #042458;
	background-color: #042458;
	border: none;
	outline: none;
	transform: scale(1.18);
	animation: none;
}

.chvl-card-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.chvl-card-placeholder svg {
	width: 58%;
	max-width: 180px;
	height: auto;
}

.chvl-card-body {
	padding: 16px 20px 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.chvl-card-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chvl-pill {
	display: inline-block;
	background: #042458;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	padding: 6px 14px;
	border-radius: 5px;
}

.chvl-card-pricing {
	border-top: 1px solid #cbd5e4;
	padding-top: 14px;
}

.chvl-pricing-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #5b667a;
	margin-bottom: 4px;
}

.chvl-pricing-headline {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 4px;
}

.chvl-price-amount {
	font-size: 31px;
	font-weight: 800;
	line-height: 1.1;
	color: #0a1628;
	letter-spacing: -0.02em;
}

.chvl-price-suffix {
	font-size: 13px;
	font-weight: 500;
	color: #5b667a;
}

.chvl-price-subtext {
	margin: 0 0 12px;
	font-size: 12.5px;
	color: #5b667a;
}

.chvl-specs-list {
	margin: 0;
	padding: 0;
}

.chvl-spec-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 7px 0;
	border-bottom: 1px solid #dce3ee;
	font-size: 12.5px;
}

.chvl-spec-row:last-child {
	border-bottom: none;
}

.chvl-spec-row dt {
	margin: 0;
	color: #475569;
	font-weight: 500;
}

.chvl-spec-row dd {
	margin: 0;
	color: #0a1628;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

.chvl-card-footer {
	margin-top: auto;
	padding: 16px 20px 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.chvl-offers-wrap button.chvl-quote-btn {
	width: 100%;
	appearance: none;
	border: none;
	background: #042458;
	background-color: #042458;
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	padding: 13px 18px;
	margin: 0;
	border-radius: 6px;
	cursor: pointer;
	box-shadow: none;
	animation: none;
	transition: background-color 0.18s ease, transform 0.12s ease;
}

.chvl-offers-wrap button.chvl-quote-btn:hover,
.chvl-offers-wrap button.chvl-quote-btn:focus,
.chvl-offers-wrap button.chvl-quote-btn:active {
	background: #0a357a;
	background-color: #0a357a;
	color: #ffffff;
	border: none;
	outline: none;
	text-decoration: none;
	animation: none;
}

.chvl-offers-wrap button.chvl-quote-btn:active {
	transform: translateY(1px);
}

.chvl-offers-wrap button.chvl-quote-btn:focus-visible {
	outline: 2px solid #2d7cd6;
	outline-offset: 2px;
}

.chvl-offers-wrap .chvl-card-secondary-link {
	background: transparent;
	background-color: transparent;
	border: none;
	padding: 0;
	margin: 0;
	color: #4a628a;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	text-align: center;
	box-shadow: none;
	animation: none;
}

.chvl-offers-wrap .chvl-card-secondary-link:hover,
.chvl-offers-wrap .chvl-card-secondary-link:focus,
.chvl-offers-wrap .chvl-card-secondary-link:active {
	background: transparent;
	background-color: transparent;
	border: none;
	color: #042458;
	text-decoration: underline;
	outline: none;
	animation: none;
}

.chvl-offers-wrap .chvl-card-secondary-link:focus-visible {
	outline: 2px solid #2d7cd6;
	outline-offset: 2px;
}

.chvl-no-offers {
	padding: 24px;
	background: #f5f8fd;
	border: 1px solid #cbd5e4;
	border-radius: 8px;
	color: #334155;
	text-align: center;
}

/* ── Shared Quote Pop-Up Modal ───────────────────────────────────────────── */
.chvl-modal-backdrop[hidden],
.chvl-modal-step[hidden],
.chvl-selected-thumb[hidden],
.chvl-change-vehicle-btn[hidden],
.chvl-form-alert[hidden],
.chvl-submit-spinner[hidden] {
	display: none !important;
}

.chvl-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(4, 18, 48, 0.72);
	backdrop-filter: blur(3px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
	font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.chvl-modal-dialog {
	width: 100%;
	max-width: 560px;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 25px 60px rgba(0, 12, 42, 0.42);
	margin: auto;
	color: #0f172a;
	animation: chvlModalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chvlModalIn {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.chvl-modal-topbar {
	background: linear-gradient(135deg, #00103a 0%, #042458 100%);
	color: #ffffff;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.chvl-modal-brand {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
}

.chvl-modal-backdrop button.chvl-modal-close {
	appearance: none;
	border: none;
	background: rgba(255, 255, 255, 0.16);
	background-color: rgba(255, 255, 255, 0.16);
	color: #ffffff;
	width: 36px;
	min-width: 36px;
	height: 36px;
	padding: 0;
	margin: 0;
	line-height: 1;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: none;
	animation: none;
	transition: background-color 0.15s ease;
}

.chvl-modal-backdrop button.chvl-modal-close svg {
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
	display: block;
	flex-shrink: 0;
	stroke: #ffffff;
	pointer-events: none;
}

.chvl-modal-backdrop button.chvl-modal-close:hover,
.chvl-modal-backdrop button.chvl-modal-close:focus,
.chvl-modal-backdrop button.chvl-modal-close:active {
	background: rgba(255, 255, 255, 0.28);
	background-color: rgba(255, 255, 255, 0.28);
	color: #ffffff;
	border: none;
	outline: none;
	text-decoration: none;
	animation: none;
}

.chvl-modal-backdrop button.chvl-modal-close:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.chvl-modal-content {
	padding: 26px 26px 28px;
}

@media (max-width: 540px) {
	.chvl-modal-content {
		padding: 20px 18px 22px;
	}
}

.chvl-modal-heading {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	color: #042458;
	line-height: 1.25;
}

.chvl-modal-intro {
	margin: 0 0 18px;
	font-size: 13.5px;
	color: #475569;
	line-height: 1.5;
}

/* Picker List (No Figures) */
.chvl-picker-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: 330px;
	overflow-y: auto;
	padding-right: 2px;
}

.chvl-picker-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border: 1.5px solid #d5dfed;
	border-radius: 8px;
	background: #f8fafd;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.chvl-picker-item:hover {
	border-color: #042458;
	background: #eef4fc;
}

.chvl-picker-left {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.chvl-picker-thumb {
	width: 68px;
	height: 44px;
	border-radius: 6px;
	overflow: hidden;
	background: #dbe3ef;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.chvl-picker-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.chvl-picker-thumb svg {
	width: 42px;
	height: auto;
}

.chvl-picker-name {
	font-size: 15px;
	font-weight: 700;
	color: #0a1628;
	line-height: 1.25;
}

.chvl-picker-meta {
	font-size: 12px;
	color: #5b667a;
	margin-top: 2px;
}

.chvl-modal-backdrop button.chvl-picker-select-btn {
	appearance: none;
	border: none;
	background: #042458;
	background-color: #042458;
	color: #ffffff;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.25;
	padding: 8px 14px;
	margin: 0;
	border-radius: 5px;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	box-shadow: none;
	animation: none;
}

.chvl-modal-backdrop button.chvl-picker-select-btn:hover,
.chvl-modal-backdrop button.chvl-picker-select-btn:focus,
.chvl-modal-backdrop button.chvl-picker-select-btn:active {
	background: #2d7cd6;
	background-color: #2d7cd6;
	color: #ffffff;
	border: none;
	outline: none;
	text-decoration: none;
	animation: none;
}

.chvl-modal-backdrop button.chvl-picker-select-btn:focus-visible {
	outline: 2px solid #042458;
	outline-offset: 2px;
}

.chvl-picker-fallback {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #e2e8f0;
	text-align: center;
}

.chvl-modal-backdrop button.chvl-link-btn {
	background: transparent;
	background-color: transparent;
	border: none;
	padding: 0;
	margin: 0;
	color: #2d64b3;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
	box-shadow: none;
	animation: none;
}

.chvl-modal-backdrop button.chvl-link-btn:hover,
.chvl-modal-backdrop button.chvl-link-btn:focus,
.chvl-modal-backdrop button.chvl-link-btn:active {
	background: transparent;
	background-color: transparent;
	border: none;
	color: #042458;
	text-decoration: underline;
	outline: none;
	animation: none;
}

/* Selected Vehicle Summary Chip */
.chvl-selected-vehicle-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #f2f6fc;
	border: 1.5px solid #cdd9ec;
	border-radius: 8px;
	padding: 12px 14px;
	margin-bottom: 18px;
}

.chvl-selected-thumb {
	width: 78px;
	height: 50px;
	border-radius: 6px;
	overflow: hidden;
	background: #dce3ee;
	flex-shrink: 0;
}

.chvl-selected-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.chvl-selected-info {
	flex: 1;
	min-width: 0;
}

.chvl-selected-eyebrow {
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #2d64b3;
	margin-bottom: 2px;
}

.chvl-selected-name {
	font-size: 16px;
	font-weight: 700;
	color: #0a1628;
	line-height: 1.25;
}

.chvl-selected-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 5px;
}

.chvl-selected-badge {
	display: inline-block;
	background: #042458;
	color: #ffffff;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 4px;
}

.chvl-modal-backdrop button.chvl-change-vehicle-btn {
	background: transparent;
	background-color: transparent;
	border: none;
	padding: 4px 0;
	margin: 0;
	color: #2d64b3;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
	flex-shrink: 0;
	box-shadow: none;
	animation: none;
}

.chvl-modal-backdrop button.chvl-change-vehicle-btn:hover,
.chvl-modal-backdrop button.chvl-change-vehicle-btn:focus,
.chvl-modal-backdrop button.chvl-change-vehicle-btn:active {
	background: transparent;
	background-color: transparent;
	border: none;
	color: #042458;
	text-decoration: underline;
	outline: none;
	animation: none;
}

/* Quote Form Inputs */
.chvl-quote-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.chvl-hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.chvl-form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

@media (max-width: 540px) {
	.chvl-form-row {
		grid-template-columns: minmax(0, 1fr);
	}
}

.chvl-form-group {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.chvl-form-group label {
	font-size: 13px;
	font-weight: 700;
	color: #1e293b;
	margin: 0;
}

.chvl-req {
	color: #dc2626;
}

.chvl-modal-backdrop .chvl-form-group input {
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 1.5px solid #cbd5e1;
	border-radius: 6px;
	background: #ffffff;
	color: #0f172a;
	font-family: inherit;
	font-size: 14px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.chvl-modal-backdrop .chvl-form-group input:focus {
	outline: none;
	border-color: #2d7cd6;
	box-shadow: 0 0 0 3px rgba(45, 124, 214, 0.2);
}

.chvl-modal-backdrop .chvl-form-group.has-error input {
	border-color: #dc2626;
}

.chvl-field-error {
	font-size: 12px;
	color: #dc2626;
	font-weight: 500;
	min-height: 16px;
}

.chvl-form-alert {
	padding: 11px 14px;
	border-radius: 6px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	font-size: 13px;
	font-weight: 500;
}

.chvl-form-actions {
	margin-top: 6px;
}

.chvl-form-reassurance {
	margin: 10px 0 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 12px;
	color: #64748b;
	line-height: 1.35;
}

.chvl-form-reassurance svg {
	flex-shrink: 0;
	color: #2d64b3;
}

.chvl-modal-backdrop button.chvl-submit-btn {
	width: 100%;
	appearance: none;
	border: none;
	background: #042458;
	background-color: #042458;
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	padding: 13px 22px;
	margin: 0;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-shadow: none;
	animation: none;
	transition: background-color 0.18s ease;
}

.chvl-modal-backdrop button.chvl-submit-btn:hover:not(:disabled),
.chvl-modal-backdrop button.chvl-submit-btn:focus:not(:disabled),
.chvl-modal-backdrop button.chvl-submit-btn:active:not(:disabled) {
	background: #0b367d;
	background-color: #0b367d;
	color: #ffffff;
	border: none;
	outline: none;
	text-decoration: none;
	animation: none;
}

.chvl-modal-backdrop button.chvl-submit-btn:focus-visible {
	outline: 2px solid #2d7cd6;
	outline-offset: 2px;
}

.chvl-modal-backdrop button.chvl-submit-btn:disabled {
	opacity: 0.7;
	cursor: wait;
}

.chvl-submit-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: chvlSpin 0.7s linear infinite;
}

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

/* Confirmation View */
.chvl-step-success {
	text-align: center;
	padding: 8px 4px;
}

.chvl-success-icon {
	width: 58px;
	height: 58px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: #dcfce7;
	color: #15803d;
	display: flex;
	align-items: center;
	justify-content: center;
}

.chvl-success-vehicle {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	color: #0a1628;
}

.chvl-success-message {
	margin: 0 0 14px;
	font-size: 14px;
	color: #475569;
	line-height: 1.55;
}

.chvl-success-ref {
	margin: 0 0 20px;
	font-size: 13px;
	color: #334155;
}
