
#fdw-floating-whatsapp,
#fdw-floating-whatsapp * {
    box-sizing: border-box;
}

.fdw-wrap {
    position: fixed;
    bottom: 24px;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    pointer-events: none;
}

.fdw-wrap.fdw-right {
    right: 24px;
}

.fdw-wrap.fdw-left {
    left: 24px;
}

.fdw-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 8px 19px 8px 8px;
    border-radius: 999px;
    background: #25D366;
    color: #ffffff !important;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,.34);
    box-shadow:
        0 12px 30px rgba(19, 102, 51, .25),
        0 3px 10px rgba(0, 0, 0, .12);
    pointer-events: auto;
    isolation: isolate;
    transform: translateZ(0);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease;
}

.fdw-button:hover,
.fdw-button:focus-visible {
    background: #20c45d;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow:
        0 16px 36px rgba(19, 102, 51, .30),
        0 4px 12px rgba(0, 0, 0, .14);
}

.fdw-button:focus-visible {
    outline: 3px solid rgba(37, 211, 102, .28);
    outline-offset: 4px;
}

.fdw-icon {
    position: relative;
    z-index: 2;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
}

.fdw-icon svg {
    width: 27px;
    height: 27px;
    display: block;
}

.fdw-label {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
}

.fdw-pulse {
    position: absolute;
    left: 8px;
    top: 8px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(37, 211, 102, .45);
    z-index: 0;
    animation: fdwPulse 2.2s infinite;
}

@keyframes fdwPulse {
    0% {
        transform: scale(.92);
        opacity: .72;
    }
    65% {
        transform: scale(1.65);
        opacity: 0;
    }
    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .fdw-wrap {
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    }

    .fdw-wrap.fdw-right {
        right: 16px;
    }

    .fdw-wrap.fdw-left {
        left: 16px;
    }

    .fdw-button {
        width: 58px;
        height: 58px;
        min-height: 58px;
        padding: 8px;
        justify-content: center;
        border-radius: 50%;
    }

    .fdw-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        background: transparent;
    }

    .fdw-icon svg {
        width: 31px;
        height: 31px;
    }

    .fdw-label {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0,0,0,0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .fdw-pulse {
        left: 8px;
        top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fdw-pulse {
        animation: none;
    }

    .fdw-button {
        transition: none;
    }
}
