/* Floating WhatsApp support button */
.wa-support {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99997;
    font-family: inherit;
}

.wa-support-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 14px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: wa-float 3s ease-in-out infinite;
    overflow: visible;
}

.wa-support-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.wa-support-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.wa-support-btn i,
.wa-support-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: block;
}

.wa-support-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 2px solid rgba(37, 211, 102, 0.7);
    animation: wa-pulse-ring 2s ease-out infinite;
    pointer-events: none;
}

.wa-support-pulse::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 2px solid rgba(37, 211, 102, 0.35);
    animation: wa-pulse-ring 2s ease-out infinite 0.6s;
}

.wa-support-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    min-width: 220px;
    padding: 8px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.96);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.wa-support-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wa-support-menu-title {
    padding: 6px 10px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wa-support-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s ease;
}

.wa-support-menu a:hover {
    background: #f0fdf4;
    color: #128c7e;
}

.wa-support-menu a i {
    font-size: 18px;
    color: #25d366;
}

@keyframes wa-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes wa-pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .wa-support {
        right: 14px;
        bottom: 14px;
    }

    .wa-support-btn {
        padding: 14px;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
    }

    .wa-support-btn span:not(.wa-support-pulse) {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .wa-support-btn i,
    .wa-support-icon {
        width: 26px;
        height: 26px;
    }
}
