/**
 *  2020 Fintecture SAS
 *
 *  @author Fintecture
 *  @copyright 2020 Fintecture SAS
 *  @license http://www.gnu.org/licenses/gpl-3.0.txt General Public License v3.0 (GPLv3)
 */

:root {
	--success-bg-color: #D2F2D7;
	--info-bg-color: #D7E9FF;
	--warning-bg-color: #F8E6D2;
	--danger-bg-color: #F8D5D4;
}

.fintecture-alert {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 20px;
	padding: 16px;
}

.fintecture-alert p {
	margin: 0 !important;
	color: #141414;
	line-height: 1.1em;
	word-break: break-word;
}

.fintecture-alert p a {
	color: #141414;
	font-weight: bold;
	text-decoration: underline;
}

.fintecture-alert p a:hover {
	text-decoration: none;
}

.fintecture-alert.fintecture-alert-success {
	background-color: var(--success-bg-color);
}

.fintecture-alert.fintecture-alert-info {
	background-color: var(--info-bg-color);
}

.fintecture-alert.fintecture-alert-warning {
	background-color: var(--warning-bg-color);
}

.fintecture-alert.fintecture-alert-danger {
	background-color: var(--danger-bg-color);
}

.fintecture-alert img {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
}