#chat-container {
    /*width: 60%;*/
    /*margin: 0 auto;*/
    padding: 0 20px;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
    /*border: 1px solid #ccc;*/
}

*{
    font-family: "myziti", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    margin:0;
    padding:0;
    outline: none;
    box-sizing: border-box;
    list-style: none;
    scrollbar-width: none !important;
}
*::scrollbar{
    display: none;
    width: 0;
}
*::-webkit-scrollbar{
    display: none;
    width: 0;
}
*::-moz-scrollbar{
    display: none;
    width: 0;
}
*::-ms-scrollbar{
    display: none;
    width: 0;
}
*::-o-scrollbar{
    display: none;
    width: 0;
}

#user-message-form{
    display: flex;
    border: 1px solid #D1D1D1;
    border-radius: 10px;
    overflow: hidden;
}
#user-message-input{
    flex: 1;
    width: 100%;
    padding-left: 6px;
    border: none;
    font-size: 14px;
    color: #999999;
    line-height: 17px;
}

#messages {
    height: 531px;
    /*border: 1px solid #ccc;*/
    overflow-y: scroll;
    scrollbar-width: none; 
}
#messages:scrollbar{
    display: none;
    width: 0;
}
#messages:-webkit-scrollbar{
    display: none;
    width: 0;
}
#messages:-o-scrollbar{
    display: none;
    width: 0;
}
#messages:-ms-scrollbar{
    display: none;
    width: 0;
}
#messages:-moz-scrollbar{
    display: none;
    width: 0;
}



.message-item{
    margin-top: 10px;
}

.message-time{
    margin-inline: 4px;
    font-size: 10px;
    color: #666666;
    line-height: 15px;
    margin-bottom: 13px;
}
.send-list{
    display: flex;
    flex-wrap: wrap;
    margin-top: 6px;
    flex-flow: wrap-reverse;
}
.send-list-item{
    /*font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;*/
    margin-right: 8px;
    margin-top: 4px;
    padding: 2px 10px;
    background: #F1F1F1;
    border-radius: 38px;
    font-size: 14px;
    color: #049FFF;
    line-height: 17px;
    text-align: center;
}
.message-content{
    /*font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;*/
    background: #049FFF;
    border-radius: 0px  11px  11px  11px;
    padding: 7px 12px;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 18px;
    text-align: left;
    display: flex;
    width: fit-content;
    max-width: 85%;
    word-break: word-break;
    position: relative;
}
.withdraw-button{
    position: absolute;
    right: 36px;
    /* translate: -1px 0; */
    top: 100%;
    box-shadow: 0 0 5px #666;
    /* width: 40px; */
    /* height: 23px; */
    padding: 6px 12px;
    line-height: 14px;
    width: inherit;
    height: inherit;
    word-break: keep-all;
    background: #fff;
    color: #333;
    font-size: 14px;
    border-radius: 3px;
}
.message-content code{
    white-space: pre-wrap;
    text-wrap:wrap !important;
    text-align: justify;
    word-break: break-word;
    width:100%;
    display: block;
}

.message-box{
    display: flex;
    flex-flow: column;
}
.myself{
    align-items:flex-end;
}
.myself .message-content{
    text-align: end;
    background: #F3F4F5;
    font-size: 14px;
    color: #000000;
    border-radius: 1px  0px  11px  11px;
    line-height: 23px;
}

.hims{
    
}

#users li{
    height: 70px;
    background: #EBEBEB;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #333333;
    line-height: 14px;
    padding-inline: 30px 16px;
    line-height: 70px;
    margin-inline: 20px 12px;
    margin-top: 20px;
    overflow: hidden;
	display: flex;
	position: relative;
}
.linehide1{
    overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}
#users li.actives{
    background: #049FFF;
    color: #fff;
}
#users li.onlines::before{
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
    background: #84f560;
    top: calc(50% - 5px);
    left: 10px;
}

#typing-message {
    margin-top: 10px;
    /*font-style: italic;*/
    color: #777;
    margin-bottom: 16px;
}

#agent-message-form {
    display: flex;
    height: 142px;
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #049FFF;
    display: flex;
    padding: 12px;
    align-items: flex-start;
}

#agent-message-input {
    flex: 1;
    padding: 10px;
    border: none;
    flex: 1;
    /*height: 100%;*/
    padding: 0;
    font-size: 14px;
    color: #999999;
    line-height: 22px;
    font-size: 17px;
    color: #999999;
    line-height: 17px;
}

button {
    width: 83px;
    height: 45px;
    border-radius: 6px;
    border: none;
    background-color: #049FFF;
    color: #fff;
    display: flex;
    font-size: 14px;
    align-items: center;
    justify-content:center;
    cursor:pointer;
    align-self: flex-end;
}
