.expert-chat {
    height: 100vh;
    overflow: hidden;

    .chat-container {
        /* position: relative; */
        height: calc(100vh - 230px);
        overflow: scroll;
        margin-top: 100px;
        padding: 0 20px;
        @include center();

        .van-list {
            /* height: 100% !important; */

            .cell-chat {
                height: 100%;
                padding: 5px 0;
                margin: 10px 0;
                display: flex;
                justify-content: flex-start;
                align-items: flex-end;

                .left {
                    position: relative;
                    height: 100%;
                    width: 15%;
                    font-size: 14px;
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;

                    .avatar {
                        height: 45px;
                        width: 45px;
                        @include center();
                        border-radius: 50%;

                        img {
                            height: 100%;
                            width: 100%;
                        }
                    }
                }

                .right {
                    width: 60%;

                    font-size: 14px;
                    margin-left: 15px;


                    p {
                        text-align: left;
                        font-size: 12px;
                        padding-left: 10px;
                    }

                    .text {
                        position: relative;
                        min-height: 50px;
                        border: .5px;
                        background-color: rgb(223, 218, 218);
                        border-radius: 10px;
                        padding: 10px 8px;
                        line-height: 20px;
                        margin-top: 5px;
                        z-index: 98;
                    }

                    .text :before {
                        content: '';
                        position: absolute;
                        bottom: 15%;
                        left: -20px;
                        width: 0;
                        height: 0;
                        border-style: solid;
                        border-width: 6px 25px 6px 0;
                        /* 调整这些值以改变三角形大小 */
                        border-color: transparent rgb(223, 218, 218) transparent transparent;
                        z-index: 90;
                        /* 左边是三角形可见部分的颜色 */
                    }


                }


            }

            .mine {
                height: 100%;
                padding: 5px 0;
                margin: 10px 0;
                display: flex;
                justify-content: flex-end;
                align-items: flex-end;

                .right {
                    position: relative;
                    height: 100%;
                    width: 15%;
                    font-size: 14px;
                    display: flex;
                    justify-content: flex-end;
                    align-items: flex-end;

                    .avatar {
                        height: 45px;
                        width: 45px;
                        display: flex;
                        justify-content: flex-end;
                        align-items: flex-end;
                        border-radius: 50%;

                        img {
                            height: 100%;
                            width: 100%;
                        }
                    }
                }

                .left {
                    width: 60%;

                    font-size: 14px;
                    margin-right: 15px;

                    p {
                        text-align: right;
                        font-size: 12px;
                        padding-right: 10px;
                    }

                    .text {
                        position: relative;
                        text-align: left;
                        min-height: 50px;
                        border: .5px;
                        background-color: rgb(223, 218, 218);
                        border-radius: 10px;
                        padding: 10px 8px;
                        line-height: 20px;
                        margin-top: 5px;
                    }

                    .text :before {
                        content: '';
                        position: absolute;
                        /* 让三角形居中对齐 */
                        bottom: 15%;
                        right: -20px;
                        width: 0;
                        height: 0;
                        border-style: solid;
                        border-width: 6px 25px 6px 0;
                        transform: rotate(180deg);
                        /* 调整这些值以改变三角形大小 */
                        border-color: transparent rgb(223, 218, 218) transparent transparent;
                        /* 左边是三角形可见部分的颜色 */
                    }


                }
            }
        }

        .short-text {
            /* height: 100%; */
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            /* 或者固定宽度，例如：repeat(4, 1fr) */
            gap: 10px;
            /* 可选，用于设置列与列之间的间距 */

            .btn {
                height: 40px;
                padding: 15px 20px;
                font-size: 28px;
                border-radius: 70px;
                color: #fff;
                @include center();
            }
        }
    }

    .send {
        position: relative;
        height: 90px;
        padding-left: 20px;
        padding-right: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 20px;

        .left {
            height: 70px;
            width: 70%;
            border: 1px solid #000;
            border-radius: 70px;
            padding: 10px 40px;
            display: flex;
            justify-content: flex-start;
            align-items: center;

            .van-cell {
                padding: 0 !important;
            }
        }

        .right {
            height: 90px;
            width: 90px;
            @include center();
            background-color: $green;
            border-radius: 50%;
            font-size: 32px;
            color: #fff;
        }
    }
}