/* Fleet Currency — bandeau de choix de devise (CH/CA). */
.fleet-currency-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99998; /* sous les modals de lead magnet habituels, au-dessus du contenu */
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 14px 20px;
	background: #1a1a1a;
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: 0 -2px 12px rgba( 0, 0, 0, 0.2 );
	transform: translateY( 100% );
	transition: transform 0.3s ease;
}

.fleet-currency-banner.is-visible {
	transform: translateY( 0 );
}

.fleet-currency-banner__text {
	flex: 1 1 auto;
	min-width: 200px;
}

.fleet-currency-banner__actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.fleet-currency-banner__btn {
	border: 1px solid #fff;
	background: transparent;
	color: #fff;
	padding: 8px 16px;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
}

.fleet-currency-banner__btn--yes {
	background: #fff;
	color: #1a1a1a;
	font-weight: 600;
}

.fleet-currency-banner__btn:hover {
	opacity: 0.85;
}

@media ( max-width: 600px ) {
	.fleet-currency-banner {
		justify-content: flex-start;
		padding: 12px 16px;
	}
	.fleet-currency-banner__actions {
		width: 100%;
	}
	.fleet-currency-banner__btn {
		flex: 1 1 0;
	}
}

/* Voile de transition avant un rechargement lié à la devise (auto ou clic "Oui"). */
.fleet-currency-transition {
	--fc-accent: #1a1a1a;
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: rgba( 255, 255, 255, 0.92 );
	opacity: 0;
	transition: opacity 0.2s ease;
}

.fleet-currency-transition.is-visible {
	opacity: 1;
}

.fleet-currency-transition__spinner {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 3px solid rgba( 0, 0, 0, 0.15 );
	border-top-color: var( --fc-accent );
	animation: fleet-currency-spin 0.7s linear infinite;
}

.fleet-currency-transition__text {
	font-size: 14px;
	color: #1a1a1a;
}

@keyframes fleet-currency-spin {
	to {
		transform: rotate( 360deg );
	}
}
