/* Main wrapper tracking the position */
.wa-float-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px; /* Gap between text badge and circular icon */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* The Text Notification Badge */
.wa-badge {
    background-color: #ffffff;
    color: #333333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: wa-pulse 2s infinite; /* Subtle continuous pulse animation */
}

/* The Circular Icon Button */
.wa-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Official WhatsApp Green */
    color: #ffffff;
    border-radius: 50%; /* Makes it a perfect circle */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover and active states */
.wa-icon-btn:hover {
    transform: scale(1.08); /* Grows slightly larger */
    background-color: #20ba5a; /* Slightly darker green */
}

/* Badge pulse keyframes */
@keyframes wa-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

/* Mobile responsive layout overrides */
@media (max-width: 480px) {
    .wa-float-container {
        bottom: 16px;
        right: 16px;
        gap: 8px;
    }
    .wa-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    .wa-icon-btn {
        width: 50px;
        height: 50px;
    }
    .wa-icon-btn svg {
        width: 26px;
        height: 26px;
    }
}
