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

.emptyState {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	padding: var(--spacing-6) var(--spacing-4);
}

.spinnerWrapper {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
}

.section {
	background: var(--form-surface-background);
	border: 1px solid var(--background-modifier-selected);
	border-radius: var(--radius-xl);
	margin-bottom: var(--spacing-6);
	padding: var(--spacing-5);
}

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

.sectionTitle {
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
}

.sectionSubtitle {
	color: var(--text-secondary);
	font-size: 0.875rem;
	margin: 0;
}

.listWrapper {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-3);
	margin-top: var(--spacing-3);
}

.emptyText {
	color: var(--text-tertiary);
	font-size: 0.875rem;
	margin: 0;
}

.packCard {
	background: var(--background-secondary);
	border: 1px solid var(--background-modifier-selected);
	border-radius: var(--radius-lg);
	padding: var(--spacing-4);
}

.packCardHeader {
	align-items: baseline;
	display: flex;
	justify-content: space-between;
	margin-bottom: var(--spacing-2);
}

.packName {
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
}

.packMeta {
	color: var(--text-tertiary);
	font-size: 0.75rem;
	text-transform: uppercase;
}

.packDescription {
	color: var(--text-secondary);
	font-size: 0.875rem;
	margin: 0 0 var(--spacing-3);
}

.packTimestamp {
	color: var(--text-tertiary);
	font-size: 0.75rem;
	margin: 0 0 var(--spacing-3);
}

.cardActions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-2);
	justify-content: flex-end;
}
