html {
    height: 100%;
}

body {
    height: 100%;
    width: 100%;
    background-color: #292a2d;
    font-family: Consolas;
}

.layui-container {
    height: 100%;
}

.chat-box {
    height:100%;
    width: 45vw;
    min-width: 350px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
}

.chat-title {
    display: flex;
    align-items: center;
    color: #FFFFFF;
    font-size: 2vh;
    margin: 15px;
}

img {
    height: 2.5rem;
    display: block;
    border-radius: 50%;
}

.chat-main {
    background-color: #404045;
    width: 100%;
    border-radius: 20px;
    bottom: 10px;
    position: sticky;
    z-index: 1;
}
.layui-btn-disabled,.layui-btn-disabled:hover{
    background-color: #fbfbfb66 !important;
    border-color: transparent !important;
}
.chat-btn {
    width: 38px;
    border-radius: 50% !important;
}
.chat-btn img{
    width: 24px;
    height: 24px;
    margin: 0 0 0 -11px;
}
.stop-img{
    width: 18px !important;
    height: 18px !important;
    margin: 0 0 0 -8px !important;
}
.chat-menu-btn {
    display: flex;
    align-items: center;
    background-color: transparent !important;
    padding: 0 !important;
}

.cus-dropdown {
    border-radius: 5px !important;
}
.cus-dropdown>.layui-menu {
    background-color: #23292e !important;
}
.cus-dropdown ul > li > div{
    color: #FFFFFF;
}
.cus-dropdown ul > li:hover{
    background-color: #16baaa;
}
#chat-input {
    min-height: 70px !important;
    background-color: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1rem;
    resize: none;
    padding: 10px;
    overflow: hidden;
}

#chat-input:focus {
    border-color: transparent !important;
    box-shadow: none;
}
.chat-message{
    width: 90%;
    margin:15vh 0 10px 0;
    display: none;
}
.chat-send{
    display: flex;
    justify-content: flex-end;
    margin: 20px 0 20px 0;
}

.chat-send p{
    color: #f8faff;
    background-color: #414158;
    padding: 10px;
    border-radius: 14px;
    font-size: 16px;
    line-height: 30px;
}
.chat-receive{
    display: flex;
}
.chat-receive img{
    width: 30px;
    height: 30px;
    margin: 9px 10px 0 0;

}
.chat-receive-content{
    padding-top: 10px;
    color: #f8faff;
    white-space: pre-wrap;
    display: inline-table;
    font-size: 1rem;
    line-height: 25px;
}
.spinner {
    margin-bottom: 20px;
    background-image: linear-gradient(rgb(186, 66, 255) 35%,rgb(0, 225, 255));
    width: 30px;
    height: 30px;
    animation: spinning82341 1.7s linear infinite, hue 1s ease-in-out infinite;
    text-align: center;
    border-radius:15px;
    filter: blur(1px);
    box-shadow: 0px -5px 20px 0px rgb(186, 66, 255), 0px 5px 20px 0px rgb(0, 225, 255);
}

.spinner1 {
    background-color: rgb(36, 36, 36);
    width: 30px;
    height: 30px;
    border-radius:50%;
    filter: blur(10px);
}

@keyframes spinning82341 {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hue {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}
strong {
    font-weight: bold;
}
code {
    background-color: #181d28;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

pre code { /* 代码块样式 */
    display: block;
    padding: 12px;
    overflow-x: auto;
}