/**
 * Floating toast — save / status feedback over the admin app.
 */

.bm-floating-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 100000;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	max-width: min(92vw, 360px);
	padding: 0.7rem 1rem;
	border-radius: 10px;
	border: 1px solid transparent;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	box-shadow:
		0 12px 28px -10px rgba(19, 27, 46, 0.28),
		0 4px 10px rgba(19, 27, 46, 0.1);
	transform: translateX(-50%);
	animation: bm-floating-toast-in 0.28s cubic-bezier(0.2, 0, 0, 1) both;
	pointer-events: none;
}

.bm-floating-toast .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	line-height: 18px;
}

.bm-floating-toast--success {
	background: #ecfdf3;
	border-color: color-mix(in srgb, #15803d 28%, transparent);
	color: #166534;
}

.bm-floating-toast--danger {
	background: #fef2f2;
	border-color: color-mix(in srgb, #b91c1c 28%, transparent);
	color: #991b1b;
}

.bm-floating-toast__text {
	min-width: 0;
}

@keyframes bm-floating-toast-in {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}
