/* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    animation: pulse-ring 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

/* Pulse animation */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7),
                    0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0),
                    0 4px 20px rgba(37, 211, 102, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0),
                    0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    left: 75px;
    bottom: 50%;
    transform: translateY(50%);
    background: #fff;
    color: #333;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: #fff;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    left: 70px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .whatsapp-float {
        left: 15px;
        bottom: 15px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        left: 10px;
        bottom: 10px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}
