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

.container {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.title {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-tertiary);
}

.previewContainer {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
}

.previewItem {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.previewBox {
	display: flex;
	aspect-ratio: 1;
	width: 8rem;
	align-items: center;
	justify-content: center;
	border-radius: 0.375rem;
	border: 1px solid var(--background-modifier-accent);
}

.darkBackground {
	background: hsl(220, calc(13% * var(--saturation-factor, 1)), 8%);
}

.lightBackground {
	background: hsl(210, calc(20% * var(--saturation-factor, 1)), 98%);
}

.previewImage {
	width: 100%;
	height: 100%;
	padding: 0.5rem;
	border-radius: 0.25rem;
	object-fit: cover;
}

.label {
	font-size: 0.75rem;
	color: var(--text-primary-muted);
}
