.coetuswhatsappchat{
    position: fixed;
    bottom: 0px;
    right: 0px;
}

.coetuswhatsappchat *, .coetuswhatsappchat :after, .coetuswhatsappchat :before {
    box-sizing: border-box;
}

.coetuswhatsappchat__button {
    display: flex;
    flex-direction: row;
    position: absolute;
    z-index: 2;
    bottom: 38px;
    right: 38px;
    height: 60px;
    min-width: 60px;
    opacity: .85;
    max-width: 95vw;
    background-color: #25d366;
    color: inherit;
    border-radius: calc(60px/2);
    box-shadow: 1px 6px 24px 0 rgb(7 94 84 / 24%);
    cursor: pointer;
    transition: background-color .2s linear;
}

.coetuswhatsappchat .coetuswhatsappchat__button:hover{
    background-color: #119d45;
}

.coetuswhatsappchat__button__sendtext {
    padding: 0;
    max-width: 0;
    border-radius: 60px;
    font-weight: 600;
    line-height: 60px;
    white-space: nowrap;
    opacity: 0;
    overflow: hidden;
    transition: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.coetuswhatsappchat__button__open {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgb(0 0 0/0) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M3.516 3.516c4.686-4.686 12.284-4.686 16.97 0 4.686 4.686 4.686 12.283 0 16.97a12.004 12.004 0 0 1-13.754 2.299l-5.814.735a.392.392 0 0 1-.438-.44l.748-5.788A12.002 12.002 0 0 1 3.517 3.517zm3.61 17.043.3.158a9.846 9.846 0 0 0 11.534-1.758c3.843-3.843 3.843-10.074 0-13.918-3.843-3.843-10.075-3.843-13.918 0a9.846 9.846 0 0 0-1.747 11.554l.16.303-.51 3.942a.196.196 0 0 0 .219.22l3.961-.501zm6.534-7.003-.933 1.164a9.843 9.843 0 0 1-3.497-3.495l1.166-.933a.792.792 0 0 0 .23-.94L9.561 6.96a.793.793 0 0 0-.924-.445 1291.6 1291.6 0 0 0-2.023.524.797.797 0 0 0-.588.88 11.754 11.754 0 0 0 10.005 10.005.797.797 0 0 0 .88-.587l.525-2.023a.793.793 0 0 0-.445-.923L14.6 13.327a.792.792 0 0 0-.94.23z'/%3E%3C/svg%3E") 50% no-repeat;
    background-size: 60%;
    overflow: hidden;
}

.coetuswhatsappchat__button__send {
    display: none;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    max-width: 60px;
    padding: calc(60px*0.18);
    margin: 0;
    overflow: hidden;
}

.coetuswhatsappchat__box {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 1;
    width: calc(100vw - 20px*2);
    max-width: 400px;
    min-height: 170px;
    max-height: calc(100vh - 20px - 20px);
    border-radius: calc(60px/2 + 2px);
    background: transparent;
    box-shadow: 0 2px 6px 0 rgb(0 0 0 / 50%);
    text-align: left;
    overflow: hidden;
    transform: scale3d(0,0,0);
    opacity: 0;
    transition: max-height .2s ease-out,opacity .4s ease-out,transform 0s linear .3s;
}

.coetuswhatsappchat__header {
    display: flex;
    flex-flow: row;
    align-items: center;
    position: relative;
    color:#ffffff;
    flex-shrink: 0;
    height: calc(60px*1.16667);
    min-height: 50px;
    padding: 0 70px 0 26px;
    margin: 0;
    background: rgb(37, 211, 102);
}

.coetuswhatsappchat__message {
    position: relative;
    min-height: 60px;
    padding: 17px 20px;
    margin: 0 26px 26px;
    border-radius: 32px;
    background: #fff;
    color: #4a4a4a;
    word-break: break-word;
    filter: drop-shadow(0 1px 2px rgb(0 0 0 / 30%));
    transform: translateZ(0);
}

.coetuswhatsappchat__box__scroll {
    padding: 20px 0 70px;
    padding-bottom: calc(60px + 10px);
    background: #fff linear-gradient(0deg,rgb(37 211 102/4%),rgb(37 211 102/4%));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
}

.coetuswhatsappchat__wa {
    height: 28px;
    width: auto;
    fill: currentcolor;
    opacity: .8;
}

.coetuswhatsappchat__close {
    position: absolute;
    top: calc(50% - 34px/2);
    right: 24px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgb(0 0 0/40%) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M24 2.4 21.6 0 12 9.6 2.4 0 0 2.4 9.6 12 0 21.6 2.4 24l9.6-9.6 9.6 9.6 2.4-2.4-9.6-9.6L24 2.4z'/%3E%3C/svg%3E") 50% no-repeat;
    background-size: 12px;
    cursor: pointer;
    transition: background-color .3s ease-out;
}

.coetuswhatsappchat .coetuswhatsappchat__close:hover{
    background-color: #0b5c2c;
}

.coetuswhatsappchat--chatbox {
    transform-origin: 0 0;
    animation-timing-function: ease-in-out;
}

.coetuswhatsappchat--show {
    display: block;
    z-index: 1;
}

.coetuswhatsappchat--chatbox .coetuswhatsappchat__box {
    opacity: .95;
    transform: scaleX(1);
    transition: max-height .2s ease-out,opacity .2s ease-out,transform 0s linear;
}

.coetuswhatsappchat--chatbox .coetuswhatsappchat__button__sendtext {
    padding: 0 24px 0 24px;
    max-width: 200px;
    opacity: 1;
    color: #ffffff;
    transition: max-width .2s linear,opacity .4s ease-out .2s;
}