.cmbird-fomo-root {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 9999;
	pointer-events: none;
	max-width: calc(100vw - 32px);
}

.cmbird-fomo-card {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 14px;
	align-items: center;
	width: min(360px, calc(100vw - 32px));
	padding: 14px 16px;
	background: #ffffff;
	border: 1px solid rgba(16, 24, 40, 0.08);
	border-radius: 14px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
	color: #1f2937;
	pointer-events: auto;
	position: relative;
	animation: cmbird-fomo-slide-in 0.35s ease-out;
	font-size: 14px;
	line-height: 1.4;
}

.cmbird-fomo-card.is-hiding {
	animation: cmbird-fomo-slide-out 0.32s ease-in forwards;
}

.cmbird-fomo-media img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 10px;
	background: #f3f4f6;
}

.cmbird-fomo-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.cmbird-fomo-customer {
	font-size: 16px;
	font-weight: 600;
	color: #111827;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cmbird-fomo-message,
.cmbird-fomo-time {
	margin: 0;
	color: #6b7280;
}

.cmbird-fomo-close {
	position: absolute;
	top: 8px;
	right: 10px;
	border: 0;
	background: transparent;
	color: #9ca3af;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	width: 20px;
	height: 20px;
}

.cmbird-fomo-close:hover {
	color: #374151;
}

@keyframes cmbird-fomo-slide-in {
	from {
		opacity: 0;
		transform: translate3d(0, 12px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes cmbird-fomo-slide-out {
	from {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}

	to {
		opacity: 0;
		transform: translate3d(0, 16px, 0);
	}
}

@media (max-width: 640px) {
	.cmbird-fomo-root {
		left: 16px;
		right: 16px;
		bottom: 16px;
	}

	.cmbird-fomo-card {
		width: 100%;
	}
}