#sf-notifications {
	position: fixed;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	width: min(92vw, 450px);
	z-index: 1100;
	display: flex;
	flex-direction: column;
	gap: 8px;
	pointer-events: none;
}

.sf-notification {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;

	padding: 12px 16px;
	border-radius: 6px;

	font-size: 0.9rem;
	font-weight: 600;

	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	pointer-events: auto;
	overflow-wrap: anywhere;
	white-space: pre-wrap;
}

.sf-notification-error {
	background-color: #dc3545;
	color: #fff;
}

.sf-notification-close {
	background: none;
	border: none;
	color: inherit;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
}

@media (prefers-reduced-motion: no-preference) {
	.sf-notification {
		animation: sf-notification-enter 200ms ease-out;
	}
}

@keyframes sf-notification-enter {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}