/* ===== WhatsApp Chat Button - Animated ===== */

.wacb-float{
    position: fixed;
    bottom: var(--wacb-bottom, 28px);
    z-index: 999999;
    display: flex;
    align-items: center;
    animation: wacbEntry .6s ease-out;
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.wacb-right{
    right: var(--wacb-side, 28px);
}

.wacb-left{
    left: var(--wacb-side, 28px);
    flex-direction: row-reverse;
}

.wacb-tooltip{
    background: #ffffff;
    color: #222222;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    transition: .35s ease;
}

.wacb-right .wacb-tooltip{
    margin-right: 14px;
    transform: translateX(15px);
}

.wacb-left .wacb-tooltip{
    margin-left: 14px;
    transform: translateX(-15px);
}

.wacb-float:hover .wacb-tooltip{
    opacity: 1;
    transform: translateX(0);
}

.wacb-btn{
    position: relative;
    width: var(--wacb-size, 62px);
    height: var(--wacb-size, 62px);
    border-radius: 50%;
    background: var(--wacb-bg, #25D366);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
    text-decoration: none;
    z-index: 2;
    transition: transform .3s ease, box-shadow .3s ease;
}

.wacb-btn:hover{
    transform: scale(1.08);
}

.wacb-btn svg{
    width: 52%;
    height: 52%;
    fill: var(--wacb-icon, #ffffff);
    position: relative;
    z-index: 2;
}

.wacb-pulse{
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--wacb-bg, #25D366);
    opacity: .6;
    animation: wacbPulse 2.2s ease-out infinite;
    z-index: 1;
}

.wacb-delay{
    animation-delay: 1.1s;
}

@keyframes wacbPulse{
    0%{
        transform: scale(1);
        opacity: .55;
    }
    100%{
        transform: scale(1.9);
        opacity: 0;
    }
}

.wacb-badge{
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #ff3b30;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    animation: wacbBadgeBounce 1.8s ease-in-out infinite;
    border: 2px solid rgba(255,255,255,.9);
}

@keyframes wacbBadgeBounce{
    0%, 100%{ transform: scale(1); }
    50%{ transform: scale(1.2); }
}

@keyframes wacbEntry{
    0%{ transform: translateY(80px); opacity: 0; }
    100%{ transform: translateY(0); opacity: 1; }
}

@media (max-width: 480px){
    .wacb-tooltip{ display: none; }
}
