body {
    color: #000000;
    padding: 0px;
    margin: 0;
    background-color: #f9f9f9;
    user-select: none;
}

::selection {
    color: white;
    /* 修改选中文字的颜色 */
    background-color: rgba(0, 0, 0, 0.50);
    /* 修改选中文字的背景色 */
}

.BodyView {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/*-- Nav --*/
.Nav {
    padding: 15px;
    display: flex;
    align-items: center;
}

.Nav-Menu {
    width: 25px;
    height: 25px;
}

.Nav-Title {
    font-size: 18px;
    font-weight: bold;
    flex: 1;
}

/*-- ChatList1 --*/
.ChatList1 {
    padding-left: 10px;
    padding-right: 10px;
    margin: 5px;
}

.ChatList1-Head {
    width: 30px;
    height: 30px;
}

.ChatList1-Name {
    margin-left: 5px;
    font-weight: bold;
}

.ChatList1-Content {
    display: inline-flex;
    flex-direction: column;
    background-color: #178DFF;
    border-radius: 15px;
    padding: 10px;
    color: #FFFFFF;
    margin: 5px;
    user-select: auto;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

/*-- ChatList1 End --*/
/*-- ChatList2 --*/
.ChatList2 {
    padding-left: 10px;
    padding-right: 10px;
    /* 将左边距改为右边距 */
    margin: 5px;
    float: right;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    /* 添加此行，使内容靠右对齐 */
}

.ChatList2-Head {
    width: 30px;
    height: 30px;
}

.ChatList2-Name {
    margin-right: 5px;
    /* 将左边距改为右边距 */
    font-weight: bold;
}

.ChatList2-Content {
    display: inline-flex;
    flex-direction: column;
    background-color: #178DFF;
    border-radius: 15px;
    padding: 10px;
    color: #FFFFFF;
    margin: 5px;
    user-select: auto;
    align-self: flex-end;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    /* 添加此行，使气泡靠右对齐 */
}

/*-- ChatList2 End --*/

/*-- Bottom --*/
.bottom {
    display: flex;
    background-color: #FFFFFF;
    padding: 10px;
}

.bottom-chatinput {
    border-radius: 25px;
    border: 1px solid #ccc;
    /* 边框 */
    padding: 10px;
    /* 内边距 */
    overflow: auto;
    /* 超出内容时显示滚动条 */
    background-color: white;
    /* 背景颜色 */
    cursor: text;
    /* 光标样式 */
    box-sizing: border-box;
    max-height: 80px;
    flex: 1;
    margin-right: 5px;
}

.bottom-chatinput:focus {
    outline: none;
    /* 移除默认的轮廓线 */
}

.bottom-button {
    width: 40px;
    height: 40px;
    margin-right: 5px;
}

.bottom-button:active {
    background-color: rgba(0, 0, 0, 0.1);
}

/*-- NavigationDrawer --*/
.NavigationDrawer {
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    /* 调整为合适的值 */
    height: 100vh;
    width: 100%;
    left: -100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    overflow-x: hidden;
    transition: 0.5s;
}

.NavigationDrawer-body {
    width: 80%;
    height: 100vh;
    color: #000000;
    background-color: #fff;
    overflow-x: hidden;
    margin: 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.NavigationDrawer-close {
    width: 20%;height: 100%;
}

.NavigationDrawer-body-nav {
    padding: 15px;
    display: flex;
    align-items: center;
}
.NavigationDrawer-body-nav-head {
    width: 30px;
    height: 30px;
    border-radius: 100%;
}

.NavigationDrawer-body-search {
    border-radius: 10px;
    background-color: #f4f4f4;
    height: 40px;
    margin-left: 15px;
    margin-right: 15px;
    display: flex;
    align-items: center;
}
.NavigationDrawer-body-search img {
    width: 25px;
    height: 25px;
    margin-left: 10px;
}
.NavigationDrawer-body-search div {
    color: #757575;
    margin-left: 5px;
}

@media screen and (min-width: 760px) {
    body {
        display: flex;
    }
    .BodyView {
        flex: 2;
    }
    .NavigationDrawer {
        position: static;
        flex: 1;
        background-color: #FFFFFF;
    }
    .NavigationDrawer-body {
        width: 100%;
        box-shadow: 0 0 0 0;
    }
    .NavigationDrawer-close {
        display: none;
    }
}