/* Lightweight flash toasts (vanilla replacement for toastr). */
#toast-container {
	position: fixed;
	z-index: 1000000;
	top: 1rem;
	right: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-width: 340px;
	pointer-events: none;
}

#toast-container.toast-top-center {
	right: auto;
	left: 50%;
	transform: translateX(-50%);
	align-items: center;
}

.tibse-toast {
	pointer-events: auto;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	color: #fff;
	font-size: 0.9rem;
	line-height: 1.35;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.tibse-toast.show {
	opacity: 1;
	transform: none;
}

.tibse-toast--success {
	background: #2ecc71;
}

.tibse-toast--error {
	background: #e74c3c;
}

/* Scroll-to-top button visibility (toggled by assets/js/theme.js on scroll). */
#toTop.visible {
	display: block;
}
