/* SailScanner currency switcher */

.ss-currency-switcher {
	position: fixed;
	left: 16px;
	right: auto;
	bottom: 16px;
	z-index: 1000000;
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 4px;
	border-radius: 999px;
	background: #12305c;
	box-shadow: 0 8px 24px rgba(18, 48, 92, 0.28);
}

.ss-currency-switcher__toggle,
.ss-currency-switcher__btn {
	appearance: none;
	border: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	padding: 0.5rem 0.75rem;
	border-radius: 999px;
	cursor: pointer;
	line-height: 1;
	min-width: 2.5rem;
	text-align: center;
}

.ss-currency-switcher__toggle:hover,
.ss-currency-switcher__toggle:focus-visible,
.ss-currency-switcher__btn:hover,
.ss-currency-switcher__btn:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	outline: none;
}

.ss-currency-switcher__options {
	display: none;
	align-items: center;
	gap: 2px;
}

.ss-currency-switcher.is-open .ss-currency-switcher__toggle {
	display: none;
}

.ss-currency-switcher.is-open .ss-currency-switcher__options {
	display: inline-flex;
}

.ss-currency-switcher__options[hidden] {
	display: none !important;
}

.ss-currency-switcher.is-open .ss-currency-switcher__options[hidden] {
	display: inline-flex !important;
}

.ss-currency-switcher__btn.is-active {
	background: #fff;
	color: #12305c;
}

.ss-currency-alert {
	position: fixed;
	left: 16px;
	right: auto;
	bottom: 72px;
	z-index: 1000001;
	max-width: 420px;
	margin-left: 0;
	margin-right: auto;
	padding: 0.9rem 1rem;
	border-radius: 12px;
	background: #12305c;
	color: #fff;
	box-shadow: 0 10px 30px rgba(18, 48, 92, 0.3);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	justify-content: space-between;
}

.ss-currency-alert[hidden] {
	display: none !important;
}

.ss-currency-alert__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.4;
	flex: 1 1 180px;
}

.ss-currency-alert__actions {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	flex-wrap: wrap;
}

.ss-currency-alert__btn {
	appearance: none;
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: #12305c;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 0.4rem 0.75rem;
	cursor: pointer;
}

.ss-currency-alert__link {
	appearance: none;
	border: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 0.8rem;
	text-decoration: underline;
	cursor: pointer;
	padding: 0.25rem;
}

@media (max-width: 719px) {
	.ss-currency-alert {
		right: 16px;
		max-width: none;
	}
}
