/* Kept separate from the compiled theme so the arrows also work with older CSS. */
.travel-method-card .travel-method-action,
.travel-method-card:hover .travel-method-action,
.travel-method-card:focus-visible .travel-method-action {
	display: inline-flex;
	width: 42px;
	height: 42px;
	min-width: 42px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding: 0;
	color: #0a3555;
	background: #f5a11c;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(7, 39, 57, .12);
	line-height: 1;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	transform: none;
	animation: none;
	transition: background-color .2s ease;
}

/* A zero-font-size label still creates a grid/flex item. Remove it from flow. */
.travel-method-card .travel-method-action > span {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.travel-method-card .travel-method-action svg {
	display: block;
	flex: 0 0 auto;
	width: 22px;
	height: 18px;
	margin: 0;
	padding: 0;
	color: inherit;
	background: transparent;
	border-radius: 0;
	transform-origin: center;
	animation: akkoTravelMethodArrowDrift 3s ease-in-out infinite;
	transition: none;
}

html[dir=ltr] .travel-method-card .travel-method-action svg {
	transform: scaleX(-1);
	animation-name: akkoTravelMethodArrowDriftLtr;
}

@keyframes akkoTravelMethodArrowDrift {
	0%, 100% { transform: translateX(0); }
	50% { transform: translateX(-3px); }
}

@keyframes akkoTravelMethodArrowDriftLtr {
	0%, 100% { transform: translateX(0) scaleX(-1); }
	50% { transform: translateX(3px) scaleX(-1); }
}

@media (prefers-reduced-motion: reduce) {
	.travel-method-card .travel-method-action svg {
		animation: none !important;
		transform: none !important;
	}

	html[dir=ltr] .travel-method-card .travel-method-action svg {
		transform: scaleX(-1) !important;
	}
}
