/* Electron-specific: no Tailwind equivalent for -webkit-app-region */
.electronDrag {
	-webkit-app-region: drag;
}

.electronNoDrag {
	-webkit-app-region: no-drag;
}

.languageMenuScroll {
	max-height: 16rem;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	touch-action: pan-y;
	-webkit-overflow-scrolling: touch;
}

.languageMenuScroll::-webkit-scrollbar {
	width: 8px;
}

.languageMenuScroll::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.04);
	border-radius: 999px;
}

.languageMenuScroll::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.2));
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.languageMenuScroll::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.3));
}

.languageMenuContainer {
	position: relative;
	z-index: 20;
}

.languageMenuPanel {
	position: fixed;
	right: 0;
	top: 0;
	width: 11rem;
	padding: 0.25rem;
	border-radius: 0.625rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(8, 9, 12, 0.96);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.045);
	backdrop-filter: blur(18px) saturate(140%);
	pointer-events: auto;
	box-sizing: border-box;
}

.languageMenuItem {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.425rem 0.5rem;
	border-radius: 0.45rem;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.72);
	background: transparent;
	border: 0;
	cursor: pointer;
	transition: background-color 120ms ease, color 120ms ease;
}

.languageMenuItem:hover,
.languageMenuItem:focus-visible {
	background: rgba(255, 255, 255, 0.075);
	color: #ffffff;
	outline: none;
}

.languageMenuItemActive {
	background: rgba(52, 178, 123, 0.14);
	color: #ffffff;
}
