/*
 * 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;
}

.modalRoot {
	composes: root large from '@app/components/modals/Modal.module.css';
	width: 720px;
	max-width: 720px;
	overflow: visible;
}

@media screen and (max-width: 639px) {
	.modalRoot {
		width: 100%;
		max-width: 100%;
	}
}

.spinnerContainer {
	display: flex;
	justify-content: center;
	padding: 1.5rem 0;
}

.errorBox {
	border-radius: 0.375rem;
	border: 1px solid var(--background-header-secondary);
	background: var(--background-tertiary);
	padding: 1rem;
}

.errorText {
	margin: 0;
	text-align: center;
	color: var(--text-primary-muted);
}

.stateBox {
	display: flex;
	justify-content: center;
	padding: 1.5rem 0;
}

.stateText {
	margin: 0;
	color: var(--text-primary-muted);
	font-size: 0.875rem;
}

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

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

.scroller {
	max-height: 384px;
}

.inviteItems {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0 12px 12px 12px;
}
