/*
 * 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;
	align-items: center;
	gap: 1rem;
	color: var(--text-primary);
}

.description {
	font-size: 0.875rem;
	line-height: 1.25rem;
	text-align: center;
	color: var(--text-primary-muted);
}

.errorBox {
	width: 100%;
	padding: 0.75rem;
	border-radius: 0.375rem;
	border: 1px solid var(--status-danger);
	background-color: rgb(from var(--status-danger) r g b / 0.1);
}

.errorText {
	font-size: 0.875rem;
	line-height: 1.25rem;
	text-align: center;
	color: var(--status-danger);
}

.captchaContainer {
	display: flex;
	width: 100%;
	justify-content: center;
	margin-bottom: 1rem;
}

.switchContainer {
	text-align: center;
}

.switchButton {
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--text-link);
	text-decoration: underline;
	cursor: pointer;
}

.switchButton:hover {
	color: var(--text-link);
}

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