*::-webkit-scrollbar {
    width: 0;
}
.index-page {
    height: 100%;
}
.side-bar {
    width: 245px;
    height: 100%;
    background: #FFF;
    box-shadow: rgb(0 0 0 / 15%) 0 0 8px;
}

.chat-right {
    height: 100vh;
    width: 100%;
    padding:10px 15px;

}

.bg-image {
    height: calc(100% - 300px)!important;
}

.chat-block {
    width: 100%;
    height: 100%;
    z-index: 11;
}

.chat-left-block {
    background:#FFF;
    width: 350px;
    height: 100%;
    padding:1em;
    box-shadow: rgb(0 0 0 / 15%) 0 0 8px;
    margin-bottom: 20px;
}

.chat-left-title {
    font-size: 14px;
    font-weight: 300;
    color: #6dd5fa;
}

.chat-right-block-no-login {
    height: 90%;
    width: 810px;
    overflow-y: auto;
    position: relative;
}

.chat-right-block {
    width: 100%;
    height:100%;
    overflow-y: auto;
    position: relative;
}

.ai-big-title {
    margin-top:50px;
    font-size: 40px;
    font-family: var(--font-yahei);
    color: var(--font-big-title-color);
    font-weight: 900;
}
.ai-nav-item {
    width: 240px;
}
.ai-icon {
    width: 25px;
    height: 25px;
}

.ai-title {
    font-size: 16px;
    margin-top: 10px;
    font-family: var(--font-yahei);
    color: var(--font-big-title-color);
}

.question-template-list {
    margin-top:20px;
}

.question-template {
    margin-bottom: 10px;
    border-radius: 5px;
    background: #fbfbfc;
    height: 40px;
    width: 230px;
    font-size: 12px;
    color: var(--font-big-title-color);
    cursor: pointer;
}

.question-template:hover {
    border:1px solid #6dd5fa;
}

.input-block {
    width: 100%;
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: background .1s ease-in-out;
    transition: background .1s ease-in-out;
}

.input-area {
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: bottom;
    font-size: 14px;
    border-top:1px solid #efefef;
    min-height: 75px;
    border-radius: 0px 0px 8px 8px;
}

.send-btn {
    cursor: pointer;
    background: #FFF;
    width: 60px;
    position: absolute;
    bottom: 15px;
    right: 1px;
}

.send-icon:hover {
    color: #6dd5fa;
}

.input-area .el-textarea__inner {
    border:none!important;
    border-radius: 5px;
    padding: 10px 60px 10px 15px;
    letter-spacing: 1px;
    font-size: 16px;
}

.chat-session-list {
    height: 100%;
    padding:10px;
    overflow-y: auto;
}

.chat-session-item {
    width: 184px;
    background: #F9F9F9;
    border-radius: 8px;
    height: 40px;
    padding:10px;
    font-size: 12px;
    margin-bottom: 10px;
    cursor: pointer;
}

.chat-session-item:hover {
    border:1px solid #6dd5fa;
    transition: all 0.3s;
}

.chat-session-item-active {
    width: 184px;
    background: #FFF;
    border-radius: 8px;
    height: 40px;
    padding:10px;
    font-size: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    border:1px solid #6dd5fa;
}

.operate-item:hover {
    color: #6dd5fa;
    font-weight: 500;
}

/* 答案卡片 */
.card {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background-color: #FFF;
    border-radius: 8px;
    z-index: 1;
    position: relative;
    /*border:1px solid var(--font-big-title-color);*/
    transition: .5s;
}


.tools {
    display: flex;
    align-items: center;
    padding: 9px;
}

.circle {
    padding: 0 4px;
}

.box {
    display: inline-block;
    align-items: center;
    width: 10px;
    height: 10px;
    padding: 1px;
    border-radius: 50%;
}

.red {
    background-color: #ff605c;
}

.yellow {
    background-color: #ffbd44;
}

.green {
    background-color: #00ca4e;
}

.chat-list {
    height: calc(100vh - 150px);
    overflow-y: auto;
    padding-bottom: 10px;


}

.role-dialog {
    margin-top: 100px;
}
.role-dialog .el-dialog {
    border-radius:20px!important;
}
.role-dialog .el-dialog__title {
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-yahei);
}

.chat-operation {
    padding-top: 2px;
    position: absolute;
    min-height: 75px;
    bottom: 0px;
}

.chat-no-border {
    border: none;
    height: 30px;
    width: 132px;
}
.chat-no-border:focus {
    outline: none;
}

.question-input-wrap {
    width: calc(100% - 130px);
    margin-right: 5px;
}
.question-input {
    height: 100%;
    width: 100%;
    resize: none;
    border: 1px solid #6dd5fa;
    border-radius:0px 8px;
}

.question-input:focus {
    outline: none;
}

.chat-item {
    padding:5px 20px;
}

.right-block {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-bottom: 20px;
}
.left-block {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 20px;
}

.right-block .chat-content {
    max-width: 800px;
    padding:10px;
    margin-top:5px;
    border-radius: 10px 0px 10px 10px;
    background-color: #95ec69;
}

.left-block .chat-content {
    max-width: 800px;
    padding:10px;
    margin-top:5px;
    background: #f9f9f9;
    color: #333;
    border-radius: 0px 10px 10px 10px;
}

.left-block .chat-info {
    margin-left: 3px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.right-block .chat-info {
    margin-right: 5px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
}

.chat-headimg {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.chat-nickname {
    font-size: 12px;
}

/* loader 001 */
.loader-001 {
    --s: 5px;
    /* control the size */
    width: calc(6*var(--s));
    display: grid;
    aspect-ratio: 1;
    border-radius: 50%;
    -webkit-mask: radial-gradient(50% 50%,#0000 calc(99% - 1*var(--s)),#000 calc(101% - 1*var(--s)));
    animation: r 4s linear infinite;
}

.loader-001:before {
    content: "";
    /* adjust the colors below */
    background: conic-gradient(from 25deg,#f8a201 25%,#fa2402 0 50%,#fdb3b0 0 75%,#02dde1 0);
    -webkit-mask: repeating-conic-gradient(#0000 0 25deg,#000 23% 25%),
    radial-gradient(var(--s) at var(--s) 50%,#000 97%,#0000)
    left/calc(100% - 1*var(--s)) 100% repeat-x,
    radial-gradient(var(--s) at 50% var(--s),#000 97%,#0000)
    top /100% calc(100% - 1*var(--s)) repeat-y;
}

@keyframes r {
    to {
        transform: rotate(1turn)
    }
}

.copy-answer {
    font-size: 12px;
    margin-top: 3px;
    color: #b5b5b5;
    cursor: pointer;
}
.copy-answer:hover {
    color: #6dd5fa;
}

.role-set-list {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.role-set-item {
    width: 120px;
    margin:10px;
    cursor: pointer;
}

.role-headimg {
    width: 50px;height: 50px;border-radius: 50%;
}

.role-set-item:hover .role-headimg {
    box-shadow: 0px 0px 5px 0px #6dd5fa;
}

.role-name {
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
}

.role-intro {
    font-size: 12px;
    color: #b5b5b5;
    margin-top: 5px;
}