
.rw-widget-container {
    bottom: 0;
    display: flex;
    flex-direction: column;
    margin: 16px 10px;
    position: fixed;
    right: 0;
    width: auto;
    z-index: 9999;
    align-items: flex-end;
    justify-content: flex-end;
}
::-webkit-scrollbar{
    width: 3px;
    border-radius: 25px;
}
::-webkit-scrollbar-track{
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb{
    background: #ddd;
}
::-webkit-scrollbar-thumb:hover{
    background: #ccc;
}
.wrapper-chat{
    width: 100%;
    background: #fff;
    border-radius: 15px;
    /* border: 1px solid lightgrey; */
    border-top: 0px;
}
.wrapper-chat .title{
    background: #20D2B0;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 60px;
    text-align: center;
    border-bottom: 1px solid #1AAA8F;
    border-radius: 13px 13px 0 0;
    margin-top: 0;
}
.wrapper-chat .form{
    padding:  10px 6px;
    height: 100%;
    max-height: calc(100vh - 350px);
    overflow-y: auto;
}
.wrapper-chat .form .inbox{
    width: 100%;
    display: flex;
    align-items: baseline;
}
.wrapper-chat .form .user-inbox{
    justify-content: flex-end;
    margin: 13px 0;
}
.wrapper-chat .form .inbox .icon{
    height: 40px;
    width: 40px;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    font-size: 18px;
    background: #20D2B0;
}
.wrapper-chat .form .inbox .msg-header{
    max-width: 53%;
    margin-left: 10px;
}
.form .inbox .msg-header p{
    color: #fff;
    background: #20D2B0;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 14px;
    /* word-break: break-all; */
}
.form .inbox .msg-header p a{
    color: rgb(0, 80, 126);
    text-decoration: underline;
}
.form .user-inbox .msg-header p{
    color: #333;
    background: #efefef;
}
.wrapper-chat .typing-field{
    display: flex;
    height: 60px;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
    background: #efefef;
    border-top: 1px solid #d9d9d9;
    border-radius: 0 0 5px 5px;
}
.wrapper-chat .typing-field .input-data{
    height: 40px;
    width: 90%;
    position: relative;
}
.wrapper-chat .typing-field .input-data input{
    height: 100%;
    width: 100%;
    outline: none;
    border: 1px solid transparent;
    padding: 0 80px 0 15px;
    border-radius: 3px;
    font-size: 15px;
    background: #fff;
    transition: all 0.3s ease;

}
.typing-field .input-data input:focus{
    border-color: rgba(32, 210, 176, 0.8);
}
.input-data input::placeholder{
    color: #999999;
    transition: all 0.3s ease;

 }
 .input-data input::placeholder{
     color: #bfbfbf;
 }

.wrapper-chat .typing-field .input-data button{
    position: absolute;
    right: 5px;
    top: 50%;
    height: 30px;
    width: 65px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    border-radius: 3px;
    background: #20D2B0;
    border: 1px solid #20D2B0;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}
.wrapper-chat .typing-field .input-data input:valid ~ button{
    opacity: 1;
    pointer-events: auto;
}
.typing-field .input-data button:hover{
    background: #1CB799;
}



@media (min-width:414px ){ 
    .rw-widget-container {
        margin: 0 20px 20px 0;
    }
    .wrapper-chat{
        width: 370px;
    }
    .wrapper-chat .form{
        padding: 20px 15px;
        min-height: 300px;
        max-height: 300px;
    }
}