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

.title {
	margin-bottom: 0;
	font-size: 1.25rem;
	font-weight: 600;
}

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

.switchesContainer {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.pushSection {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	background: var(--surface-secondary);
	padding: 1rem;
	border-radius: 0.75rem;
	border: 1px solid var(--border-muted);
}

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

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

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

.pushButton {
	padding: 0.35rem 0.75rem;
	font-size: 0.875rem;
	border-radius: 0.5rem;
	border: 1px solid transparent;
	background: var(--brand-primary);
	color: var(--text-on-brand-primary);
	cursor: pointer;
}

.pushButtonSecondary {
	background: transparent;
	color: var(--text-primary);
	border-color: var(--border-muted);
}

.pushButton:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

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

.pushList {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.pushListItem {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: var(--text-primary);
}

.pushListItem span:last-child {
	color: var(--text-secondary);
	word-break: break-all;
}
