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

.sliderLabel {
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: var(--text-primary);
	font-size: 0.875rem;
}

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

.audioProcessingLabel {
	font-weight: 500;
	color: var(--text-primary);
	font-size: 0.875rem;
}

.audioProcessingCard {
	border-radius: 0.5rem;
	border: 1px solid var(--background-modifier-accent);
	background-color: var(--background-secondary);
	padding: 1rem;
}

.audioProcessingDescription {
	margin-bottom: 0.75rem;
	font-size: 0.875rem;
	color: var(--text-primary-muted);
}

.audioProcessingOptions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.pttRow {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
}

.pttDescription {
	margin: 0;
	color: var(--text-primary-muted);
	font-size: 0.875rem;
	max-width: 520px;
}

.toggleRow {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-2);
	padding: var(--spacing-3);
	border-radius: var(--radius-lg);
	border: 1px solid var(--panel-control-divider);
	background-color: var(--panel-control-bg);
}

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

.toggleText {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-1);
	max-width: 520px;
}

.label {
	font-weight: 500;
	font-size: 0.875rem;
	color: var(--text-primary);
}

.deviceNotice {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-3);
	padding: var(--spacing-3);
	border-radius: var(--radius-lg);
	border: 1px solid var(--panel-control-border);
	background-color: var(--panel-control-bg);
}

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

.deviceNoticeText {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-1);
}

.deviceNoticeTitle {
	font-weight: 600;
	color: var(--text-primary);
}

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

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

.inputModeLabel {
	font-weight: 500;
	color: var(--text-primary);
	font-size: 0.875rem;
}

.inputModeCard {
	border-radius: 0.5rem;
	border: 1px solid var(--background-modifier-accent);
	background-color: var(--background-secondary);
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.pttSettings {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--background-modifier-accent);
}

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

.pttSettingLabel {
	font-weight: 500;
	font-size: 0.8125rem;
	color: var(--text-primary);
}

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

.pttKeybindRow {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.pttLatchingRow {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
}

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

.pttDelayValue {
	font-size: 0.75rem;
	color: var(--text-primary-muted);
	margin-left: 0.5rem;
}
