.bhx-contact-wrapper {
    position: fixed;
    /* Vị trí được điều khiển bằng inline style trong PHP */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bhx-item {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.bhx-item:hover {
    transform: scale(1.1);
}

.bhx-item img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Hiệu ứng riêng cho Phone */
.bhx-phone {
    position: relative;
    background: #d32f2f;
    color: #fff;
    font-size: 24px;
}

.bhx-phone-img-circle {
    z-index: 3;
    animation: bhx-phone-shake 1s infinite ease-in-out;
}

.bhx-phone-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    top: -15px;
    left: -15px;
    background: rgba(211, 47, 47, 0.2);
    border-radius: 50%;
    z-index: 1;
    animation: bhx-phone-pulse 1.2s infinite ease-in-out;
}

.bhx-phone-circle-fill {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -5px;
    left: -5px;
    background: rgba(211, 47, 47, 0.3);
    border-radius: 50%;
    z-index: 2;
    animation: bhx-phone-pulse-fill 1.2s infinite ease-in-out;
}

@keyframes bhx-phone-shake {
    0% { transform: rotate(0) scale(1) skew(1deg); }
    10% { transform: rotate(-25deg) scale(1) skew(1deg); }
    20% { transform: rotate(25deg) scale(1) skew(1deg); }
    30% { transform: rotate(-25deg) scale(1) skew(1deg); }
    40% { transform: rotate(25deg) scale(1) skew(1deg); }
    50% { transform: rotate(0) scale(1) skew(1deg); }
    100% { transform: rotate(0) scale(1) skew(1deg); }
}

@keyframes bhx-phone-pulse {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0; }
}

@keyframes bhx-phone-pulse-fill {
    0% { transform: scale(0.7); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1); opacity: 0; }
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .bhx-item {
        width: 45px;
        height: 45px;
    }
}