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

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

.loading {
	display: flex;
	align-items: center;
	justify-content: center;
}

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

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

.webauthnReady {
	display: flex;
	align-items: center;
	justify-content: center;
}

.error {
	margin: 0;
	font-size: 0.875rem;
	color: var(--danger, #d93025);
}

.footerActions {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	gap: 0.5rem;
	width: 100%;
}

.footerActions > * {
	flex: 1;
	min-width: fit-content;
}

.srOnly {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
