#appChat .chat-container {
    position: fixed;
    bottom: calc( 11% + 70px );
    right: 20px;
    display: flex;
    flex-direction: column;
    background: #fff;
    width: 400px;
    height: 600px;
    box-shadow: 0 0 40px rgba(0,0,0,0.2);
    border-radius: 10px;
    transform-origin: 90% 100%;
    transform: scale(0);
    opacity: 0;
    transition: all .3s;
    z-index: 999;
}
#appChat .chat-container_active {
    transform: scale(1);
    opacity: 1;
}
#appChat .chat-container .head {
    border-radius: 10px 10px 0px 0px;
    width: 100%;
    min-height: 70px;
    background: #F7BC58;
}
#appChat .chat-container .head__content {
    display: flex;
    justify-content: space-between;
}
#appChat .chat-container .head__content__logo {
    padding: 20px 0 0 20px;
}
#appChat .chat-container .head__content__exit {
    cursor: pointer;
    padding: 8px;
    margin: 10px 10px 0 0;
    max-height:40px
}

#appChat .chat-container .head__content__exit:hover path {
    transition: all .15s;
    fill-opacity:1;
}
#appChat .chat-container .head__text {
    padding-left: 20px;
    margin-top: -4px;
    font-size: 12px;
    font-weight: 500;
    opacity: .5;
}

#appChat .chat-container .area-for-conversation {
    display: flex; 
    width: 99%; 
    height: 100%; 
    overflow-y: auto;
}
#appChat .chat-container .area-for-conversation::-webkit-scrollbar {
    width: 5px;
    margin-right: 5px;
}
#appChat .chat-container .area-for-conversation::-webkit-scrollbar-track {
    background: #fff;   
}
#appChat .chat-container .area-for-conversation::-webkit-scrollbar-thumb {
    background: rgba(42, 42, 42, 0.20);
    border-radius: 4px;
}

#appChat .chat-container .area-for-conversation__container {
    display: flex;
    width: 100%;
    flex-direction: column;
    background: #fff;
    padding: 5px 10px 0 5px;
    margin-top: auto;
    scrollbar-color: rgba(42, 42, 42, 0.20) #fff;
    scrollbar-width: thin;
}



#appChat .chat-container .message-client,
#appChat .chat-container .message-manager {
    display: flex;
    flex-direction: column;
    position: relative;
    font-size: 14px;
    font-weight: 400;
    padding: 0 11px 0 0;
    margin: 10px 0;
}

#appChat .chat-container .message-client__content,
#appChat .chat-container .message-manager__content {
    padding: 10px;
    max-width: 321px;
    word-wrap: break-word;
    z-index: 2;
}

#appChat .chat-container .message-client__content {
    align-self: flex-end;
    border-radius: 5px 5px 15px 5px;
    background: #d7e4fb;
}

#appChat .chat-container .message-client__content__text,
#appChat .chat-container .message-manager__content__text {
    display: inline-block;
    white-space: pre-line;
    word-break: break-word;
}

#appChat .chat-container .message-client__content__time,
#appChat .chat-container .message-manager__content__time {
    font-size: 11px;
    font-weight: 500;
    opacity: .5;
    float: right;
    padding-top: 4px;
    padding-left: 10px;
}

#appChat .chat-container .message-client__svg {
    position: absolute;
    bottom: -4px;
    right: 0;
    z-index: 1;
}

#appChat .chat-container .message-manager {
    padding: 0 0 0 11px;
}

#appChat .chat-container .message-manager__content {
    align-self: flex-start;
    border-radius: 5px 5px 5px 15px;
    background: #F2F3F5;
}

#appChat .chat-container .message-manager__svg {
    position: absolute;
    bottom: -4px;
    left: 0;
    z-index: 1;
}

#appChat .chat-container .fields {
    display: flex;
    min-height: 70px;
    border-top: 1px solid rgba(42, 42, 42, 0.20);
    padding: 16px 15px 20px 15px;
}

#appChat .chat-container .fields__files {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 34px;
    padding: 5px;
    margin-right: 10px;
}
#appChat .chat-container .fields__files:hover path {
    transition: all .15s;
    fill-opacity: .5;
}
#appChat .chat-container .fields__files__input {
    display: none;
}

#appChat .chat-container .fields__text {
    border: none;
    flex-grow: 1;
    padding: 9px 0 9px 0;
    line-height: 100%;
    font-size: 14px;
    font-weight: 400;
}

#appChat .chat-container .fields__text::-webkit-scrollbar {
    width: 5px;
    margin-right: 5px;
}
#appChat .chat-container .fields__text::-webkit-scrollbar-track {
    background: #fff; 

}

#appChat .chat-container .fields__text::-webkit-scrollbar-thumb  {
    background: rgba(42, 42, 42, 0.20);
    border-radius: 4px;
}

#appChat .chat-container .fields__text:focus {
    outline: none;
}
#appChat .chat-container .fields__text::placeholder {
    color: #2A2A2A33;
    font-weight: 500;
}
#appChat .chat-container .fields__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    width: 34px;
    margin-left: 10px;
    border-radius: 50%;
    border: none;
    background-color: var(--yellow-color);
    opacity: .5;
}

#appChat .chat-container .fields__btn_active {
    cursor: pointer;
    opacity: 1;
    transition: all .15s;
}
#appChat .chat-container .fields__btn_active:hover {
    background-color: var(--yellow-active);

}
@media(max-width: 768px) {
    #appChat .chat-container {
        top: 0;
        left: 0;
        width: 100vw;
        height: calc(100% - 63px);
        transition: none;
        z-index: 1000;
    }
}
