/* WhatsApp support button. Loaded with the button so guest pages that do not use style.css still size it. */

@keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(37,211,102,0.55), 0 8px 24px rgba(0,0,0,0.35); }
    60%  { box-shadow: 0 0 0 14px rgba(37,211,102,0),   0 8px 24px rgba(0,0,0,0.35); }
    100% { box-shadow: 0 0 0 0   rgba(37,211,102,0),   0 8px 24px rgba(0,0,0,0.35); }
}
@keyframes wa-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
}

.support-float {
    position: fixed;
    right: 20px;
    bottom: 28px;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: linear-gradient(145deg, #1a2a1e 0%, #0f1f14 100%);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #25d366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-support, 5000);
    text-decoration: none;
    animation: wa-pulse 2.6s ease-out infinite, wa-float 3.2s ease-in-out infinite;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.support-float:hover {
    background: linear-gradient(145deg, #1f3326 0%, #122018 100%);
    border-color: rgba(37, 211, 102, 0.7);
    color: #4fffaa;
    animation: none;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 0 0 6px rgba(37,211,102,0.15), 0 12px 28px rgba(0,0,0,0.4);
}
.support-float__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.support-float__icon i {
    font-size: 1.55rem;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(37,211,102,0.5));
}

@media (max-width: 768px) {
    .support-float {
        right: 16px;
        bottom: calc(20px + env(safe-area-inset-bottom));
        width: 50px;
        height: 50px;
    }
    body.gb-app .support-float {
        bottom: calc(112px + 14px + env(safe-area-inset-bottom));
    }
    .support-float__icon i { font-size: 1.4rem; }
}
