.bmd-currency-switcher {
	position: relative;
	display: inline-block;
	font-size: 14px;
}

.bmd-currency-switcher-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	border: 1.5px solid #d7dce2;
	border-radius: 8px;
	padding: 8px 14px;
	font: inherit;
	font-weight: 600;
	color: #1f2937;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bmd-currency-switcher-trigger:hover {
	border-color: #9aa5b1;
}

.bmd-currency-switcher-trigger:focus,
.bmd-currency-switcher-trigger:focus-visible {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.bmd-currency-switcher-flag {
	border-radius: 3px;
	display: block;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.bmd-currency-switcher-code {
	letter-spacing: 0.02em;
}

.bmd-currency-switcher-arrow {
	font-size: 10px;
	color: #6b7280;
	margin-left: 2px;
	transition: transform 0.15s ease;
}

.bmd-currency-switcher.is-open .bmd-currency-switcher-arrow {
	transform: rotate(180deg);
}

.bmd-currency-switcher-list {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 160px;
	max-height: 280px;
	overflow-y: auto;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
	z-index: 9999;
}

.bmd-currency-switcher-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 6px;
	font-weight: 500;
	color: #1f2937;
	cursor: pointer;
	transition: background 0.1s ease;
}

.bmd-currency-switcher-option img {
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
	flex-shrink: 0;
}

.bmd-currency-switcher-option:hover,
.bmd-currency-switcher-option:focus {
	background: #f3f4f6;
	outline: none;
}

.bmd-currency-switcher-option.is-active {
	background: #eff6ff;
	color: #1d4ed8;
	font-weight: 700;
}

.bmd-currency-switcher-list::-webkit-scrollbar {
	width: 8px;
}
.bmd-currency-switcher-list::-webkit-scrollbar-thumb {
	background: #d1d5db;
	border-radius: 10px;
}
.bmd-currency-switcher-list::-webkit-scrollbar-track {
	background: transparent;
}

@media (max-width: 600px) {
	.bmd-currency-switcher-trigger {
		padding: 9px 14px;
		font-size: 15px;
	}
	.bmd-currency-switcher-list {
		min-width: 180px;
	}
	.bmd-currency-switcher-option {
		padding: 10px 12px;
	}
}
