/* Floating WhatsApp Button */
.floating-wa-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.floating-wa-btn {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    animation: pulse-wa 2s infinite;
}

.floating-wa-btn:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.floating-wa-btn i {
    color: white;
    /* Ensure icon is white */
}

/* Tooltip/Label Text */
.floating-wa-text {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-wa-text::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid white;
}

.floating-wa-wrapper:hover .floating-wa-text {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Notification Badge */
.wa-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff3e3e;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .floating-wa-wrapper {
        bottom: 20px;
        right: 20px;
    }

    .floating-wa-btn {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }

    .floating-wa-text {
        display: none;
        /* Hide text on mobile to save space */
    }
}