/* Currencio minimal front end styles. */

.currencio-price,
.currencio-symbol {
	white-space: nowrap;
}

/* Dropdown switcher, wrapped so a chevron can be shown. */
.currencio-switcher-wrap {
	position: relative;
	display: inline-block;
}

.currencio-switcher {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 4px 28px 4px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	font: inherit;
	line-height: 1.4;
	cursor: pointer;
}

.currencio-switcher-wrap::after {
	content: "";
	position: absolute;
	right: 12px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
	opacity: 0.6;
}

/* Inline button switcher. */
.currencio-switcher-inline {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
}

.currencio-switch {
	font: inherit;
	line-height: 1.4;
	cursor: pointer;
	padding: 4px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	color: inherit;
}

.currencio-switch.is-active {
	border-color: #333;
	font-weight: 600;
}
