.content-box{
    max-width: 1200px;
    height: inherit;
    margin: 0 auto;
    font-family: Microsoft YaHei;
}
.im-box {
    height: inherit;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    border-radius: 8px;
}
.im-window {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    padding-left: 23px;
    height: 80px;
    border-bottom: 1px solid #f1f1f1;
    background: #ffffff;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.05);
}

.im-window>.robot {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

.im-box-content {
    display: flex;
    max-height: 85vh;
}

.message-list::-webkit-scrollbar {
    width: 8px;
}

.message-list::-webkit-scrollbar-thumb {
    border-radius: 4px;
    width: 8px;
    background: #d2e1f3;
}

.list-message {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #428ee2;
    line-height: 42px;
    padding-left: 20px;
    cursor: pointer;
}

.list-message::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: #428ee2;
    margin-right: 9px;
}

.im-box-right {
    width: 396px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.common-problems,
.historical-record {
    padding: 26px 24px;
}

.common-problems {
    border-bottom: 1px solid #f1f1f1;
}

.historical-record {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.record-item-box {
    flex: 1;
    overflow-y: auto;
}

.record-item-box::-webkit-scrollbar {
    width: 8px;
}

.record-item-box::-webkit-scrollbar-thumb {
    border-radius: 4px;
    width: 8px;
    background: #d2e1f3;
}

.common-problems-title,
.historical-record-title {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    color: #333333;
    margin-bottom: 6px;
}

.clear-record {
    cursor: pointer;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #333333;
}

.problems-item {
    font-size: 18px;
    line-height: 40px;
    font-weight: 400;
    color: #666666;
    cursor: pointer;
}

.problems-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border: 1px solid #2b65a5;
    margin-right: 9px;
    position: relative;
    top: -3px;
}

.record-item {
    cursor: pointer;
    font-size: 18px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #666666;
    line-height: 44px;
}

.record-item::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 17px;
    background: url('/template/imgs/time_icon.png') no-repeat;
    background-size: cover;
    margin-right: 10px;
    position: relative;
    top: 2px;
}

.problems-item:hover,
.record-item:hover {
    color: #2b65a5;
}

.im-box-left {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-right: 1px solid #f1f1f1;
}

.animation_robot {
    position: absolute;
    right: 10px;
    bottom: 220px;
    width: 106px;
    height: 150px;
}

.hot-topics {
    overflow-x: auto;
    display: flex;
    align-items: center;
    height: 70px;
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    padding: 0 24px;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}

.topics-item {
    height: 30px;
    flex-shrink: 0;
    background: #f0f7ff;
    border: 1px solid #e8f3ff;
    border-radius: 17px;
    line-height: 30px;
    font-size: 16px;
    font-weight: 400;
    color: #2b65a5;
    margin-left: 15px;
    text-align: center;
    cursor: pointer;
    padding: 0 8px;
}

.el-textarea>textarea {
    height: 165px;
    border: none;
}

.message-list {
    flex: 1;
    background: #f2f8ff;
    overflow-y: auto;
    padding: 27px;
    min-height: 300px;
}

.message-item {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    display: flex;
    justify-content: flex-end;
}

.message-item.robot {
    justify-content: flex-start;
}

.text-message {
    max-width: 70%;
    box-sizing: border-box;
    background: #428ee2;
    display: inline-block;
    padding: 15px 16px;
    border-radius: 8px;
    word-break: break-all;
}

.message-item.robot>.text-message {
    background: #ffffff;
    color: #333333;
}

.message-item.robot::before {
    content: '';
    display: inline-block;
    width: 38px;
    height: 38px;
    background: url('/template/imgs/robot.png');
    background-size: cover;
    margin-right: 16px;
    position: relative;
    top: 5px;
}

.answer-message {
    max-width: 70%;
    border: 1px solid #e8f3ff;
    background: #ffffff;
    border-radius: 8px;
}

.answer-message-title {
    padding: 20px;
    border-bottom: 1px solid #e8f3ff;
    font-size: 18px;
    font-weight: bold;
    color: #333333;
}

.answer-message-problem {
    font-size: 18px;
    font-weight: 400;
    color: #428ee2;
    padding: 20px;
}

.answer-message-content,
.answer-message-footer {
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    padding: 0 20px 20px;
}

.answer-message-footer {
    padding: 20px;
    border-top: 1px solid #e8f3ff;
    display: flex;
    align-items: center;
}

.satisfaction,
.dissatisfied {
    width: 103px;
    height: 33px;
    background: #f8f8f8;
    border: 1px solid #efefef;
    border-radius: 17px;
    font-size: 16px;
    font-weight: 400;
    color: #428ee2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 15px;
}

.img-icon {
    width: 21px;
    height: 18px;
    margin-right: 6px;
}

.dissatisfied {
    color: #e87777;
}

.btn-box {
    display: flex;
}

.send-box {
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #999999;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 15px;
    padding-right: 23px;
}

.handel-send {
    width: 103px;
    border-radius: 17px;
    margin-left: 25px;
    /* display: none; */
}

.unfold-box {
    text-align: right;
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    .handel-send {
        display: block;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .satisfaction {
        margin-left: 0;
    }

    .btn-box {
        margin-top: 10px;
    }

    .historical-record {
        max-height: 240px;
    }

    .im-box-content {
        max-height: max-content;
        flex-direction: column;
    }

    .el-textarea>textarea {
        border: 1px solid #efefef;
    }

    .im-box-left {
        width: 100%;
    }

    .text-message,
    .answer-message {
        max-width: 80%;
    }

    .answer-message-footer {
        flex-wrap: wrap;
    }
}
body{
    background: #f2f3f4;
    }

    .im-box{
    height: inherit;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 10%);
    margin: 50px 0;
    background: #fff;
    }
    .el-textarea{
        display: inline-block;
        width: 100%;
        vertical-align: bottom;
        font-size: 14px;
    }
    .el-textarea>textarea{
        height: 165px;
        border: none;
    }
    .el-textarea__inner{
        border: none !important;
        box-shadow:none !important;
    }
