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

/* Custom Dropdown Switcher System */
.obryx-mc-custom-dropdown {
	position: relative;
	display: inline-block;
	text-align: left;
}

.obryx-mc-dropdown-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
	transition: all 0.2s ease-in-out;
	user-select: none;
	width: auto;
}

.obryx-mc-dropdown-trigger:hover {
	background: #f6f7f7;
	border-color: #7209b7;
	box-shadow: 0 4px 8px rgba(114, 9, 183, 0.1);
}

.obryx-mc-dropdown-trigger:focus {
	outline: none;
	border-color: #7209b7;
	box-shadow: 0 0 0 2px rgba(114, 9, 183, 0.2);
}

.obryx-mc-arrow {
	font-size: 8px;
	color: #646970;
	transition: transform 0.2s ease-in-out;
	margin-left: 4px;
	display: inline-block;
	vertical-align: middle;
}

.obryx-mc-custom-dropdown.open .obryx-mc-arrow {
	transform: rotate(180deg);
}

.obryx-mc-dropdown-menu {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 99999;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 10px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	width: 280px;
	animation: obryx-mc-fade-in 0.15s ease-out;
}

.obryx-mc-custom-dropdown.open .obryx-mc-dropdown-menu {
	display: block;
}

.obryx-mc-search-wrapper {
	padding: 8px 10px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.obryx-mc-search-input {
	width: 100%;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	padding: 6px 10px;
	font-size: 13px;
	color: #1d2327;
	background: #f6f7f7;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
	outline: none;
	box-sizing: border-box;
}

.obryx-mc-search-input:focus {
	background: #ffffff;
	border-color: #7209b7;
	box-shadow: 0 0 0 1px #7209b7;
}

.obryx-mc-dropdown-list {
	list-style: none;
	margin: 0;
	padding: 4px 0;
	max-height: 240px;
	overflow-y: auto;
}

/* Custom Scrollbar for list */
.obryx-mc-dropdown-list::-webkit-scrollbar {
	width: 6px;
}
.obryx-mc-dropdown-list::-webkit-scrollbar-track {
	background: transparent;
}
.obryx-mc-dropdown-list::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.15);
	border-radius: 3px;
}
.obryx-mc-dropdown-list::-webkit-scrollbar-thumb:hover {
	background: rgba(0, 0, 0, 0.3);
}

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

.obryx-mc-dropdown-item .obryx-mc-switch-trigger {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	text-decoration: none !important;
	color: #4a5568 !important;
	font-size: 13px;
	font-weight: 500;
	transition: all 0.15s ease-in-out;
	border: none;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	text-align: left;
	width: 100%;
	box-sizing: border-box;
	transform: none !important;
}

.obryx-mc-dropdown-item:hover .obryx-mc-switch-trigger {
	background: #f3e8ff;
	color: #7209b7 !important;
}

.obryx-mc-dropdown-item.active .obryx-mc-switch-trigger {
	background: linear-gradient(135deg, #7209b7, #3f37c9);
	color: #ffffff !important;
}

.obryx-mc-dropdown-item.active:hover .obryx-mc-switch-trigger {
	color: #ffffff !important;
}

.obryx-mc-label-code {
	font-size: 13px;
}

.obryx-mc-label-name {
	color: #718096;
	font-size: 12px;
	flex-grow: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.obryx-mc-dropdown-item.active .obryx-mc-label-name {
	color: rgba(255, 255, 255, 0.85);
}

.obryx-mc-label-symbol {
	color: #a0aec0;
	font-size: 12px;
}
.obryx-mc-dropdown-item.active .obryx-mc-label-symbol {
	color: rgba(255, 255, 255, 0.7);
}

@keyframes obryx-mc-fade-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 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;
}
