html.lkt-translating body { visibility: hidden; }

.lkt-switcher { display: inline-block; position: relative; }
.lkt-switcher select {
	font: inherit;
	padding: 6px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
}
.lkt-switcher--floating {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 99998;
	background: #fff;
	padding: 6px;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ---- Flags dropdown ---- */
.lkt-switcher--flags .lkt-flags-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	background: transparent;
	border: 0;
	cursor: pointer;
	font: inherit;
	color: inherit;
	line-height: 1;
}
.lkt-switcher--flags .lkt-flag {
	font-size: 22px;
	line-height: 1;
	display: inline-block;
}
.lkt-switcher--flags .lkt-chevron {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
	margin-left: 4px;
	margin-bottom: 3px;
}
.lkt-switcher--flags.is-open .lkt-chevron { transform: rotate(-135deg); margin-bottom: -2px; }

.lkt-switcher--flags .lkt-flags-menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 56px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: rgba(255,255,255,0.08);
	backdrop-filter: blur(6px);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	z-index: 99999;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
/* The [hidden] attribute must override our display:flex. */
.lkt-switcher--flags .lkt-flags-menu[hidden] { display: none !important; }

.lkt-switcher--flags .lkt-flags-menu li {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 6px 10px;
	border-radius: 6px;
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}
.lkt-switcher--flags.lkt-flags-label-code .lkt-flags-menu li,
.lkt-switcher--flags.lkt-flags-label-name .lkt-flags-menu li {
	justify-content: flex-start;
}
.lkt-switcher--flags .lkt-flag-text {
	font: inherit;
	font-size: 14px;
	line-height: 1;
}
.lkt-switcher--flags.lkt-flags-label-code .lkt-flag-text {
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.5px;
}
.lkt-switcher--flags .lkt-flags-menu li:hover,
.lkt-switcher--flags .lkt-flags-menu li:focus {
	background: rgba(255, 193, 7, 0.85);
	outline: none;
}
.lkt-switcher--flags .lkt-flags-menu li[aria-selected="true"] {
	background: rgba(255, 193, 7, 0.85);
}
.lkt-switcher--flags.lkt-switcher--floating {
	padding: 0;
	background: transparent;
	box-shadow: none;
}
.lkt-switcher--flags.lkt-switcher--floating .lkt-flags-menu {
	right: 0;
	top: auto;
	bottom: calc(100% + 6px);
	background: rgba(20,20,20,0.85);
}
.lkt-switcher--flags.lkt-switcher--floating .lkt-flags-toggle {
	background: rgba(20,20,20,0.75);
	color: #fff;
	border-radius: 8px;
	padding: 6px 10px;
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px; overflow: hidden;
}
