/* 项目样式 */
#app {
    width: 100vw;
    height: 100vh;
    background-color: rgb(245, 247, 250);
}

#app .box {
    width: 800px;
    height: 600px;
    background-color: #fff;
    border-radius: 1vw;
    flex-direction: column;
}

.box .box-top {
    width: 100%;
    height: 60px;
    background-color: rgb(163, 101, 241);
    border-top-left-radius: 1vw;
    border-top-right-radius: 1vw;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.box>div {
    height: calc(600px - 60px);
}

.box-content .left {
    flex: 1;
    box-sizing: border-box;
    border-right: 2px solid #e7e7e7;
    /* background-color: red; */
    flex-direction: column;

}

.chat-box {
    height: 388px;
    box-sizing: border-box;
    padding: 20px 12px;
    padding-bottom: 10px;
    /* background-color: red; */
}

.msg-box>.avatar {
    width: 30px;
    height: 30px;
    border: 1px solid #e7e7e7;
    border-radius: 45%;
    box-sizing: border-box;
}

.msg-box {
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.msg {
    box-sizing: border-box;
    background-color: rgb(240, 242, 245);
}

.fun-box {
    flex: 1;
}

.fun-line {
    width: 100%;
    height: 35px;
    background-color: rgb(237, 244, 254);
    box-sizing: border-box;
    padding: 2.5px 15px;
    align-items: center;
    position: relative;
}

.fun-line .fun {
    height: 25px;
    padding: 5px 10px;
    box-sizing: border-box;
    border: 1px solid rgb(68, 149, 255);
    border-radius: 20px;
    font-size: 12px;
    background-color: #fff;
    color: rgb(68, 149, 255);
    cursor: pointer;
    margin-right: 10px;
}

.fun>div {
    cursor: pointer;
}

.close {
    position: absolute;
    right: 15px;
    font-weight: 600;
    cursor: pointer;
}

.send-box {
    border-top: 2px solid #e7e7e7;
    flex: 1;
    flex-direction: column;
}

.send-fun-line {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    padding: 10px;
}

.send-fun-line .fun {
    margin-right: 10px;
}

.chat {
    padding: 0 12px;
    box-sizing: border-box;
    width: 100%;
    flex-direction: column;
    /* background-color: red; */
}

.input {
    border: 0;
    flex: 1;
    resize: none;
    word-wrap: break-word;
    font-size: 14px;
    font-weight: 100;
}

.chat-bottom {
    padding-bottom: 10px;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    /* background-color: red; */
    justify-content: flex-end;
    align-items: center;
}

.send-fun {
    box-sizing: border-box;
    padding: 8px 14px;
    font-size: 14px;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    background-color: rgb(90, 156, 248);
}

.input:focus {
    outline: none;
}

.box-content .right {
    width: 240px;
    flex-direction: column;
    /* background-color: blue; */
}

.tools {
    width: 100%;
    height: 288px;
    /* background-color: red; */
}

.tools-line {
    box-sizing: border-box;
    font-size: 12px;
    background-color: rgb(163, 101, 241);
}

.tool {
    font-size: 14px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
}

.tool-to {
    cursor: pointer;
    color: #808080;
    padding: 5px 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
}