.obryx-mc-switcher-container {
	display: inline-block;
	font-family: inherit;
	vertical-align: middle;
}

/* Dropdown Select Layout */
.obryx-mc-select-wrapper {
	position: relative;
	display: inline-block;
}

.obryx-mc-currency-select {
	appearance: none;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	padding: 8px 36px 8px 12px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.obryx-mc-currency-select:hover {
	background: #ffffff;
	border-color: #7209b7;
	box-shadow: 0 6px 12px rgba(114, 9, 183, 0.15);
}

.obryx-mc-currency-select:focus {
	outline: none;
	border-color: #7209b7;
	box-shadow: 0 0 0 3px rgba(114, 9, 183, 0.25);
}

/* Select arrow icon */
.obryx-mc-select-wrapper::after {
	content: "▼";
	font-size: 8px;
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #777;
	pointer-events: none;
	transition: transform 0.3s ease;
}

/* List Switchers (Flags & Symbols layouts) */
.obryx-mc-currency-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.obryx-mc-currency-item {
	margin: 0;
	padding: 0;
}

.obryx-mc-switch-trigger {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none !important;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 600;
	color: #4a5568;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.obryx-mc-switch-trigger:hover {
	background: #ffffff;
	color: #7209b7;
	border-color: #7209b7;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(114, 9, 183, 0.12);
}

/* Active Selected Item */
.obryx-mc-currency-item.active .obryx-mc-switch-trigger {
	background: linear-gradient(135deg, #7209b7, #3f37c9);
	color: #ffffff;
	border-color: transparent;
	box-shadow: 0 4px 10px rgba(63, 55, 201, 0.3);
}

.obryx-mc-currency-item.active .obryx-mc-switch-trigger:hover {
	transform: none;
}

/* Flag & Label alignments */
.obryx-mc-flag {
	width: 16px;
	height: 12px;
	border-radius: 2px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	display: inline-block;
	vertical-align: middle;
	object-fit: cover;
}

.obryx-mc-label {
	display: inline-block;
	vertical-align: middle;
}

/* Flag only sizing override */
.layout-flag_only .obryx-mc-switch-trigger {
	padding: 8px 10px;
}

/* Premium full-screen spinner on AJAX switches */
.obryx-mc-loading-body {
	position: relative;
	pointer-events: none;
}

.obryx-mc-loading-body::after {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	z-index: 999999;
	display: flex;
	cursor: wait;
}

@keyframes obryx-mc-spin {
	to { transform: rotate(360deg); }
}

.obryx-mc-loading-body::before {
	content: "";
	position: fixed;
	top: calc(50% - 20px);
	left: calc(50% - 20px);
	width: 40px;
	height: 40px;
	border: 4px solid rgba(114, 9, 183, 0.1);
	border-top-color: #7209b7;
	border-radius: 50%;
	z-index: 1000000;
	animation: obryx-mc-spin 0.8s linear infinite;
}
