/* WhatsApp Widget Styles */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: Arial, sans-serif;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.whatsapp-widget.show {
    opacity: 1;
    visibility: visible;
}

.whatsapp-tooltip {
    background-color: #fff;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-button {
    background-color: #25D366;
    /* Official WhatsApp Green */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: #fff;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 85px;
        /* Moved above bottom navigation bar */
        right: 20px;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
    }

    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }

    .whatsapp-tooltip {
        /* On smaller screens, keeping the tooltip might overlap with mobile content */
        display: none;
    }
}