﻿/*==================Web端访客(买家)咨询聊天页面=======================*/

html, body {
    font-size: 12px;
    overflow: hidden;
}

    body .oct-content {
        margin-top: 0px;
    }

/*头部*/
.oct-header {
    overflow: hidden;
    padding: 10px 0;
    padding-bottom: 0px;
    height: 30px;
}

.oct-header-left, .oct-header-right {
    padding-left: 10px;
    padding-right: 10px;
}

    .oct-header-right .header-icon-my {
        width: 24px;
        height: 20px;
        color: red;
    }

body .oct-content {
    padding-top: 0;
    margin-top: 45px;
    overflow: hidden;
    clear: both;
    display: block;
    height: 1%;
    width: 100%;
    height: 100%;
}

.page-content-list {
    padding: 10px;
    padding-top: 85px;
    overflow: hidden;
}
/*店铺名称*/
.shop-name {
    padding: 6px 0;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px auto;
    margin-top: 3px;
    border-radius: 20px;
    position: fixed;
    width: 100%;
    overflow: hidden;
}

.shop-name-left {
    padding-left: 8px;
    padding-right: 10px;
}

    .shop-name-left img {
        width: 45px;
        height: 45px;
        border-radius: 25px;
    }

.shop-name-mid {
    width: 100%;
}

.header-mid-bottom {
    font-size: 10px;
    font-weight: normal;
    padding: 0;
    display: flex;
    align-items: center;
    padding-top: 3px;
}

    .header-mid-bottom span {
        display: flex;
        align-items: center;
    }

    .header-mid-bottom img {
        width: 13px;
        height: 13px;
    }

    .header-mid-bottom span img {
        margin-right: 1px;
        margin-top: -5px;
    }

.header-span-val {
    color: #ff0000;
    padding-left: 5px;
    padding-right: 5px;
}

.btn-focus {
    width: 60px;
    font-size: 12px;
    border: 1px solid #dbdbdb;
    border-radius: 10px;
    background: url(../../Imgs/Icon/fav.png) 6px center no-repeat;
    background-size: 16px;
    padding-left: 25px;
    cursor: pointer;
    margin-right: 6px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #000000;
}

/*-----聊天内容-----*/
.chat-content {
    padding: 4px 0;
    margin: 0;
    margin-bottom: 55px;
}

.chat-content-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.chat-shop-item {
    padding: 8px 5px;
}

.chat-user-header img {
    width: 43px;
    height: 43px;
    border-radius: 30px;
}

.chat-content-msg {
    background: white;
    border-radius: 5px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 8px;
    /*width: 100%;*/
    color: #000000;
    font-size: 14px;
    text-align: left;
    white-space: normal;
    word-break: break-all; /* 允许在任何字符处打断单词换行 */
    /* 或使用 */
    overflow-wrap: break-word; /* 仅在单词长度超过容器时才打断换行 */
}
/*买家聊天内容*/
.chat-buyer-item {
    padding: 8px 5px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

    .chat-buyer-item .chat-content-msg {
        color: white;
        background: #71ca00;
        margin-right: 10px;
        text-align: left;
        white-space: normal;
        word-break: break-all; /* 允许在任何字符处打断单词换行 */
        /* 或使用 */
        overflow-wrap: break-word; /* 仅在单词长度超过容器时才打断换行 */
    }

/*页脚*/
.oct-footer {
    padding: 5px 0;
    background: #ededed;
    overflow: hidden;
    width: 100%;
}

.send-form {
    overflow: hidden;
    width: 100%;
    clear: both;
}

.send-form-input {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 100%;
}

    .send-form-input img {
        width: 30px;
        height: 30px;
        margin-left: 5px;
    }

.send-content-input {
    margin: 0 5px;
    /*width: 400px;*/
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 3px 5px;
    border-radius: 20px;
    margin-right: 0;
}

    .send-content-input input {
        width: 100%;
        font-size: 14px;
        border: none;
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 3px;
        padding-bottom: 3px;
        border: none;
    }

        .send-content-input input:focus, .send-content-input input:hover {
            border: none;
        }

.send-form .send-face-content {
    height: 160px;
    background: white;
    margin-top: 5px;
    padding: 5px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    display: flex;
    text-align: center;
    overflow: hidden;
}


/*发送按钮*/
.btn-send-chat {
    background: #ff6a00;
    color: white;
    border: none;
    font-size: 14px;
    border-radius: 10px;
    padding: 6px 15px;
    margin-left: 5px;
    font-weight: bold;
}

/*上传表单*/
.upload-form-list {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    display: flex;
    text-align: center;
    overflow: hidden;
    clear: both;
}

/*========数据分页===========*/
/*列表承载Div,必须这样定义样式*/
.mescroll {
    position: fixed;
    top: 45px; /*这个值可以控制滚动区离顶部的距离*/
    bottom: 0;
    height: auto;
    padding-bottom: 80px;
}

/*=================分割时间线===============*/

.time-section-index {
    text-align: center;
    margin: 0 auto;
    font-size: 12px;
    color: gray;
}



/*-------滚动条样式---------*/

body::-webkit-scrollbar { /*滚动条整体样式*/
    width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}

body::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
    border-radius: 10px;
    /* -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);*/
    background: #C3C4C6;
}

body::-webkit-scrollbar-track { /*滚动条里面轨道*/
    /*  -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);*/
    border-radius: 10px;
    background: #EDEDED;
}


/*-------------------服务评价打分--------------------*/

.oct-content .apprainse-form {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    overflow: hidden;
    background: white;
    border-top: 2px solid #F0F0F0;
}

.apprainse-content {
    padding: 10px;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
}

.apprainse-score-list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.apprainse-score-item {
    background: #f2f2f2;
    border: 1px solid #C3C4C6;
    margin: 5px;
    padding: 5px;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
}

.apprainse-score-item-current {
    background: #ff6e24;
    color: white;
    border: 1px solid #ff6e24;
}

.appraise-txtarea {
    border: 1px solid #e6e6e6;
    margin: 10px 0;
    width: 95%;
    height: 50px;
    font-size: 12px;
    padding: 5px;
    border-radius: 5px;
    color: #FF6E24;
    margin-bottom: 15px;
}

.btn-css-cancel, .btn-css-ok {
    font-size: 12px;
    padding: 5px;
    background: #dbdbdb;
    border-radius: 5px;
    border: none;
    width: 40%;
    margin-bottom: 10px;
}

.btn-css-cancel {
    margin-right: 20px;
}

.btn-css-ok {
    color: white;
    background: #ff6e24;
}


/*=============发送文件显示区块=============*/

.sendfile-content {
    clear: both;
    overflow: hidden;
    padding: 10px;
    cursor: pointer;
    text-align: left;
}

    .sendfile-content a {
        color: #000000;
        text-decoration: none;
        text-align: left;
    }

.sendfile-name {
    font-weight: bold;
    font-size: 14px;
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre-wrap;
    text-align: left;
}

.sendfile-hint {
    font-size: 12px;
    padding-top: 5px;
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre-wrap;
    text-align: left;
}

/*更多聊天记录*/
.more-chat-record {
    clear: both;
    margin-top: 64px;
    text-align: center;
    padding: 5px 0px;
    z-index: 20000;
    border-radius: 100px;
    position: fixed;
    width: 100%;
    overflow: hidden;
    color: #DA5B05;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 1px white, 1px 0 white, -1px 0 white, 0 -1px white;
}



/*发送链接聊天内容区域*/
.send-link-chat {
    display: flex;
    align-items: flex-start;
    background: white;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
    border-radius: 10px;
    cursor: pointer;
}


.send-link-conent {
    width: 100%;
}

.send-link-img {
    padding-right: 10px;
    padding-top: 0px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

    .send-link-img img {
        width: 110px;
        height: 100px;
        border-radius: 10px;
    }

.send-link-desc {
    font-size: 14px;
    border-bottom: 1px dashed #C3C4C6;
    padding-bottom: 5px;
    white-space: normal; /* 禁止文本换行 */
    word-break: break-all; /* 允许在任何字符处打断单词换行 */
    /* 或使用 */
    overflow-wrap: break-word; /* 仅在单词长度超过容器时才打断换行 */
}

.send-link-href {
    font-size: 14px;
    color: #00708f;
    white-space: normal; /* 禁止文本换行 */
    word-break: break-all; /* 允许在任何字符处打断单词换行 */
    /* 或使用 */
    overflow-wrap: break-word; /* 仅在单词长度超过容器时才打断换行 */
}
