/*
 * B2B Wholesale Portal — luxury toast notices.
 * Every rule is !important by design: this needs to visually win over
 * theme + WooCommerce default notice styling on every install, per spec.
 */

#b2bwp-toast-container {
	position: fixed !important;
	left: 50% !important;
	bottom: 24px !important;
	top: auto !important;
	right: auto !important;
	transform: translateX(-50%) !important;
	z-index: 999999 !important;
	width: min(420px, calc(100vw - 32px)) !important;
	display: flex !important;
	flex-direction: column-reverse !important;
	gap: 10px !important;
	pointer-events: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.b2bwp-toast {
	pointer-events: auto !important;
	position: relative !important;
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
	width: 100% !important;
	box-sizing: border-box !important;
	padding: 16px 40px 16px 16px !important;
	border-radius: 14px !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
	color: #f5f7f4 !important;
	background: linear-gradient(155deg, rgba(20, 24, 22, 0.92) 0%, rgba(10, 14, 12, 0.94) 100%) !important;
	-webkit-backdrop-filter: blur(14px) saturate(140%) !important;
	backdrop-filter: blur(14px) saturate(140%) !important;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-left: 4px solid #c9a24b !important;
	opacity: 0 !important;
	transform: translateY(18px) scale(0.98) !important;
	filter: blur(6px) !important;
	transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
	margin: 0 !important;
}

.b2bwp-toast--show {
	opacity: 1 !important;
	transform: translateY(0) scale(1) !important;
	filter: blur(0) !important;
}

.b2bwp-toast--hide {
	opacity: 0 !important;
	transform: translateY(10px) scale(0.97) !important;
	filter: blur(4px) !important;
}

.b2bwp-toast--error {
	border-left-color: #e0574b !important;
}

.b2bwp-toast--success {
	border-left-color: #4caf7d !important;
}

.b2bwp-toast--info {
	border-left-color: #c9a24b !important;
}

.b2bwp-toast__icon {
	flex: 0 0 auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 24px !important;
	height: 24px !important;
	border-radius: 50% !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	margin-top: 1px !important;
	color: #14181a !important;
}

.b2bwp-toast--error .b2bwp-toast__icon {
	background: #e0574b !important;
	color: #fff !important;
}

.b2bwp-toast--success .b2bwp-toast__icon {
	background: #4caf7d !important;
	color: #0b1f15 !important;
}

.b2bwp-toast--info .b2bwp-toast__icon {
	background: #c9a24b !important;
	color: #1a1408 !important;
}

.b2bwp-toast__msg {
	flex: 1 1 auto !important;
	word-break: break-word !important;
	font-weight: 500 !important;
	letter-spacing: 0.1px !important;
}

.b2bwp-toast__close {
	position: absolute !important;
	top: 10px !important;
	right: 10px !important;
	width: 22px !important;
	height: 22px !important;
	line-height: 20px !important;
	text-align: center !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.08) !important;
	color: #cfd6d1 !important;
	font-size: 15px !important;
	cursor: pointer !important;
	transition: background 0.2s ease, color 0.2s ease !important;
}

.b2bwp-toast__close:hover {
	background: rgba(255, 255, 255, 0.18) !important;
	color: #ffffff !important;
}

@media (max-width: 480px) {
	#b2bwp-toast-container {
		bottom: 12px !important;
		width: calc(100vw - 20px) !important;
	}

	.b2bwp-toast {
		padding: 14px 36px 14px 14px !important;
		border-radius: 12px !important;
		font-size: 13.5px !important;
	}
}

/* My Account -> Orders "Products" column (added by class-b2bwp-dashboard.php) */
.b2bwp-order-items {
	display: inline-block !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
}
