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

.alert {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0.375rem 0.75rem 0.375rem 1rem;
	border-radius: var(--radius-md);
	background: transparent;
	color: var(--alert-warning-color);
}

.alert::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	border-radius: 4px;
	background-color: currentColor;
}

.icon {
	flex-shrink: 0;
	margin-top: 0.125rem;
}

.content {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.title {
	margin: 0;
	font-weight: 600;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--text-primary);
}

.text {
	font-size: 0.8125rem;
	color: var(--text-primary);
	margin: 0;
	line-height: 1.4;
}

.link {
	font-size: 0.8125rem;
	color: var(--alert-warning-color);
	cursor: pointer;
	text-decoration: none;
	text-align: left;
	background: none;
	border: none;
	padding: 0;
}

.link:hover {
	text-decoration: underline;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.25rem;
}
