.mcb-container {
  position: fixed;
  z-index: 9999;
  bottom: 20px; 
  left: 20px; 
}

.mcb-btn {
    display: flex;
    align-items: center;
    padding: 6px 14px 6px 6px;
    border-radius: 30px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    margin: 6px 0;
    position: relative;
    overflow: hidden;
}

.mcb-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    position: relative;
}

.mcb-icon::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,30%);
    border-radius: 50%;
    top: -22px;
    left: -22px;
    animation: pulse 2s infinite;
    z-index: 0;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

.mcb-icon img {
    width: 18px;
    height: 18px;
    z-index: 1;
}

.mcb-label {
    position: relative;
    z-index: 1;
}

/* 🎨 Mỗi nền theo loại */
.mcb-zalo { background-color: #0072ff; }
.mcb-telegram { background-color: #0088cc; }
.mcb-instagram { background-color: #e4405f; }
.mcb-youtube { background-color: #ff0000; }
.mcb-tiktok { background-color: #000000; }
.mcb-fanpage_link { background-color: #1877f2; }
.mcb-whatsapp { background-color: #25d366; }
.mcb-viber { background-color: #59267c; }
.mcb-map { background-color: #34b7f1; }
.mcb-contact_link { background-color: #ff6f00; }
.mcb-hotline-1 {
    background-color: #dd3333; 
}

.mcb-hotline-2 {
    background-color: #58C472;
}
/* Hiệu ứng rung kiểu shake */
@keyframes contact-us-vr-shake {
  0%, 100% { transform: rotate(0deg); }
  10%, 30%, 50%, 70%, 90% { transform: rotate(-4deg); }
  20%, 40%, 60%, 80% { transform: rotate(4deg); }
}

/* Áp dụng khi hover vào nút */
.mcb-btn .mcb-icon {
  animation: contact-us-vr-shake 2s infinite;
}


