/* ==========================================================================
   Party Booking - WhatsApp Widget Stylesheet
   Floating WhatsApp button with pulse animation
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. WhatsApp Button
   -------------------------------------------------------------------------- */
.pb-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 300ms ease, opacity 300ms ease, visibility 300ms ease;
}

.pb-whatsapp:hover {
    transform: scale(1.1);
}


/* --------------------------------------------------------------------------
   2. Pulse Animation
   -------------------------------------------------------------------------- */
.pb-whatsapp__pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    animation: pb-whatsapp-pulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes pb-whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}


/* --------------------------------------------------------------------------
   3. Icon
   -------------------------------------------------------------------------- */
.pb-whatsapp__icon {
    width: 30px;
    height: 30px;
    color: #FFFFFF;
    fill: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pb-whatsapp__icon svg {
    width: 100%;
    height: 100%;
    fill: #FFFFFF;
    color: #FFFFFF;
}

.pb-whatsapp__icon svg path {
    fill: #FFFFFF !important;
}

.pb-whatsapp__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* --------------------------------------------------------------------------
   4. Hidden State
   -------------------------------------------------------------------------- */
.pb-whatsapp--hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}


/* --------------------------------------------------------------------------
   5. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .pb-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 16px;
        right: 16px;
    }

    .pb-whatsapp__icon {
        width: 24px;
        height: 24px;
    }
}
