.snackbar-anchor{ position: relative; }

.snackbar{
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	opacity: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	box-shadow: 0 6px 16px rgba(0,0,0,.15);
	transition: opacity .25s ease, transform .25s ease;
	pointer-events: auto;
}
.snackbar.show{ opacity: 1; transform: translateX(-50%) translateY(0); }

.snackbar i{ font-size: 18px; }
.snackbar .snack-action{
	margin-left: 8px;
	background: transparent;
	border: 0;
	text-decoration: underline;
	cursor: pointer;
	font-weight: 600;
}

/* variants */
.snackbar--success{ background:#e8f5e9; color:#1e7e34; border:1px solid #c7e6cb; }
.snackbar--error{ background:#fdecea; color:#842029; border:1px solid #f5c2c7; }
.snackbar--info{ background:#e7f1ff; color:#0c63e4; border:1px solid #b6d4fe; }
.snackbar--warning{ background:#fff4e5; color:#8a4b0f; border:1px solid #ffd8a8; }
