/* Formulaire de réservation VTC — base fonctionnelle (surchargée par le thème Mouv'Aînés) */

.vtc-booking {
	max-width: 480px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.5;
}

.vtc-booking fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

.vtc-booking legend {
	font-size: 1.3em;
	font-weight: 700;
	margin-bottom: 16px;
}

.vtc-booking label {
	display: block;
	font-weight: 600;
	margin: 16px 0 6px;
}

.vtc-booking input[type="text"],
.vtc-booking input[type="email"],
.vtc-booking input[type="tel"],
.vtc-booking input[type="datetime-local"],
.vtc-booking select {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-size: 16px;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	background: #fff;
}

.vtc-booking input:focus,
.vtc-booking select:focus {
	outline: 2px solid #2271b1;
	outline-offset: 1px;
}

.vtc-note {
	font-size: 0.85em;
	color: #646970;
	margin: 6px 0 0;
}

.vtc-route-swap {
	display: flex;
	justify-content: center;
	margin: -6px 0;
	position: relative;
	z-index: 2;
}

.vtc-swap-route {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: linear-gradient(135deg, #b85c38, #d4823a);
	color: #fff;
	cursor: pointer;
}

.vtc-swap-route svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vtc-swap-route:hover {
	filter: brightness(1.05);
}

.vtc-row {
	display: flex;
	gap: 12px;
}

.vtc-row > div {
	flex: 1;
}

.vtc-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 400;
	cursor: pointer;
}

.vtc-checkbox input {
	margin-top: 4px;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.vtc-btn {
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 20px;
	padding: 14px 20px;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
	color: #fff;
	background: #2271b1;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease;
}

.vtc-btn:hover:not(:disabled) {
	background: #135e96;
}

.vtc-btn:disabled {
	opacity: 0.6;
	cursor: wait;
}

.vtc-btn-secondary {
	background: #f0f0f1;
	color: #1d2327;
}

.vtc-btn-secondary:hover:not(:disabled) {
	background: #dcdcde;
}

.vtc-actions {
	display: flex;
	gap: 12px;
}

.vtc-actions .vtc-btn-secondary {
	flex: 0 0 30%;
}

.vtc-price {
	font-size: 2.2em;
	font-weight: 800;
	text-align: center;
	margin: 8px 0 4px;
	color: #1d2327;
}

.vtc-trip-info {
	text-align: center;
	color: #646970;
	margin: 0 0 14px;
}

.vtc-toll-detail {
	text-align: center;
	font-size: 0.95em;
	font-weight: 600;
	color: var( --terracotta, #b85c38 );
	margin: 0 0 6px;
	padding: 6px 10px;
	background: rgba( 184, 92, 56, 0.08 );
	border-radius: 6px;
}

#vtc-map {
	width: 100%;
	height: 260px;
	border-radius: 10px;
	margin-bottom: 8px;
	z-index: 0;
}

.vtc-message {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: 8px;
	background: #fcf0f1;
	border: 1px solid #d63638;
	color: #8a1f21;
}

.vtc-offline {
	padding: 24px;
	border-radius: 12px;
	background: rgba(201, 162, 39, 0.1);
	border: 1px solid #c9a227;
}

.vtc-offline h3 {
	margin: 0 0 12px;
	font-size: 1.15rem;
	line-height: 1.35;
}

.vtc-offline p {
	margin: 0;
	line-height: 1.6;
	color: #4a4038;
}

.vtc-offline-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 20px;
}

.vtc-offline-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 12px 20px;
	text-decoration: none;
	border-radius: 999px;
	font-weight: 600;
	line-height: 1.2;
}

.vtc-offline-btn__label {
	font-size: 0.75rem;
	font-weight: 500;
	opacity: 0.9;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.vtc-offline-btn__value {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.vtc-booking--offline .vtc-booking-active {
	display: none !important;
}

.vtc-booking-active[hidden] {
	display: none !important;
}

.vtc-payment-note {
	text-align: center;
	margin-top: 24px;
	font-size: 0.85rem;
	color: #646970;
}

.pac-container {
	z-index: 100000 !important;
	pointer-events: auto !important;
}

.pac-item {
	pointer-events: auto !important;
	cursor: pointer;
}

@media (min-width: 600px) {
	.vtc-booking {
		max-width: 560px;
	}

	#vtc-map {
		height: 320px;
	}
}
