/*
 * Copyright (C) 2026 Fluxer Contributors
 *
 * This file is part of Fluxer.
 *
 * Fluxer is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Fluxer is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Fluxer. If not, see <https://www.gnu.org/licenses/>.
 */

.regionSelectorContainer {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	min-width: 0;
}

.regionSelectorContainerCompact {
	background-color: transparent;
}

.select {
	width: 200px;
}

.selectCompact {
	width: fit-content;
	max-width: min(14rem, calc(100vw - 1.25rem));
	min-width: 0;
	font-size: 0.625rem;
	line-height: 0.75rem;
}

.regionOption {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	min-width: 0;
}

.regionEmoji {
	height: 0.9rem;
	width: 0.9rem;
	flex-shrink: 0;
}

.regionEmojiText {
	font-size: 0.85rem;
	line-height: 1;
	flex-shrink: 0;
}

.regionName {
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--text-primary);
}

.regionNameCompact {
	font-weight: 400;
	font-size: 0.625rem;
	line-height: 0.75rem;
	letter-spacing: 0.02em;
	overflow: visible;
	text-overflow: clip;
	color: var(--voice-text-strong);
}
