/* Compact floating language switcher. It does not consume layout space. */
.wamda-floating-language-switcher {
	position: fixed;
	right: 14px;
	bottom: 14px;
	z-index: 2147483647;
	margin: 0;
	padding: 3px;
	background: rgba(255, 255, 255, .96);
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 999px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .10);
	line-height: 1;
}

.wamda-floating-language-switcher ul {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wamda-floating-language-switcher .wamda-language-switcher__item {
	margin: 0;
	padding: 0;
}

.wamda-floating-language-switcher a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 26px;
	padding: 3px 7px;
	border-radius: 999px;
	text-decoration: none;
	color: inherit;
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
	box-sizing: border-box;
}

.wamda-floating-language-switcher a:hover {
	opacity: .75;
}

.wamda-floating-language-switcher .is-active a {
	font-weight: 700;
	background: rgba(0, 0, 0, .20);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
}

.wamda-floating-language-switcher img {
	width: 18px !important;
	height: 12px !important;
	min-width: 18px;
	max-width: 18px !important;
	max-height: 12px !important;
	object-fit: cover;
	display: inline-block;
	vertical-align: middle;
	border: 0;
}

@media screen and (max-width: 600px) {
	.wamda-floating-language-switcher {
		right: 8px;
		bottom: 8px;
	}

	.wamda-floating-language-switcher a {
		gap: 3px;
		min-height: 24px;
		padding: 2px 6px;
		font-size: 11px;
	}

	.wamda-floating-language-switcher img {
		width: 16px !important;
		height: 11px !important;
		min-width: 16px;
		max-width: 16px !important;
		max-height: 11px !important;
	}
}
