/* OpenClaw WhatsApp floating button */
#openclaw-wa-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#openclaw-popup {
    background: #fff;
    color: #333;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    max-width: 220px;
    line-height: 1.4;
    display: none;
    animation: ocFadeIn 0.2s ease;
}

#openclaw-popup.visible {
    display: block;
}

#openclaw-circle {
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#openclaw-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(37,211,102,0.55);
}

#openclaw-circle svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

@keyframes ocFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Pulse ring on load */
#openclaw-circle::after {
    content: '';
    position: absolute;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(37,211,102,0.3);
    animation: ocPulse 2s ease-out infinite;
}

@keyframes ocPulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(1.7); opacity: 0; }
}
