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

.intro {
	color: var(--color-neutral-600);
	font-size: 0.875rem;
	margin-bottom: 0;
}

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

.flagCard {
	border-radius: var(--radius-xl);
	border: 1px solid var(--background-modifier-accent);
	background-color: var(--background-textarea);
	padding: var(--spacing-4);
	display: flex;
	flex-direction: column;
	gap: var(--spacing-3);
}

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

@media (min-width: 768px) {
	.flagHeader {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
	}
}

.textBlock {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.flagTitle {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-primary);
}

.flagDescription {
	margin: 0;
	font-size: 0.875rem;
	color: var(--text-primary-muted);
	line-height: 1.25rem;
}

.statusBlock {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.125rem;
	text-align: right;
	min-width: 160px;
}

.statusLabel {
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-weight: 600;
}

.statusForcedOn {
	color: var(--brand-success);
}

.statusForcedOff {
	color: var(--brand-danger);
}

.statusFollowing {
	color: var(--text-primary-muted);
}

.guildCount {
	margin: 0;
	font-size: 0.75rem;
	color: var(--text-primary-muted);
	line-height: 1rem;
}

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