/* Success toasts — pale green bar, filled circle check (legacy site) */

:root {
	--lobje-toast-success-bg: #ebf5ef;
	--lobje-toast-success-text: #1f8f4e;
	--lobje-toast-success-icon: #259753;
}

.lobje-action-toasts {
	position: fixed;
	top: 10%;
	left: 50%;
	z-index: 10050;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	width: min(92vw, 28rem);
	margin: 0;
	padding: 0;
	list-style: none;
	pointer-events: none;
	transform: translateX(-50%);
}

.lobje-action-toast {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: auto;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0.8rem 1.35rem;
	border: 0;
	border-radius: 6px;
	background: var(--lobje-toast-success-bg);
	color: var(--lobje-toast-success-text);
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.01em;
	box-shadow: 0 4px 14px rgba(31, 143, 78, 0.12);
	opacity: 0;
	transform: translateY(-12px);
	transition: opacity 0.28s ease, transform 0.32s ease;
	pointer-events: auto;
}

.lobje-action-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.lobje-action-toast.is-leaving {
	opacity: 0;
	transform: translateY(-12px);
}

.lobje-action-toast__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1.35rem;
	height: 1.35rem;
	border: 0;
	border-radius: 50%;
	background: var(--lobje-toast-success-icon);
	color: #fff;
}

.lobje-action-toast__icon svg {
	display: block;
	width: 0.72rem;
	height: 0.72rem;
	stroke: currentColor;
}

.lobje-action-toast__text {
	flex: 0 1 auto;
	min-width: 0;
	text-align: left;
	white-space: nowrap;
}

@media (max-width: 480px) {
	.lobje-action-toast__text {
		white-space: normal;
	}
}

@media (min-width: 900px) {
	.lobje-action-toast {
		padding: 0.85rem 1.5rem;
		font-size: 1.0625rem;
	}
}