/* WhatsApp Floating Button Styles */

:root {
    --whatsapp-green: #25d366;
    --whatsapp-dark: #128c7e;
    --whatsapp-gradient: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    --whatsapp-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.fab-whatsapp {
    position: relative; /* Inside fab-container */
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--whatsapp-gradient);
    color: white !important;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    box-shadow: var(--whatsapp-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fab-whatsapp.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fab-whatsapp:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    filter: brightness(1.1);
}

.fab-whatsapp:active {
    transform: translateY(-2px) scale(0.98);
}

.whatsapp-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.whatsapp-icon-wrapper svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Pulse Animation for attention */
@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.fab-whatsapp.pulse {
    animation: whatsapp-pulse 2s infinite;
}

@media (max-width: 768px) {
    .fab-whatsapp {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .fab-whatsapp .fab-text {
        display: none; /* Icon only on mobile to save space if there are many FABs */
    }
    
    .fab-whatsapp {
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
        padding: 0;
    }
}
