/**
 * Global toast popups — success (green), error (red), warning/info (orange).
 * Used with public/assets/js/toast.js (__couponToast).
 */
@keyframes coupon-toast-in {
	from {
		opacity: 0;
		transform: translateX(24px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.toast-container {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: min(380px, calc(100vw - 32px));
	pointer-events: none;
}

.toast-container .toast {
	pointer-events: auto;
}

.toast {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid transparent;
	font-size: 14px;
	line-height: 1.45;
	font-weight: 500;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
	animation: coupon-toast-in 0.35s ease-out;
}

.toast.toast--text-only {
	display: block;
}

/* Success — jeshile */
.toast--text-only.toast--success {
	background: #ecfdf5;
	color: #065f46;
	border-color: #a7f3d0;
	box-shadow: 0 10px 36px rgba(16, 185, 129, 0.2);
}

/* Error — e kuqe */
.toast--text-only.toast--error {
	background: #fef2f2;
	color: #991b1b;
	border-color: #fecaca;
	box-shadow: 0 10px 36px rgba(239, 68, 68, 0.18);
}

/* Këshilluese / info — portokalli */
.toast--text-only.toast--warning {
	background: #fff7ed;
	color: #9a3412;
	border-color: #fdba74;
	box-shadow: 0 10px 36px rgba(234, 88, 12, 0.18);
}
