/* WhatsApp FAB Button (Circle Only) */
.whatsapp-fab {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    /* WhatsApp Green */
    border-radius: 50%;
    display: none;
    /* Managed by JS */
    align-items: center;
    justify-content: center;
    /* Center the icon */
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 990;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon-wrapper {
    width: 32px;
    /* Increased size for circle button */
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* WhatsApp Tooltip Styles */
.whatsapp-tooltip {
    position: fixed;
    bottom: 112px;
    /* Aligned with center of WhatsApp FAB (100px bottom + 30px half height - approx half tooltip height) */
    right: 100px;
    /* To the left of the FAB */
    background: white;
    color: #25D366;
    /* WhatsApp Green text */
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px);
    animation: whatsappTooltipFade 6s ease-out forwards;
    animation-delay: 2s;
    /* Start slightly after FAQ tooltip or as desired */
    display: none;
    /* Hidden by default, toggled by JS if link exists */
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

@keyframes whatsappTooltipFade {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }

    10% {
        opacity: 1;
        transform: translateX(0);
    }

    85% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(0);
        visibility: hidden;
    }
}

@media (max-width: 480px) {
    .whatsapp-fab {
        bottom: 90px;
        right: 20px;
    }

    .whatsapp-tooltip {
        right: 90px;
        bottom: 102px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}