/* Rokonline Geo Currency - frontend switcher */

.rokgc-switcher {
	--rokgc-border: #d0d5dd;
	--rokgc-bg: #fff;
	--rokgc-text: #3A3A3A;
	--rokgc-accent: #2271b1;
	--rokgc-accent-text: #fff;

	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--rokgc-text);
}

@media (prefers-color-scheme: dark) {
	.rokgc-switcher {
		--rokgc-border: #3A3A3A;
		--rokgc-bg: #3A3A3A;
		--rokgc-text: #f0f0f1;
	}
}

.rokgc-switcher__label {
	margin: 0;
	font-weight: 600;
	color: #000000;
	text-transform: uppercase;
}

.rokgc-switcher__select {
	min-width: 140px;
	padding: 6px 28px 6px 10px;
	border: 1px solid #000000;
	border-radius: 6px;
	background-color: var(--rokgc-bg);
	color: var(--rokgc-text);
	font: inherit;
	cursor: pointer;
}

.rokgc-switcher__select:focus-visible,
.rokgc-switcher__btn:focus-visible {
	outline: 2px solid var(--rokgc-accent);
	outline-offset: 2px;
}

.rokgc-switcher__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rokgc-switcher__btn {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--rokgc-border);
	border-radius: 999px;
	background: var(--rokgc-bg);
	color: var(--rokgc-text);
	font: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rokgc-switcher__btn:hover {
	border-color: var(--rokgc-accent);
}

.rokgc-switcher__btn.is-active {
	border-color: var(--rokgc-accent);
	background: var(--rokgc-accent);
	color: var(--rokgc-accent-text);
}

.rokgc-switcher--loading {
	opacity: 0.6;
	pointer-events: none;
}

@media (max-width: 480px) {
	.rokgc-switcher {
		display: flex;
		width: 100%;
	}

	.rokgc-switcher__select {
		flex: 1;
	}
}
