/*
 * 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/>.
 */

.tagsContainer {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.tagsHeader {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.tagsHeaderLabel {
	font-weight: 500;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--text-primary);
}

.tagsInputRow {
	display: flex;
	gap: 0.5rem;
}

.tagsList {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tagChip {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	border-radius: 9999px;
	background-color: var(--brand-primary);
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	padding-top: 0.375rem;
	padding-bottom: 0.375rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: white;
}

.tagRemoveButton {
	display: flex;
	height: 1rem;
	width: 1rem;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	transition-property: opacity;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
	cursor: pointer;
}

.tagRemoveButton:hover {
	opacity: 0.7;
}
