/*
 * EU Limos skin for the CDS booking engine.
 * Re-themes the original booking CSS (widget.css) through its own variables,
 * plus a few layout refinements. Loaded after widget.css only on booking pages.
 */
:root {
	--booking-green-color: #F5A800;   /* primary action (amber) */
	--booking-dark-color: #111111;    /* text on amber, headings */
	--booking-gray-color: #555555;    /* muted text */
	--booking-light-color: #C9DAD8;   /* borders, inactive steps */
	--eul-deep: #0B3D3F;
	--eul-deep-text: #0B6E6F;
	--eul-soft: #EEF5F4;
	--eul-line: #E0E0E0;
	--eul-radius: 12px;
	--eul-head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
	--eul-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Typography: replace Montserrat everywhere inside the engine */
.booking-widget-container,
.booking-widget-container *:not([class*="bicon-"]),
.booking-widget-form,
.booking-widget-form *:not([class*="bicon-"]),
.booking-modal-header, .booking-modal-body, .booking-modal-footer {
	font-family: var(--eul-body) !important;
}
.booking-widget-container h3,
.booking-widget-form h3,
.results-header h3,
.booking-details h3,
.payment-summary h3 {
	font-family: var(--eul-head) !important;
	font-weight: 700 !important;
	letter-spacing: -0.03em;
	color: #111111;
}
.booking-widget-container h4,
.booking-widget-form h4 { color: #444444; font-weight: 500; }

/* Containers */
.booking-widget-container {
	max-width: 1232px;
	margin: 0 auto;
}
.booking-widget-form,
.vehicle-card,
.booking-details,
.payment-summary,
.card-payment-form,
.booking-confirmation-details {
	background: #FFFFFF;
	border-radius: 18px !important;
	box-shadow: 0 10px 30px rgba(11, 61, 63, 0.06) !important;
	border: 1px solid #E5E5E5;
}
.booking-widget-form { padding: 28px !important; }

/* Progress steps */
.booking-progress { margin-bottom: 24px; }
.step-circle {
	width: 36px !important;
	height: 36px !important;
	border-width: 2px !important;
	font-size: 14px;
	font-weight: 700 !important;
}
.progress-step.completed .step-circle {
	background: var(--eul-deep) !important;
	border-color: var(--eul-deep) !important;
	color: #FFFFFF !important;
}
.progress-step.active .step-circle {
	background: var(--booking-green-color) !important;
	border-color: var(--booking-green-color) !important;
	color: #111111 !important;
}
.progress-line { height: 4px !important; border-radius: 4px; background: var(--booking-light-color); }
.progress-step.completed + .progress-line { background: var(--eul-deep); }

/* Trip type */
.booking-radio-group { gap: 6px; background: transparent !important; padding: 0 !important; }
.booking-radio-label {
	border: 2px solid var(--eul-line);
	border-radius: 999px;
	padding: 8px 16px !important;
	min-height: 44px;
	box-sizing: border-box;
	background: #FFFFFF;
	font-weight: 700;
}
.booking-radio-label:has(input:checked) {
	background: var(--eul-deep);
	border-color: var(--eul-deep);
	color: #FFFFFF;
}
.booking-radio-label:has(input:checked) .booking-radio-text { color: #FFFFFF; }

/* Inputs */
.booking-form-row .booking-form-group .booking-input,
.booking-input,
.booking-select,
.card-payment-form .booking-input {
	height: 54px;
	border: 2px solid var(--eul-line) !important;
	border-radius: 10px !important;
	font-size: 16px !important;
	color: #111111 !important;
	background-color: #FFFFFF !important;
	box-shadow: none !important;
}
.booking-input:focus,
.booking-select:focus {
	border-color: var(--eul-deep) !important;
	outline: 3px solid rgba(11, 61, 63, 0.15);
	outline-offset: 0;
}

/* Buttons */
.booking-green-button,
button.booking-green-button,
button#booking-submit-btn {
	min-height: 52px;
	border-radius: 10px !important;
	font-weight: 700 !important;
	font-size: 16px !important;
	color: #111111 !important;
	box-shadow: none !important;
}
.booking-green-button:hover { filter: brightness(0.95); }
.booking-outline-button {
	min-height: 48px;
	border-radius: 10px !important;
	border: 2px solid #111111 !important;
	background: #FFFFFF !important;
	color: #111111 !important;
	font-weight: 700 !important;
}

/* Vehicle results */
.vehicle-card { overflow: hidden; }
.vehicle-card img { border-radius: 10px; object-fit: cover; }
.vehicle-price .price-amount,
.price-amount {
	font-family: var(--eul-head) !important;
	font-weight: 700 !important;
	font-size: 28px !important;
	color: #111111 !important;
}
.price-label { color: #555555 !important; }
.spec-item { color: #333333; }

/* Summary & payment */
.booking-details-grid .trip-value,
.trip-value { font-weight: 600; color: #111111; }
.route-map-container, .route-map { border-radius: 14px; overflow: hidden; }
.payment-method-option {
	border: 2px solid var(--eul-line) !important;
	border-radius: 12px !important;
}
.payment-method-option.active,
.payment-method-option:has(input:checked) {
	border-color: var(--eul-deep) !important;
	background: var(--eul-soft) !important;
}

/* Modal */
.booking-modal-header { background: var(--eul-deep) !important; color: #FFFFFF !important; }

@media (max-width: 767px) {
	.booking-widget-form { padding: 18px !important; }
	.step-circle { width: 30px !important; height: 30px !important; font-size: 12px; }
}

/* Trip type: keep the selected pill readable (beats widget.css specificity) */
.booking-trip-type .booking-radio-group .booking-radio-label input[type="radio"]:checked ~ .booking-radio-text {
	color: #FFFFFF;
	font-family: "Inter", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 700;
}
.booking-trip-type .booking-radio-group .booking-radio-label input[type="radio"]:checked ~ .booking-radio-custom {
	border-color: var(--eul-accent, #F5A800);
	background: var(--eul-deep, #0B3D3F);
}

/* Date fields: show the "Departure"/"Return" label until a date is picked */
.booking-form-group input[type="date"]:not(:focus):invalid { color: transparent; }
.booking-form-group input[type="date"]:not(:focus):invalid::-webkit-datetime-edit { color: transparent; }
.booking-form-row .booking-form-group input[type="date"] ~ span:after {
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	color: #555555;
}

/* Icon font must win over the typography override */
.booking-widget-container [class*="bicon-"],
.booking-widget-form [class*="bicon-"],
[class^="bicon-"], [class*=" bicon-"] { font-family: "booking-icomoon" !important; }
