.fcb-container {
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Vị trí ngang */
.fcb-left {
    left: 20px;
}

.fcb-right {
    right: 20px;
}

/* Vị trí dọc */
.fcb-top {
    top: 100px;
    transform: none !important;
}

.fcb-middle {
    top: 50%;
    transform: translateY(-50%) !important;
}

.fcb-bottom {
    bottom: 100px;
    top: auto !important;
    transform: none !important;
}

.fcb-bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none !important;
}

.fcb-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.fcb-bubble img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

/* Màu nền cho các bong bóng */
.fcb-zalo {
    background-color: transparent;
    border: 2px solid #0068ff;
    box-shadow: 0 4px 10px rgba(0, 104, 255, 0.3);
}

.fcb-facebook {
    background-color: transparent;
    border: 2px solid #0084ff;
    box-shadow: 0 4px 10px rgba(0, 132, 255, 0.3);
}

.fcb-whatsapp {
    background-color: transparent;
    border: 2px solid #25d366;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.fcb-phone {
    background-color: transparent;
    border: 2px solid #ff4757;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
}

/* Hiệu ứng bong bóng */
@keyframes fcb-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
}

@keyframes fcb-shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@keyframes fcb-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fcb-rotate {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-10deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Hiệu ứng gợn sóng khi hover */
@keyframes fcb-ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.fcb-bubble::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    animation: none;
    z-index: 1;
}

.fcb-phone::before {
    border: 2px solid #ff4757;
}

.fcb-zalo::before {
    border: 2px solid #0068ff;
}

.fcb-facebook::before {
    border: 2px solid #0084ff;
}

.fcb-whatsapp::before {
    border: 2px solid #25d366;
}

.fcb-animated .fcb-bubble:hover::before {
    animation: fcb-ripple 1.5s infinite;
}

.fcb-animated .fcb-bubble {
    animation: fcb-pulse 1.5s ease-in-out infinite;
    animation-fill-mode: both;
}

.fcb-animated .fcb-phone {
    animation: fcb-shake 2s ease-in-out infinite;
    animation-fill-mode: both;
}

.fcb-animated .fcb-zalo {
    animation: fcb-pulse 1.5s ease-in-out infinite;
    animation-fill-mode: both;
}

.fcb-animated .fcb-facebook {
    animation: fcb-bounce 2s ease-in-out infinite;
    animation-fill-mode: both;
}

.fcb-animated .fcb-whatsapp {
    animation: fcb-rotate 2s ease-in-out infinite;
    animation-fill-mode: both;
}

.fcb-animated .fcb-bubble:hover {
    animation: none !important;
    transform: scale(1.2) !important;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .fcb-container {
        gap: 10px;
    }
    
    .fcb-bubble {
        width: 50px;
        height: 50px;
    }
    
    .fcb-bubble img {
        width: 30px;
        height: 30px;
    }
    
    .fcb-left {
        left: 10px;
    }
    
    .fcb-right {
        right: 10px;
    }
    
    .fcb-top {
        top: 70px;
    }
    
    .fcb-bottom {
        bottom: 70px;
    }
}

/* Đảm bảo hiệu ứng hoạt động */
.fcb-animation-active .fcb-bubble {
    animation-play-state: running !important;
}

.fcb-animation-active .fcb-phone {
    animation: fcb-rotate 2s ease-in-out infinite !important;
    animation-fill-mode: both !important;
}

.fcb-animation-active .fcb-zalo {
    animation: fcb-rotate 2s ease-in-out infinite !important;
    animation-fill-mode: both !important;
    animation-delay: 0.3s !important;
}

.fcb-animation-active .fcb-facebook {
    animation: fcb-rotate 2s ease-in-out infinite !important;
    animation-fill-mode: both !important;
    animation-delay: 0.6s !important;
}

.fcb-animation-active .fcb-whatsapp {
    animation: fcb-rotate 2s ease-in-out infinite !important;
    animation-fill-mode: both !important;
    animation-delay: 0.9s !important;
} 