.wapulse-chat-floating-button {
    position: fixed;
    z-index: 99999;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wapulse-chat-floating-button.wapulse-chat-hide-desktop {
    display: none;
}

.wapulse-chat-floating-button:hover,
.wapulse-chat-floating-button:focus {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    text-decoration: none;
}

.wapulse-chat-floating-button.bottom-right {
    right: 24px;
}

.wapulse-chat-floating-button.bottom-left {
    left: 24px;
}

.wapulse-chat-floating-button.bottom-center {
    left: 50%;
    transform: translateX(-50%);
}

.wapulse-chat-floating-button.bottom-center:hover,
.wapulse-chat-floating-button.bottom-center:focus {
    transform: translateX(-50%) translateY(-3px);
}

.wapulse-chat-floating-button.top-right {
    top: 24px;
    right: 24px;
    bottom: auto;
}

.wapulse-chat-floating-button.top-left {
    top: 24px;
    left: 24px;
    bottom: auto;
}

.wapulse-chat-floating-button.top-center {
    top: 24px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
}

.wapulse-chat-floating-button.top-center:hover,
.wapulse-chat-floating-button.top-center:focus {
    transform: translateX(-50%) translateY(-3px);
}

.wapulse-chat-floating-button.shape-rounded,
.wapulse-chat-shortcode-button.shape-rounded {
    border-radius: 999px;
}

.wapulse-chat-floating-button.shape-square,
.wapulse-chat-shortcode-button.shape-square {
    border-radius: 8px;
}

.wapulse-chat-floating-button.size-small,
.wapulse-chat-shortcode-button.size-small {
    padding: 10px 14px;
    font-size: 13px;
}

.wapulse-chat-floating-button.size-medium,
.wapulse-chat-shortcode-button.size-medium {
    padding: 13px 18px;
    font-size: 15px;
}

.wapulse-chat-floating-button.size-large,
.wapulse-chat-shortcode-button.size-large {
    padding: 16px 22px;
    font-size: 17px;
}

.wapulse-chat-floating-button.display-icon-only,
.wapulse-chat-floating-button.label-hide,
.wapulse-chat-shortcode-button.display-icon-only,
.wapulse-chat-shortcode-button.label-hide {
    width: 54px;
    height: 54px;
    padding: 0;
    gap: 0;
}

.wapulse-chat-floating-button.display-icon-only.size-small,
.wapulse-chat-floating-button.label-hide.size-small,
.wapulse-chat-shortcode-button.display-icon-only.size-small,
.wapulse-chat-shortcode-button.label-hide.size-small {
    width: 46px;
    height: 46px;
}

.wapulse-chat-floating-button.display-icon-only.size-large,
.wapulse-chat-floating-button.label-hide.size-large,
.wapulse-chat-shortcode-button.display-icon-only.size-large,
.wapulse-chat-shortcode-button.label-hide.size-large {
    width: 62px;
    height: 62px;
}

.wapulse-chat-whatsapp-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.size-small .wapulse-chat-whatsapp-icon {
    width: 18px;
    height: 18px;
}

.size-large .wapulse-chat-whatsapp-icon {
    width: 22px;
    height: 22px;
}

.wapulse-chat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.wapulse-chat-shortcode-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    color: #ffffff;
    background-color: #25D366;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.wapulse-chat-shortcode-button:hover,
.wapulse-chat-shortcode-button:focus {
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 767px) {
    .wapulse-chat-floating-button {
        bottom: 18px;
        padding: 12px 15px;
        font-size: 14px;
    }

    .wapulse-chat-floating-button.bottom-right {
        right: 18px;
        left: auto;
    }

    .wapulse-chat-floating-button.bottom-left {
        left: 18px;
        right: auto;
    }

    .wapulse-chat-floating-button.bottom-center {
        left: 50%;
        right: auto;
    }

    .wapulse-chat-floating-button.top-right {
        top: 18px;
        right: 18px;
        left: auto;
    }

    .wapulse-chat-floating-button.top-left {
        top: 18px;
        left: 18px;
        right: auto;
    }

    .wapulse-chat-floating-button.top-center {
        top: 18px;
        left: 50%;
        right: auto;
    }

    .wapulse-chat-floating-button.wapulse-chat-hide-desktop {
        display: inline-flex;
    }

    .wapulse-chat-floating-button.wapulse-chat-hide-mobile {
        display: none;
    }
}

.wapulse-chat-floating-wrap {
    position: fixed;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.wapulse-chat-floating-wrap.bottom-right {
    right: 24px;
    bottom: 24px;
}

.wapulse-chat-floating-wrap.bottom-left {
    left: 24px;
    bottom: 24px;
    align-items: flex-start;
}

.wapulse-chat-floating-wrap.bottom-center {
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    align-items: center;
}

.wapulse-chat-floating-wrap.top-right {
    right: 24px;
    top: 24px;
}

.wapulse-chat-floating-wrap.top-left {
    left: 24px;
    top: 24px;
    align-items: flex-start;
}

.wapulse-chat-floating-wrap.top-center {
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
    align-items: center;
}

.wapulse-chat-floating-wrap .wapulse-chat-floating-button {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
}

.wapulse-chat-floating-wrap .wapulse-chat-floating-button.bottom-center,
.wapulse-chat-floating-wrap .wapulse-chat-floating-button.top-center {
    transform: none;
}

.wapulse-chat-floating-wrap .wapulse-chat-floating-button.bottom-center:hover,
.wapulse-chat-floating-wrap .wapulse-chat-floating-button.bottom-center:focus,
.wapulse-chat-floating-wrap .wapulse-chat-floating-button.top-center:hover,
.wapulse-chat-floating-wrap .wapulse-chat-floating-button.top-center:focus {
    transform: translateY(-3px);
}

.wapulse-chat-tooltip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    max-width: 320px;
    padding: 14px 42px 14px 14px;
    color: #1f2937;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

.wapulse-chat-tooltip::after {
    content: "";
    position: absolute;
    right: 24px;
    bottom: -9px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    transform: rotate(45deg);
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.05);
}

.wapulse-chat-floating-wrap.bottom-left .wapulse-chat-tooltip::after,
.wapulse-chat-floating-wrap.top-left .wapulse-chat-tooltip::after {
    right: auto;
    left: 24px;
}

.wapulse-chat-floating-wrap.top-right .wapulse-chat-tooltip::after,
.wapulse-chat-floating-wrap.top-left .wapulse-chat-tooltip::after,
.wapulse-chat-floating-wrap.top-center .wapulse-chat-tooltip::after {
    top: -9px;
    bottom: auto;
}

.wapulse-chat-tooltip-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    overflow: hidden;
    border-radius: 50%;
    background: #f3f4f6;
}

.wapulse-chat-tooltip-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.wapulse-chat-tooltip-text {
    display: block;
}

.wapulse-chat-tooltip-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    padding: 0;
    color: #111827;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.wapulse-chat-tooltip-close:hover,
.wapulse-chat-tooltip-close:focus {
    color: #000000;
    background: transparent;
    box-shadow: none;
    outline: none;
}

.wapulse-chat-floating-wrap.wapulse-chat-hide-desktop {
    display: none;
}

@media (max-width: 767px) {
    .wapulse-chat-floating-wrap {
        gap: 10px;
    }

    .wapulse-chat-floating-wrap.bottom-right {
        right: 18px;
        bottom: 18px;
    }

    .wapulse-chat-floating-wrap.bottom-left {
        left: 18px;
        bottom: 18px;
    }

    .wapulse-chat-floating-wrap.bottom-center {
        left: 50%;
        bottom: 18px;
    }

    .wapulse-chat-floating-wrap.top-right {
        right: 18px;
        top: 18px;
    }

    .wapulse-chat-floating-wrap.top-left {
        left: 18px;
        top: 18px;
    }

    .wapulse-chat-floating-wrap.top-center {
        left: 50%;
        top: 18px;
    }

    .wapulse-chat-tooltip {
        max-width: calc(100vw - 42px);
        padding: 12px 38px 12px 12px;
        font-size: 14px;
    }

    .wapulse-chat-tooltip-avatar {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .wapulse-chat-floating-wrap.wapulse-chat-hide-desktop {
        display: flex;
    }

    .wapulse-chat-floating-wrap.wapulse-chat-hide-mobile {
        display: none;
    }
}