.mfn-customer-tab-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	margin-left: 6px;
	padding: 0 5px;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
}

.mfn-customer-tab-count[hidden] {
	display: none;
}

.moulfood-has-account-notifications .header-account-btn {
	position: relative;
}

.moulfood-has-account-notifications .header-account-btn::after {
	position: absolute;
	top: 3px;
	right: 3px;
	width: 8px;
	height: 8px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #f97316;
	content: '';
}

.mfn-customer-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.mfn-customer-panel-head h4 {
	margin: 0;
	font-size: 18px;
}

.mfn-customer-mark-all {
	padding: 0;
	border: 0;
	background: transparent;
	color: #ea580c;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.mfn-customer-list {
	display: grid;
	gap: 8px;
	max-height: 370px;
	overflow-y: auto;
}

.mfn-customer-item {
	position: relative;
	display: block;
	width: 100%;
	padding: 13px 14px;
	border: 1px solid #e2e8f0;
	border-left: 3px solid transparent;
	border-radius: 8px;
	background: #fff;
	color: #0f172a;
	text-align: left;
	cursor: pointer;
}

.mfn-customer-item.is-unread {
	border-left-color: #f97316;
	background: #fff7ed;
}

.mfn-customer-item.is-urgent {
	border-left-color: #dc2626;
}

.mfn-customer-item.is-success {
	border-left-color: #16a34a;
}

.mfn-customer-item strong,
.mfn-customer-item span,
.mfn-customer-item time {
	display: block;
}

.mfn-customer-item strong {
	font-size: 14px;
	line-height: 1.35;
}

.mfn-customer-item span {
	margin-top: 4px;
	color: #475569;
	font-size: 13px;
	line-height: 1.45;
}

.mfn-customer-item time {
	margin-top: 7px;
	color: #94a3b8;
	font-size: 11px;
}

.mfn-customer-empty {
	padding: 30px 16px;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	color: #64748b;
	text-align: center;
}

.mfn-customer-toast-stack {
	position: fixed;
	top: 84px;
	right: 20px;
	z-index: 100050;
	display: grid;
	gap: 10px;
	width: min(360px, calc(100vw - 40px));
	pointer-events: none;
}

.mfn-customer-toast {
	transform: translateY(-8px);
	padding: 14px 16px;
	border-left: 4px solid #f97316;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(15, 23, 42, 0.22);
	opacity: 0;
	transition: opacity 180ms ease, transform 180ms ease;
}

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

.mfn-customer-toast.is-urgent {
	border-left-color: #dc2626;
}

.mfn-customer-toast.is-success {
	border-left-color: #16a34a;
}

.mfn-customer-toast strong,
.mfn-customer-toast span {
	display: block;
}

.mfn-customer-toast span {
	margin-top: 4px;
	color: #475569;
	font-size: 13px;
}

@media (max-width: 600px) {
	.mfn-customer-toast-stack {
		top: 72px;
		right: 12px;
		left: 12px;
		width: auto;
	}

	.mfn-customer-panel-head {
		align-items: flex-start;
	}
}
