/**
 * Stylesheet for Flexivan Moving & Transport Services Frontend booking form.
 */

:root {
	--fms-primary: #5850ec;
	--fms-primary-hover: #453ec5;
	--fms-secondary: #f3f4f6;
	--fms-secondary-hover: #e5e7eb;
	--fms-success: #10b981;
	--fms-bg-card: rgba(255, 255, 255, 0.85);
	--fms-border: rgba(229, 231, 235, 0.5);
	--fms-text: #1f2937;
	--fms-text-muted: #6b7280;
	--fms-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
	--fms-radius: 12px;
	--fms-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fms-wizard-container {
	max-width: 900px;
	margin: 2rem auto;
	padding: 2.5rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(243, 244, 246, 0.8) 100%);
	backdrop-filter: blur(10px);
	border: 1px solid var(--fms-border);
	border-radius: 20px;
	box-shadow: var(--fms-shadow);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	color: var(--fms-text);
}

/* Progress Indicators */
.fms-progress-bar-container {
	position: relative;
	margin-bottom: 3rem;
}
.fms-progress-line {
	position: absolute;
	top: 15px;
	left: 5%;
	height: 4px;
	background: var(--fms-primary);
	width: 0%;
	transition: var(--fms-transition);
	z-index: 1;
}
.fms-progress-bar-container::before {
	content: '';
	position: absolute;
	top: 15px;
	left: 5%;
	right: 5%;
	height: 4px;
	background: var(--fms-secondary);
	z-index: 0;
}
.fms-steps-indicators {
	position: relative;
	display: flex;
	justify-content: space-between;
	z-index: 2;
}
.fms-step-dot {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
}
.fms-step-dot span {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--fms-secondary-hover);
	color: var(--fms-text-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	transition: var(--fms-transition);
}
.fms-step-dot label {
	margin-top: 0.5rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--fms-text-muted);
	transition: var(--fms-transition);
}
.fms-step-dot.active span {
	background: var(--fms-primary);
	border-color: var(--fms-primary);
	color: #fff;
	box-shadow: 0 0 10px rgba(88, 80, 236, 0.4);
}
.fms-step-dot.active label {
	color: var(--fms-primary);
	font-weight: 600;
}

/* Steps Content animation */
.fms-wizard-step {
	display: none;
	opacity: 0;
	transform: translateY(10px);
	transition: var(--fms-transition);
}
.fms-wizard-step.active {
	display: block;
	opacity: 1;
	transform: translateY(0);
}
.fms-wizard-step.fms-step-hidden,
.fms-step-dot.fms-step-hidden {
	display: none !important;
}
.fms-wizard-step h2 {
	font-size: 1.75rem;
	margin-bottom: 0.25rem;
	font-weight: 700;
	letter-spacing: -0.025em;
}
.step-desc {
	color: var(--fms-text-muted);
	margin-bottom: 2rem;
	font-size: 0.95rem;
}

/* Grid layout for Cards selectors */
.fms-grid-cards, .fms-grid-cards-extras {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1.25rem;
	margin-bottom: 2rem;
}

.fms-card-selector, .fms-card-selector-extra {
	background: var(--fms-bg-card);
	border: 2px solid transparent;
	border-radius: var(--fms-radius);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
	transition: var(--fms-transition);
	position: relative;
}
.fms-card-selector input[type="radio"], .fms-card-selector-extra input[type="checkbox"] {
	position: absolute;
	opacity: 0;
}
.fms-card-selector:hover, .fms-card-selector-extra:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.15);
	border-color: var(--fms-secondary-hover);
}
.fms-card-selector.active, .fms-card-selector-extra.active {
	border-color: var(--fms-primary);
	background: rgba(88, 80, 236, 0.05);
	box-shadow: 0 8px 16px -4px rgba(88, 80, 236, 0.15);
}
.fms-card-icon {
	font-size: 2.5rem;
	margin-bottom: 0.75rem;
}
.fms-card-title {
	font-weight: 600;
	font-size: 0.95rem;
}
.fms-card-price {
	margin-top: 0.5rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--fms-primary);
}

/* Forms layout */
.fms-form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}
.fms-form-group {
	flex: 1;
	min-width: 250px;
	display: flex;
	flex-direction: column;
}
.fms-form-group.col-12 {
	flex: 0 0 100%;
	max-width: 100%;
}
.fms-form-group.col-6 {
	flex: 0 0 calc(50% - 0.75rem);
}
.fms-form-group.col-4 {
	flex: 0 0 calc(33.333% - 1rem);
}
.fms-form-group label, .fms-form-group-distance label {
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}
.fms-form-group input, .fms-form-group select, .fms-form-group textarea, .fms-form-group-distance input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 1rem;
	border: 1px solid var(--fms-secondary-hover);
	border-radius: 8px;
	font-size: 0.95rem;
	background: #fff;
	transition: var(--fms-transition);
}
.fms-form-group input:focus, .fms-form-group select:focus, .fms-form-group textarea:focus, .fms-form-group-distance input:focus {
	border-color: var(--fms-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(88, 80, 236, 0.1);
}
.fms-form-group-distance {
	background: rgba(88, 80, 236, 0.03);
	padding: 1.5rem;
	border-radius: var(--fms-radius);
	margin-top: 1.5rem;
	border: 1px dashed var(--fms-primary);
}
.fms-form-group-distance input {
	width: 120px;
	margin-top: 0.5rem;
	display: block;
}
.fms-form-group-distance small {
	display: block;
	margin-top: 0.5rem;
	color: var(--fms-text-muted);
}
.fms-input-error {
	border-color: #ef4444 !important;
	background-color: #fef2f2 !important;
}

/* Step 6 Schedule Time Picker & Slot Styling */
.fms-time-picker-wrap {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.fms-time-picker-wrap input[type="time"] {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--fms-secondary-hover);
	border-radius: 8px;
	font-size: 0.95rem;
	background: #ffffff;
	color: var(--fms-text);
	font-weight: 600;
	cursor: pointer;
	transition: var(--fms-transition);
}

.fms-time-picker-wrap input[type="time"]:focus {
	border-color: var(--fms-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(88, 80, 236, 0.12);
}

.fms-time-picker-wrap input[type="time"]::-webkit-calendar-picker-indicator {
	cursor: pointer;
	filter: invert(34%) sepia(80%) saturate(2100%) hue-rotate(227deg) brightness(96%) contrast(95%);
	padding: 4px;
	border-radius: 4px;
	transition: transform 0.18s ease;
}

.fms-time-picker-wrap input[type="time"]::-webkit-calendar-picker-indicator:hover {
	transform: scale(1.18);
}

.fms-time-slot-hint {
	display: block;
	font-size: 0.78rem;
	color: var(--fms-text-muted);
	margin-top: 5px;
	font-weight: 500;
}

@media (max-width: 768px) {
	.fms-form-group.col-4,
	.fms-form-group.col-6 {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}
}

/* Quick Quote Long-Distance Special Routes Bar */
.fms-quick-special-routes-bar {
	margin-bottom: 1.25rem;
	background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
	border: 1.5px solid #86efac;
	border-radius: 12px;
	padding: 12px 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: all 0.25s ease;
}

.fms-quick-special-routes-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	flex-wrap: wrap;
	gap: 6px;
}

.fms-quick-special-routes-title {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #166534;
	font-size: 0.92rem;
	font-weight: 700;
}

.fms-quick-tax-badge {
	background: #ffffff;
	color: #15803d;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 9999px;
	border: 1px solid #86efac;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#fms-quick-route-select {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #86efac;
	border-radius: 8px;
	font-size: 0.95rem;
	background: #ffffff;
	font-weight: 600;
	color: #1e293b;
	cursor: pointer;
	margin-bottom: 0;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#fms-quick-route-select:focus {
	border-color: #22c55e;
	outline: none;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

#fms-quick-deal-badge {
	background: #ffffff;
	border: 1px solid #4ade80;
	border-radius: 8px;
	padding: 8px 12px;
	color: #166534;
	font-size: 0.85rem;
	font-weight: 600;
	margin-top: 8px;
}

/* Switches / Toggles */
.fms-switches-row {
	margin-top: 1.5rem;
	background: #fff;
	padding: 1.25rem;
	border-radius: var(--fms-radius);
	border: 1px solid var(--fms-secondary-hover);
}
.fms-switch-group {
	display: flex;
	align-items: center;
	margin-right: 2rem;
}
.fms-switch-group .fms-label {
	font-weight: 600;
	margin-right: 1rem;
}
.fms-toggle-buttons {
	display: flex;
	border: 1px solid var(--fms-secondary-hover);
	border-radius: 8px;
	overflow: hidden;
}
.fms-toggle-btn {
	padding: 0.5rem 1rem;
	background: #fff;
	cursor: pointer;
	font-weight: 600;
	transition: var(--fms-transition);
}
.fms-toggle-btn.active {
	background: var(--fms-primary);
	color: #fff;
}
.fms-toggle-btn input {
	position: absolute;
	opacity: 0;
}

/* Tabs & Inventory */
.fms-tabs-headers {
	display: flex;
	border-bottom: 2px solid var(--fms-secondary);
	margin-bottom: 1.5rem;
}
.fms-tab-hdr {
	background: none;
	border: none;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	cursor: pointer;
	color: var(--fms-text-muted);
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: var(--fms-transition);
}
.fms-tab-hdr.active {
	color: var(--fms-primary);
	border-bottom-color: var(--fms-primary);
}
.fms-tab-content {
	display: none;
}
.fms-tab-content.active {
	display: block;
}
.fms-inventory-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
}
.fms-inventory-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	padding: 1rem 1.25rem;
	border-radius: 8px;
	border: 1px solid var(--fms-secondary-hover);
}
.item-label {
	font-weight: 500;
}
.fms-quantity-selector {
	display: flex;
	align-items: center;
	border: 1px solid var(--fms-secondary-hover);
	border-radius: 6px;
	overflow: hidden;
}
.qty-btn {
	background: var(--fms-secondary);
	border: none;
	width: 32px;
	height: 32px;
	font-size: 1.2rem;
	font-weight: 700;
	cursor: pointer;
	transition: var(--fms-transition);
}
.qty-btn:hover {
	background: var(--fms-secondary-hover);
}
.fms-quantity-selector input {
	width: 40px;
	text-align: center;
	border: none;
	padding: 0;
	font-weight: 600;
	height: 32px;
}
/* Disable number arrows */
.fms-quantity-selector input::-webkit-outer-spin-button,
.fms-quantity-selector input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Vehicles Panel */
.fms-vehicles-list-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
.fms-vehicle-card {
	background: #fff;
	border: 2px solid var(--fms-secondary-hover);
	border-radius: var(--fms-radius);
	padding: 1.25rem 1.5rem;
	display: flex;
	align-items: center;
	cursor: pointer;
	transition: var(--fms-transition);
	position: relative;
}
.fms-vehicle-card input[type="radio"] {
	position: absolute;
	opacity: 0;
}
.fms-vehicle-card:hover {
	border-color: var(--fms-primary-hover);
}
.fms-vehicle-card.active {
	border-color: var(--fms-primary);
	background: rgba(88, 80, 236, 0.02);
}
.vehicle-icon {
	font-size: 2.2rem;
	margin-right: 1.5rem;
}
.vehicle-info {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.vehicle-name {
	font-weight: 700;
	font-size: 1.1rem;
}
.vehicle-spec {
	font-size: 0.85rem;
	color: var(--fms-text-muted);
}
.vehicle-price {
	font-size: 1.3rem;
	font-weight: 800;
	color: var(--fms-primary);
}

/* Quote Summary Box */
.fms-quote-summary-box {
	background: #fff;
	border: 1px solid var(--fms-secondary-hover);
	border-radius: var(--fms-radius);
	padding: 1.75rem;
	margin-bottom: 2rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.fms-quote-table {
	width: 100%;
	border-collapse: collapse;
}
.fms-quote-table td {
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--fms-secondary);
	font-weight: 500;
}
.fms-quote-table tr td:last-child {
	text-align: right;
	font-weight: 700;
}
.fms-quote-table tr.total-row td {
	font-size: 1.35rem;
	font-weight: 800;
	border-bottom: none;
	padding-top: 1.25rem;
	color: var(--fms-primary);
}
.promo-tr {
	color: var(--fms-success);
}
.fms-promo-section {
	display: flex;
	margin-top: 1.5rem;
	gap: 0.75rem;
}
.fms-promo-section input {
	flex: 1;
	padding: 0.65rem 1rem;
	border: 1px solid var(--fms-secondary-hover);
	border-radius: 6px;
}
.fms-promo-section button {
	background: var(--fms-primary);
	color: #fff;
	border: none;
	padding: 0.65rem 1.25rem;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
	transition: var(--fms-transition);
}
.fms-promo-section button:hover {
	background: var(--fms-primary-hover);
}

/* Payments list */
.fms-payment-method-section h3 {
	font-size: 1.1rem;
	margin-bottom: 1rem;
}
.fms-payment-grid {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}
.fms-pay-card {
	background: #fff;
	border: 1px solid var(--fms-secondary-hover);
	border-radius: 8px;
	padding: 1rem;
	flex: 1;
	min-width: 150px;
	text-align: center;
	cursor: pointer;
	font-weight: 600;
	transition: var(--fms-transition);
	position: relative;
}
.fms-pay-card input[type="radio"] {
	position: absolute;
	opacity: 0;
}
.fms-pay-card.active {
	border-color: var(--fms-primary);
	background: rgba(88, 80, 236, 0.05);
	color: var(--fms-primary);
}

/* Buttons actions */
.fms-wizard-actions {
	display: flex;
	justify-content: space-between;
	margin-top: 2.5rem;
	border-top: 1px solid var(--fms-secondary-hover);
	padding-top: 1.5rem;
}
.fms-btn {
	padding: 0.75rem 1.75rem;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: var(--fms-transition);
}
.fms-btn-primary {
	background: var(--fms-primary);
	color: #fff;
	margin-left: auto;
}
.fms-btn-primary:hover {
	background: var(--fms-primary-hover);
}
.fms-btn-secondary {
	background: var(--fms-secondary);
	color: var(--fms-text);
}
.fms-btn-secondary:hover {
	background: var(--fms-secondary-hover);
}
.fms-submit-actions {
	display: flex;
	gap: 1rem;
	margin-left: auto;
}
.fms-btn-success {
	background: var(--fms-success);
	color: #fff;
}
.fms-btn-success:hover {
	background: #059669;
}
.fms-btn-info {
	background: #0284c7;
	color: #fff;
}
.fms-btn-info:hover {
	background: #0369a1;
}

/* Messaging states */
.fms-wizard-msg {
	display: none;
	padding: 1rem;
	border-radius: 8px;
	margin-top: 1.5rem;
	font-weight: 500;
}
.fms-wizard-msg.error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fee2e2;
}
.fms-wizard-msg.success {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #d1fae5;
}

/* Success Finish State */
.fms-success-state {
	text-align: center;
	padding: 3rem 1.5rem;
}
.success-icon {
	font-size: 4rem;
	display: block;
	margin-bottom: 1.5rem;
	color: var(--fms-success);
}
.fms-success-state h2 {
	font-size: 2rem;
	margin-bottom: 0.75rem;
}
.fms-success-state p {
	color: var(--fms-text-muted);
	font-size: 1.1rem;
}

/* Address Autocomplete Dropdown (OpenStreetMap & Fallback) */
.fms-address-group {
	position: relative;
}

.fms-autocomplete-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #ffffff;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
	max-height: 280px;
	overflow-y: auto;
	z-index: 9999;
	margin-top: 4px;
	padding: 4px 0;
	display: none;
}

.fms-autocomplete-item {
	padding: 10px 14px;
	font-size: 0.92rem;
	color: #1f2937;
	cursor: pointer;
	line-height: 1.4;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	border-bottom: 1px solid #f3f4f6;
	transition: background-color 0.15s ease;
}

.fms-autocomplete-item:last-child {
	border-bottom: none;
}

.fms-autocomplete-item:hover,
.fms-autocomplete-item.active {
	background-color: #f0f4ff;
	color: var(--fms-primary);
}

.fms-autocomplete-item .item-icon {
	font-size: 1rem;
	flex-shrink: 0;
	margin-top: 2px;
	color: #9ca3af;
}

.fms-autocomplete-item .item-text {
	flex: 1;
}

.fms-autocomplete-item .item-main {
	font-weight: 600;
	color: #111827;
	display: block;
}

.fms-autocomplete-item .item-sub {
	font-size: 0.8rem;
	color: #6b7280;
	display: block;
	margin-top: 2px;
}

.fms-autocomplete-loading,
.fms-autocomplete-empty {
	padding: 12px 14px;
	font-size: 0.88rem;
	color: #6b7280;
	text-align: center;
	font-style: italic;
}

/* Route Map Preview */
#fms-route-map-wrap {
	position: relative;
	margin: 20px 0;
}

#fms-route-map {
	height: 280px;
	width: 100%;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

/* Leaflet Overrides */
.leaflet-popup-content-wrapper {
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.leaflet-popup-content {
	margin: 8px 12px;
	font-size: 13px;
	font-weight: 500;
}

/* ===================================================
   REDESIGNED INSTANT QUOTE SUMMARY CARD & PAYMENT
   =================================================== */
.fms-quote-summary-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
	padding: 28px;
	margin: 25px auto;
	max-width: 680px;
	box-sizing: border-box;
}

/* Quote Header */
.fms-quote-card-header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 18px;
}

.fms-quote-hdr-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #f5f3ff;
	color: #5850ec;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	flex-shrink: 0;
	box-shadow: inset 0 0 0 1px #ede9fe;
}

.fms-quote-card-header h3 {
	margin: 0 0 4px 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.2;
}

.fms-quote-hdr-sub {
	font-size: 0.85rem;
	color: #64748b;
	line-height: 1.4;
	display: block;
}

/* Breakdown Item List */
.fms-quote-breakdown-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.fms-quote-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border-radius: 10px;
	transition: background-color 0.15s ease;
}

.fms-quote-item:hover {
	background-color: #f8fafc;
}

.fms-quote-item-label {
	display: flex;
	align-items: center;
	gap: 12px;
}

.fms-quote-item-label .item-icon {
	font-size: 1.25rem;
	flex-shrink: 0;
	width: 24px;
	text-align: center;
}

.fms-quote-item-label .item-info strong {
	display: block;
	font-size: 0.95rem;
	font-weight: 600;
	color: #334155;
	line-height: 1.2;
}

.fms-quote-item-label .item-hint {
	font-size: 0.78rem;
	color: #94a3b8;
	margin-top: 2px;
	display: block;
}

.fms-quote-item-value {
	font-size: 1.02rem;
	font-weight: 700;
	color: #1e293b;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.2px;
}

/* Promo Item State */
.fms-quote-item.promo-item {
	background: #ecfdf5;
	border: 1px dashed #a7f3d0;
	margin: 6px 0;
}

.fms-quote-item.promo-item .item-info strong {
	color: #047857;
}

.fms-quote-item.promo-item .item-hint {
	color: #059669;
}

.fms-quote-item-value.promo-val {
	color: #059669;
	font-weight: 700;
}

/* Total Price Highlight Banner */
.fms-quote-total-banner {
	background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
	border: 1.5px solid #ddd6fe;
	border-radius: 14px;
	padding: 20px 24px;
	margin: 22px 0 20px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 4px 15px rgba(88, 80, 236, 0.08);
}

.fms-total-label-wrap .total-title {
	display: block;
	font-size: 1.35rem;
	font-weight: 800;
	color: #4338ca;
	line-height: 1.2;
}

.fms-total-label-wrap .total-subtitle {
	display: block;
	font-size: 0.82rem;
	color: #6366f1;
	font-weight: 500;
	margin-top: 4px;
}

.fms-total-amount {
	font-size: 2.1rem;
	font-weight: 900;
	color: #4f46e5;
	letter-spacing: -0.5px;
	font-variant-numeric: tabular-nums;
}

/* Sleek Integrated Promo Code Input */
.fms-promo-section {
	margin-top: 15px;
}

.fms-promo-input-group {
	display: flex;
	align-items: center;
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	padding: 4px 6px;
	transition: all 0.2s ease;
}

.fms-promo-input-group:focus-within {
	border-color: #5850ec;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(88, 80, 236, 0.12);
}

.fms-promo-input-group .promo-input-icon {
	font-size: 1.15rem;
	padding-left: 12px;
	padding-right: 8px;
	opacity: 0.75;
}

.fms-promo-input-group input[type="text"] {
	flex: 1;
	border: none !important;
	outline: none !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 10px 8px !important;
	font-size: 0.95rem !important;
	color: #1e293b !important;
}

.fms-promo-input-group input[type="text"]::placeholder {
	color: #94a3b8;
}

.fms-promo-input-group button {
	background: var(--fms-primary, #5850ec);
	color: #ffffff;
	border: none;
	border-radius: 9px;
	padding: 10px 22px;
	font-size: 0.92rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.fms-promo-input-group button:hover {
	background: var(--fms-primary-hover, #453ec5);
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(88, 80, 236, 0.25);
}

.fms-promo-input-group button:active {
	transform: translateY(0);
}

/* Payment Method Grid */
.fms-payment-method-section {
	max-width: 680px;
	margin: 25px auto 0 auto;
}

.fms-payment-method-section h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 14px;
}

.fms-payment-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
}

.fms-pay-card {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #ffffff;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 18px;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 0.92rem;
	font-weight: 600;
	color: #334155;
}

.fms-pay-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.05);
}

.fms-pay-card.active {
	border-color: #5850ec;
	background: #fdfdfd;
	color: #5850ec;
	box-shadow: 0 0 0 1px #5850ec, 0 4px 12px rgba(88, 80, 236, 0.1);
}

.fms-pay-card input[type="radio"] {
	margin: 0;
	accent-color: #5850ec;
}

/* Backwards compatibility for table-based styling */
.fms-quote-summary-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 24px;
	max-width: 680px;
	margin: 25px auto;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.fms-quote-table {
	width: 100%;
	border-collapse: collapse;
	border: none;
}

.fms-quote-table td {
	padding: 12px 14px;
	border: none;
	border-bottom: 1px solid #f1f5f9;
	font-size: 0.95rem;
}

.fms-quote-table tr:hover td {
	background-color: #f8fafc;
}

.fms-quote-table .total-row td {
	border-top: 2px solid #5850ec;
	border-bottom: none;
	font-size: 1.25rem;
	font-weight: 800;
	color: #5850ec;
	padding-top: 16px;
}

/* ===================================================
   VAN CATEGORIES & HELPER TIERS SELECTION (STEP 5)
   =================================================== */
.fms-van-fleet-container {
	margin: 25px 0;
}

.fms-van-categories-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-items: stretch;
}

@media (max-width: 900px) {
	.fms-van-categories-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}
}

.fms-van-card {
	background: #ffffff;
	border: 2px solid #e2e8f0;
	border-radius: 18px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.25s ease;
	position: relative;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

.fms-van-card:hover {
	border-color: #cbd5e1;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
}

.fms-van-card.active {
	border-color: #5850ec;
	background: #ffffff;
	box-shadow: 0 0 0 1px #5850ec, 0 14px 28px -6px rgba(88, 80, 236, 0.16);
}

/* Header inside van card */
.fms-van-card-header {
	margin-bottom: 16px;
}

.fms-van-header-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.fms-van-badge-num {
	font-size: 1.35rem;
	line-height: 1;
}

.fms-van-vat-badge {
	background: #ecfdf5;
	color: #047857;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 10px;
	border: 1px solid #a7f3d0;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.fms-van-title-wrap {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.fms-van-icon {
	font-size: 2.2rem;
	line-height: 1;
	flex-shrink: 0;
	margin-top: 2px;
}

.fms-van-title {
	font-size: 1.18rem;
	font-weight: 800;
	color: #1e293b;
	margin: 0 0 4px 0;
	line-height: 1.25;
}

.fms-van-desc {
	font-size: 0.82rem;
	color: #64748b;
	line-height: 1.4;
	margin: 0;
}

.fms-van-specs-pill {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 6px 10px;
	font-size: 0.76rem;
	font-weight: 600;
	color: #475569;
	margin: 12px 0 6px 0;
}

/* Tier list inside card */
.fms-van-options-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: auto;
}

.fms-van-tier-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 13px;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	background: #ffffff;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	user-select: none;
}

.fms-van-tier-option:hover {
	border-color: #5850ec;
	background: #faf5ff;
}

.fms-van-tier-option.active {
	border-color: #5850ec;
	background: #f5f3ff;
	box-shadow: 0 2px 8px rgba(88, 80, 236, 0.12);
}

.fms-van-tier-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	margin: 0;
}

.tier-radio-indicator {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid #cbd5e1;
	margin-right: 8px;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.fms-van-tier-option.active .tier-radio-indicator {
	border-color: #5850ec;
	background: #5850ec;
	box-shadow: inset 0 0 0 3px #ffffff;
}

.tier-content {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	min-width: 0;
}

.tier-icon {
	font-size: 1.05rem;
	flex-shrink: 0;
}

.tier-name-wrap {
	flex: 1;
	min-width: 0;
}

.tier-name {
	font-size: 0.85rem;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.25;
	display: block;
}

.tier-price-wrap {
	text-align: right;
	flex-shrink: 0;
	padding-left: 8px;
	white-space: nowrap;
}

.tier-price {
	font-size: 1.15rem;
	font-weight: 800;
	color: #4f46e5;
}

.tier-unit {
	font-size: 0.78rem;
	font-weight: 600;
	color: #6b7280;
}

/* Optional Vehicle Notice for Handyman & Cleaning */
.fms-vehicle-optional-notice {
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.fms-btn-clear-veh:hover {
	background: #f1f5f9 !important;
	border-color: #94a3b8 !important;
	color: #0f172a !important;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}



