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

.controls {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 6px;
	border-radius: 12px;
	border: 1px solid color-mix(in srgb, var(--background-modifier-accent) 70%, transparent);
	background: color-mix(in srgb, var(--background-secondary) 85%, transparent);
	backdrop-filter: blur(12px);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.controlsDisabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	border: none;
	background: transparent;
	color: var(--text-primary-muted);
	cursor: pointer;
	transition:
		background-color 0.15s ease,
		color 0.15s ease;
}

.button:hover {
	background: var(--background-modifier-hover);
	color: var(--text-primary);
}

.buttonActive {
	background: var(--background-modifier-accent);
	color: var(--text-primary);
}

.buttonActive:hover {
	background: var(--background-modifier-accent);
}

.buttonDisabled {
	cursor: not-allowed;
	pointer-events: none;
}
