/* Manual Translation Manager — language switcher (frontend) */

.mtm-switcher {
	display: inline-block;
	font-size: 14px;
	line-height: 1.4;
}

/* Dropdown layout */
.mtm-switcher--dropdown .mtm-switcher__select {
	padding: 6px 28px 6px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	max-width: 220px;
}

/* List-based layouts (text / flags) */
ul.mtm-switcher {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	align-items: center;
}
.mtm-switcher__item {
	margin: 0;
	padding: 0;
}
.mtm-switcher__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 6px;
	text-decoration: none;
	color: inherit;
	transition: background-color .15s ease;
}
.mtm-switcher__link:hover {
	background: rgba( 0, 0, 0, .06 );
}
.mtm-switcher__item.is-active .mtm-switcher__link {
	font-weight: 700;
	background: rgba( 0, 0, 0, .08 );
}

/* Separator for text layout */
.mtm-switcher--text .mtm-switcher__item + .mtm-switcher__item::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 14px;
	background: rgba( 0, 0, 0, .2 );
	margin-right: 4px;
	vertical-align: middle;
}

/* Flags layout */
.mtm-switcher--flags .mtm-switcher__flag {
	font-size: 18px;
	line-height: 1;
}
.mtm-switcher--flags .mtm-switcher__name {
	font-size: 12px;
	letter-spacing: .03em;
}
