.tabba-wa-button {
    --tabba-wa-green: #25d366;
    align-items: center;
    background: var(--tabba-wa-green);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(18,7,32,.24);
    color: #fff !important;
    display: inline-flex;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    gap: 10px;
    line-height: 1;
    padding: 11px 16px;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

.tabba-wa-button:hover,
.tabba-wa-button:focus-visible {
    box-shadow: 0 16px 38px rgba(18,7,32,.3);
    color: #fff !important;
    transform: translateY(-2px);
}

.tabba-wa-button:focus-visible {
    outline: 3px solid #ffb22c;
    outline-offset: 3px;
}

.tabba-wa-button svg {
    display: block;
    flex: 0 0 28px;
    height: 28px;
    width: 28px;
}

.tabba-wa-button.is-floating {
    bottom: max(22px, env(safe-area-inset-bottom));
    left: max(22px, env(safe-area-inset-left));
    position: fixed;
    z-index: 99990;
}

.tabba-wa-button.is-floating::before {
    animation: tabba-wa-pulse 2.4s infinite;
    border: 2px solid var(--tabba-wa-green);
    border-radius: inherit;
    content: "";
    inset: -6px;
    pointer-events: none;
    position: absolute;
}

@keyframes tabba-wa-pulse {
    0% { opacity: .55; transform: scale(.96); }
    70%, 100% { opacity: 0; transform: scale(1.12); }
}

@media (max-width: 640px) {
    .tabba-wa-button.is-floating {
        bottom: max(16px, env(safe-area-inset-bottom));
        left: max(14px, env(safe-area-inset-left));
        min-height: 54px;
        padding: 12px;
    }

    .tabba-wa-button.is-floating span {
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .tabba-wa-button.is-floating svg {
        height: 30px;
        width: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tabba-wa-button,
    .tabba-wa-button.is-floating::before {
        animation: none;
        transition: none;
    }
}

@media print {
    .tabba-wa-button.is-floating { display: none !important; }
}
