/**
 * NotifyCRM — Frontend Styles
 *
 * Covers: floating WhatsApp button, cart recovery notices,
 * and any other frontend-visible plugin elements.
 *
 * @package NotifyCRM
 */

/* ── Floating WhatsApp Button ─────────────────────────── */

#notifycrm-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, .3);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

#notifycrm-float:hover {
    transform: scale(1.1);
}

#notifycrm-float svg {
    display: block;
}

@media (max-width: 480px) {
    #notifycrm-float {
        width: 50px;
        height: 50px;
        bottom: 14px;
    }
}

/* Pulse animation (enabled via JS class) */
#notifycrm-float.notifycrm-pulse {
    animation: notifycrm-pulse 2s infinite;
}

#notifycrm-float.notifycrm-pulse:hover {
    animation: none;
}

@keyframes notifycrm-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
