/* 代码块样式 */
.content-area pre.hljs {
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 16px;
    overflow-x: auto;
    margin: 16px 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
}

.content-area code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.content-area pre code {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* 确保代码高亮主题生效 */
.hljs {
    color: #d4d4d4;
}

.hljs-keyword {
    color: #569cd6;
}

.hljs-string {
    color: #ce9178;
}

.hljs-comment {
    color: #6a9955;
}

.hljs-function {
    color: #dcdcaa;
}

.hljs-number {
    color: #b5cea8;
}


/* 表格样式 */
.content-area table,
.thinking-process table,
.kb-md table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    background: #1C1C1E;
    border: 1px solid #3A3A3C;
    border-radius: 6px;
    overflow: hidden;
}

.content-area th,
.thinking-process th,
.kb-md th {
    background: #2C2C2E;
    color: white;
    font-weight: 600;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #3A3A3C;
    font-size: 13px;
}

.content-area td,
.thinking-process td,
.kb-md td {
    padding: 10px 12px;
    border-bottom: 1px solid #3A3A3C;
    color: #E5E5EA;
    font-size: 13px;
    line-height: 1.4;
	
}

.content-area tr:last-child td,
.thinking-process tr:last-child td,
.kb-md tr:last-child td {
    border-bottom: none;
}

.content-area tr:hover,
.thinking-process tr:hover,
.kb-md tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* 表格响应式处理 */
.content-area table,
.thinking-process table,
.kb-md table {
    overflow-x: auto;
    display: inline-table;
}

.content-area table::-webkit-scrollbar,
.thinking-process table::-webkit-scrollbar,
.kb-md table::-webkit-scrollbar {
    height: 6px;
}

.content-area table::-webkit-scrollbar-track,
.thinking-process table::-webkit-scrollbar-track,
.kb-md table::-webkit-scrollbar-track {
    background: #1C1C1E;
}

.content-area table::-webkit-scrollbar-thumb,
.thinking-process table::-webkit-scrollbar-thumb,
.kb-md table::-webkit-scrollbar-thumb {
    background: #3A3A3C;
    border-radius: 3px;
}

.content-area table::-webkit-scrollbar-thumb:hover,
.thinking-process table::-webkit-scrollbar-thumb:hover,
.kb-md table::-webkit-scrollbar-thumb:hover {
    background: #4A4A4C;
}


.content-area td img,
.thinking-process td img,
.kb-md td img{
    max-width: 200px !important;
	
}