/* ============================================
   GBA WhatsApp Floating Button - Styles
   ============================================ */

/* --- Container --- */
.gba-wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* --- Main WhatsApp Button --- */
.gba-wa-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 2px 4px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.gba-wa-button:hover {
    background: #20bd5a;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55), 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gba-wa-button:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* --- Email Button --- */
.gba-wa-email-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4), 0 2px 4px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.gba-wa-email-button:hover {
    background: #2563eb;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.55), 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gba-wa-email-button:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* --- WhatsApp Icon --- */
.gba-wa-icon {
    width: 32px;
    height: 32px;
    color: #FFFFFF;
    flex-shrink: 0;
}

/* --- Pulse Ring --- */
.gba-wa-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: gba-wa-pulse-anim 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes gba-wa-pulse-anim {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* --- Chat Bubble --- */
.gba-wa-bubble {
    background: #FFFFFF;
    border-radius: 16px 16px 4px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 14px 18px;
    padding-right: 34px;
    max-width: 280px;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 4px;
}

.gba-wa-bubble.gba-wa-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.gba-wa-bubble-inner p {
    margin: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Close Button --- */
.gba-wa-close {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s;
}

.gba-wa-close:hover {
    color: #333;
}

/* --- Desktop Only --- */
@media (max-width: 768px) {
    .gba-wa-desktop-only {
        display: none !important;
    }
}

/* --- Mobile Adjustments --- */
@media (max-width: 480px) {
    .gba-wa-float {
        bottom: 20px;
        right: 16px;
    }

    .gba-wa-button,
    .gba-wa-email-button {
        width: 54px;
        height: 54px;
    }

    .gba-wa-icon {
        width: 28px;
        height: 28px;
    }

    .gba-wa-pulse {
        width: 54px;
        height: 54px;
    }

    .gba-wa-bubble {
        max-width: 230px;
        padding: 12px 14px;
        padding-right: 30px;
    }

    .gba-wa-bubble-inner p {
        font-size: 13px;
    }
}
