:root {
	--lang-bar-height: 36px;
}

.language-switcher-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1050;
	height: var(--lang-bar-height);
	background: #1a1a1a;
	border-bottom: 1px solid #f4b41a;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.language-switcher-inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: var(--lang-bar-height);
	padding: 0 12px;
	gap: 8px;
}

.language-switcher-label {
	color: #f4b41a;
	font-size: 0.85rem;
	margin-right: 4px;
}

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

.language-switcher-list li {
	margin: 0;
	padding: 0;
}

.language-switcher-link {
	display: inline-block;
	min-width: 40px;
	padding: 4px 10px;
	font-size: 0.75rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	color: #f4b41a;
	border: 1px solid transparent;
	border-radius: 4px;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.language-switcher-link:hover {
	background: #f4b41a;
	color: #000;
}

.language-switcher-link.is-active {
	background: #f4b41a;
	color: #000;
	border-color: #f4b41a;
	cursor: default;
}

body.has-language-switcher {
	padding-top: var(--lang-bar-height);
}

body.has-language-switcher .header {
	top: var(--lang-bar-height);
}

body.has-language-switcher html,
html:has(.language-switcher-bar) {
	scroll-padding-top: calc(150px + var(--lang-bar-height));
}
