.xcb-wrapper {
	position: fixed;
	bottom: 15%;
	z-index: 50%;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.xcb-wrapper.xcb-right {
	right: 20px;
}

.xcb-wrapper.xcb-left {
	left: 20px;
}

.xcb-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	color: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	text-decoration: none;
	animation: xcb-pulse 2.2s infinite;
}

.xcb-btn svg {
	width: 26px;
	height: 26px;
}

.xcb-btn:hover {
	animation: none;
	transform: scale(1.08);
}

.xcb-phone {
	background-color: #22c55e;
}

.xcb-zalo {
	background-color: #fff;
	overflow: hidden;
}

.xcb-zalo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xcb-messenger {
	background: linear-gradient(135deg, #00b2ff, #006aff, #a033ff, #ff5280);
}

.xcb-tooltip {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	white-space: nowrap;
	background: #1f2937;
	color: #fff;
	font-size: 13px;
	line-height: 1;
	padding: 6px 10px;
	border-radius: 4px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s ease;
	pointer-events: none;
}

.xcb-right .xcb-tooltip {
	right: 62px;
}

.xcb-left .xcb-tooltip {
	left: 62px;
}

.xcb-btn:hover .xcb-tooltip {
	opacity: 1;
	visibility: visible;
}

@keyframes xcb-pulse {
	0% {
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(0, 0, 0, 0.18);
	}
	70% {
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 10px rgba(0, 0, 0, 0);
	}
	100% {
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

@media (max-width: 480px) {
	.xcb-btn {
		width: 46px;
		height: 46px;
	}
	.xcb-btn svg {
		width: 22px;
		height: 22px;
	}
}
