.chat-container {
    width: 76%;
    display: flex;
    flex-direction: column;
    position: relative;
    border-right: 1.5px solid #eeeeee;
    box-shadow: 0px 4px 8px 0px rgba(211, 230, 251, 0.3);
    background: #f6f7fc;
}

.chat-messages {
    flex-grow: 1;
    padding: 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message .answer,
.message .question {
    display: flex;
    max-width: 80%;
    margin-bottom: 20px;
    align-items: baseline;
}

.message .answer .message-ico,
.message .question .message-ico {
    margin-top: 10px;
}

.message-content {
    background: #ffffff;
    border: 1.5px solid #eeeeee;
    border-radius: 12px;
    box-shadow: 0px 4px 8px 0px rgba(211, 230, 251, 0.3);
    padding: 20px;
    margin: 0px 10px;
}

.input-area {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.input-area .area {
    flex: 1;
}

.input-area textarea {
    width: 100%;
    font-size: 16px;
    border: 0px;
    resize: none;
    white-space: normal;
    line-height: 1.5;
}

#sendButton {
    /* width: 94px;
    height: 31px; */
    padding: 6px 33px;
    color: #fff;
    background: #1990fe;
    border-radius: 20px;
}

.sidebar {
    width: 290;
    background: #fff;
    color: #333;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 100%;
}

.cont_head {
    font-size: 16px;
    line-height: 40px;
    margin-bottom: 20px;
}

.cont_head span::after {
    width: 64px;
    height: 3px;
}

.nav-list li {
    float: left;
}

.nav-list li:nth-child(3n) a {
    margin-right: 0px;
}

.nav-list a {
    display: grid;
    margin-right: 30px;
    margin-bottom: 20px;
}

.nav-list a img {
    margin: 5px auto 20px;
    transition: transform 0.5s ease;
}

.nav-list a:hover {
    color: #0176ff;
}

.nav-list a:hover img {
    transform: scale(1.1);
    transform-origin: center;
}

.hot-qes {
    display: flex;
}

.hot-list-item {
    line-height: 50px;
    border-bottom: 1px solid #eee;
    width: 230px;
    margin: 0 30px;
    color: #0176ff;
}

.hot-list-item img {
    margin: 0 10px;
}

.hot-list-item:last-child {
    border-bottom: 0px;
}

.user-message {
    display: flex;
    justify-content: end;
}

.typing-indicator {
    display: none;
    align-self: flex-start;
    background: white;
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 20px;
    margin-left: 30px;
    border-bottom-left-radius: 5px;
}

.typing-indicator span {
    height: 10px;
    width: 10px;
    background: #1990fe;
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    animation: bounce 1.3s linear infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.15s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes bounce {
    0%,
    60%,
    100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-5px);
    }
}

:root {
    --primary-color: #1890ff;
    --border-color: #d9d9d9;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #fafafa;
}

.message-title {
    font-size: 18px;
    margin: 10px 0;
    font-weight: bolder;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #cbddff;
    flex-wrap: wrap;
}

.tab {
    padding: 12px 18px;
    cursor: pointer;
    position: relative;
    font-size: 16px;
    color: #333;
    white-space: nowrap;
}

.tab.active {
    font-weight: bolder;
    color: #4589ff;
}

.tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #4589ff;
}

.tab-content {
    display: none;
    padding: 10px;
}

.tab-content.active {
    display: block;
}

.result-item {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #f0f0f0;
}

.result-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.result-link {
    text-decoration: none;
    display: inline-block;
    width: 100%;
    line-height: 28px;
}

.result-link:hover {
    color: #4589ff;
}

.result-tags {
    margin-top: 8px;
}

.tag {
    display: inline-block;
    background-color: #e6f7ff;
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 5px;
}

.no-results {
    text-align: center;
    color: var(--light-text);
    padding: 40px 0;
}
