@charset "utf-8";
/* 咨询管理 - 微信对话样式 */

.wx-consult-toolbar {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-bottom: none;
    padding: 8px 12px;
    line-height: 24px;
}
.wx-consult-toolbar label {
    color: #555;
    display: inline;
    margin-right: 10px;
    cursor: pointer;
}
.wx-consult-list {
    padding: 12px;
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
}
.wx-consult-list + .wx-consult-toolbar {
    border-top: none;
}
.wx-consult-card {
    background: #ededed;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 12px;
    overflow: hidden;
}
.wx-consult-hd {
    background: #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
    padding: 8px 12px;
    overflow: hidden;
    line-height: 22px;
}
.wx-consult-hd .checkitem {
    float: left;
    margin: 5px 8px 0 0;
}
.wx-consult-hd .wx-goods {
    float: left;
    max-width: 52%;
    color: #576b95;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wx-consult-hd .wx-goods:hover {
    text-decoration: none;
    color: #07c160;
}
.wx-consult-hd .wx-type {
    float: left;
    margin-left: 10px;
    color: #888;
    background: #eee;
    border-radius: 2px;
    padding: 0 6px;
    font-size: 12px;
}
.wx-consult-hd .wx-badge {
    float: left;
    margin-left: 8px;
    color: #fff;
    background: #fa9d3b;
    border-radius: 2px;
    padding: 0 6px;
    font-size: 12px;
}
.wx-consult-hd .wx-badge-ok {
    background: #07c160;
}
.wx-consult-acts {
    float: right;
    white-space: nowrap;
}
.wx-consult-acts a {
    display: inline-block;
    margin-left: 8px;
    color: #576b95;
    text-decoration: none;
}
.wx-consult-acts a:hover {
    color: #07c160;
    text-decoration: none;
}
.wx-consult-acts a.wx-act-del {
    color: #fa5151;
}
.wx-consult-acts a i {
    margin-right: 3px;
    font-size: 14px;
}
.wx-consult-bd {
    padding: 12px 16px 16px;
}
.wx-time {
    text-align: center;
    color: #b2b2b2;
    font-size: 12px;
    line-height: 20px;
    margin: 8px 0 10px;
}
.wx-msg {
    overflow: hidden;
    margin-bottom: 14px;
    zoom: 1;
}
.wx-avatar {
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 4px;
    background: #ddd;
}
.wx-avatar img {
    display: block;
    width: 40px;
    height: 40px;
}
.wx-name {
    color: #999;
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 4px;
}
.wx-bubble {
    position: relative;
    display: inline-block;
    max-width: 72%;
    padding: 9px 12px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 22px;
    color: #111;
    text-align: left;
    word-wrap: break-word;
    word-break: break-all;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.wx-bubble-white {
    background: #fff;
}
.wx-bubble-green {
    background: #95ec69;
}
.wx-msg-left .wx-avatar {
    float: left;
}
.wx-msg-left .wx-body {
    margin-left: 52px;
}
.wx-msg-left .wx-bubble-white:before {
    content: "";
    position: absolute;
    left: -8px;
    top: 12px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #fff;
}
.wx-msg-right .wx-avatar {
    float: right;
}
.wx-msg-right .wx-body {
    margin-right: 52px;
    text-align: right;
}
.wx-msg-right .wx-bubble-green:before {
    content: "";
    position: absolute;
    right: -8px;
    top: 12px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #95ec69;
}
.wx-waiting {
    text-align: center;
    color: #b2b2b2;
    font-size: 12px;
    padding: 4px 0 2px;
}
.wx-consult-empty {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 40px 0;
}
.wx-consult-pager {
    background: #fff;
    text-align: center;
    padding: 10px 0;
    border: 1px solid #e6e6e6;
    border-top: none;
}

/* 回复弹层：对话 + 底部输入条 */
.wx-consult-reply {
    background: #ededed !important;
}
.wx-consult-reply .wx-consult-bd {
    min-height: 90px;
    max-height: 220px;
    overflow-y: auto;
}
.wx-consult-inputbar {
    background: #f7f7f7;
    border-top: 1px solid #d9d9d9;
    padding: 8px 10px 10px;
    overflow: hidden;
}
.wx-consult-inputbar textarea {
    display: block;
    width: 96%;
    height: 64px;
    margin: 0 auto 8px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    resize: none;
    font-size: 14px;
    line-height: 20px;
    box-sizing: border-box;
}
.wx-consult-inputbar .wx-send {
    float: right;
    margin-right: 2%;
    height: 30px;
    padding: 0 16px;
    border: none;
    border-radius: 4px;
    background: #07c160;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
.wx-consult-inputbar .wx-send:hover {
    background: #06ad56;
}

.ncs-cosult-main .wx-consult-list,
.ncs-commend-main .wx-consult-list {
    padding: 12px;
    background: #f5f5f5;
    border: none;
}
.ncs-cosult-main .wx-consult-card,
.ncs-commend-main .wx-consult-card {
    margin-bottom: 10px;
}
.ncs-cosult-main .wx-consult-hd .wx-goods,
.ncs-commend-main .wx-consult-hd .wx-goods {
    max-width: 70%;
}
.wrap .wx-consult-list {
    margin-top: 0;
}
