.hoo-floating-form-button {
    position: fixed;
    right: 0;
    bottom: 0;
    margin: 16px;
    z-index: 99999999;
}

.hoo-floating-form-button__link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none;
    filter: drop-shadow(0px 0px 12px rgba(0, 0, 0, .08));
}

.hoo-floating-form-button.hoo-form-open .hoo-floating-form-button__link {
    cursor: default;
    user-select: text;
    pointer-events: none;
}

.hoo-floating-form-button.hoo-form-open .hoo-floating-form-button__content__text {
    cursor: text;
    user-select: text;
    pointer-events: none;
}

.hoo-floating-form-button__icon-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 100px;
    text-align: center;
    font-size: 32px;
    color: #ffffff;
    transition: all 150ms cubic-bezier(0.22, 0.61, 0.36, 1);
    background: linear-gradient(145deg, #5a8bed 0%, #3169e1 100%);

    /* whatsapp */

    background: linear-gradient(145deg, #58d064 0%, #26b13b 100%);
}

.hoo-floating-form-button__icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    background-color: rgba(90, 139, 237, 0.6);
    border-radius: 120px;
    transform: translate(-50%, -50%) scale(0.5);
    animation: pulse_animation 1.5s infinite ease-in-out;
    z-index: -1;
    opacity: 1;
    transition: all 75ms cubic-bezier(0.22, 0.61, 0.36, 1);

    /* whatsapp */
    background-color: rgb(37 211 102 / 60%);
}

@keyframes pulse_animation {
    0% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.hoo-floating-form-button:not(.hoo-form-open) .hoo-floating-form-button__link:hover .hoo-floating-form-button__icon-wrapper {
    scale: 1.1;
}

.hoo-floating-form-button:not(.hoo-form-open) .hoo-floating-form-button__link:hover .hoo-floating-form-button__icon-wrapper::before {
    background-color: rgba(0, 255, 0, 0);
}

.hoo-floating-form-button.hoo-form-open .hoo-floating-form-button__icon-wrapper::before {
    background-color: rgba(0, 255, 0, 0);
}

.hoo-floating-form-button__icon-wrapper i {
    line-height: 0;
}

.hoo-floating-form-button__content {
    position: relative;
    margin-right: 16px;
    padding: 9px 12px 8px 12px;
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid #999999;
    text-align: center;
    max-width: calc(90svw - 64px)
}

.hoo-floating-form-button__content__text {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #000000;
    line-height: 1;
    margin: 0 !important;
}

.hoo-floating-form-button__content:has(.hoo-floating-form-button__content__text-2) .hoo-floating-form-button__content__text-1 {
    padding-bottom: 4px;
}

.hoo-floating-form-button__content::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -6px;
    -webkit-transform: translateY(-50%) rotate(45deg);
    -ms-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-top: 1px solid #999999;
    border-right: 1px solid #999999;
    background-color: #ffffff;
}

@media screen and (max-width: 767px) {
    .hoo-floating-form-button__content {
        display: none;
    }
}

.hoo-floating-form {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000;
    margin-right: 16px;
    margin-bottom: 80px;
    border-radius: 16px;
    max-width: calc(100svw - 48px);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 16px 48px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    z-index: 9999999;
}

.hoo-floating-form p {
    margin: 0 !important;
    padding: 0;
}

.hoo-floating-form__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 16px;
    background-color: #19232d;

    /* whatsapp */
    background-color: #0b6156;
}

.hoo-floating-form__header__column-1 {
    width: 52px;
}

.hoo-floating-form__header__column-2 {
    flex: 1;
}

.hoo-floating-form__header__column-3 {
    width: 40px;
}

.hoo-floating-form__header__image-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 52px;
    overflow: hidden;
}

.hoo-floating-form__header__column-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hoo-floating-form__header__column-2 {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.hoo-floating-form__header__title {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.2;
}

.hoo-floating-form__header__subtitle {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    color: rgba(255, 255, 255, .78);
    font-weight: 300;
    line-height: 1.2;
}

.hoo-floating-form__close-button {
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 100px;
    transition: background-color .12s ease;
}

.hoo-floating-form__close-button:hover {
    background-color: rgba(255, 255, 255, .12)
}

.hoo-floating-form__chat {
    max-height: calc(75vh - 140px);
    padding: 24px 18px;
    background-size: cover;
    overflow-y: auto;
    /* whatsapp */
    background-image: url("https://weein.com.br/wp-content/uploads/al_opt_content/IMAGE/weein.com.br/wp-content/weein-modules/weein-whatsapp-leads/assets/images/bg-whatsapp-weein-whatsapp-leads-ot.jpg.bv.webp?bv_host=weein.com.br") !important;
    background-color: #f8f2ed;
}

.hoo-floating-form__chat__messages {
    padding: 0 !important;
    margin: 0 0 28px 0 !important;
}

.hoo-floating-form__chat__message {
    position: relative;
    display: table;
    padding: 12px 16px;
    border-radius: 8px;
    background-color: #fff;
    -webkit-box-shadow: -1px 1px 0 0 #cacaca;
    box-shadow: -1px 1px 0 0 #cacaca;
    font-size: 14px;
    color: #121212;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.4;
    margin-bottom: 6px;
    max-width: 350px;
}

.hoo-floating-form__chat__message:first-child {
    border-radius: 0px 6px 6px 6px;
}

.hoo-floating-form__chat__message:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: -8px;
    width: 8px;
    height: 13px;
    background: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 13'> <path d='M1.533 2.568 L8 11.193' fill='none' stroke='%23cacaca' stroke-width='3' stroke-linecap='round'/> <path d='M1.533,2.568L8,11.193V0L2.812,0C1.042,0,0.474,1.156,1.533,2.568z' fill='%23ffffff'/> </svg>")no-repeat center/contain;
}

@media screen and (max-width: 767px) {
    .hoo-floating-form {
        max-width: 90%;
    }

    .hoo-floating-form__header {
        gap: 6px;
    }

    .hoo-floating-form__header__title {
        font-size: 17px;
    }

    .hoo-floating-form__header__image-wrapper {
        width: 48px;
        height: 48px;
    }
}