header {
    margin: 0 0 0 20px;
}

/* 设置 Wang GD 的蓝色样式 */
.highlight_blue {
    color: #1e90ff; /* 使用一种好看的蓝色 */
    font-weight: bold;
}

/* 设置 Wang GD 的绿色样式 */
.highlight_green {
    color: #32cd32; /* 使用一种好看的绿色 */
    font-weight: bold;
}

/* 设置表格容器的滚动 */
#paper_table, #patent_table {
    overflow-y: auto;
    height: 400px; /* 表格的高度 */
    width: 66.67%;
    margin: 0 auto;
    margin-bottom: 30px; /* 表格之间的间距 */
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* 控制表格宽度 */
}

table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    word-wrap: break-word; /* 防止内容溢出 */
    white-space: normal; /* 允许内容换行 */
}

/* 设置表头和单元格宽度 */
#paper_table th:nth-child(1), td:nth-child(1) {
    width: 5%;
}

#paper_table th:nth-child(2), td:nth-child(2) {
    width: 20%;
}

#paper_table th:nth-child(3), td:nth-child(3) {
    width: 30%;
}

#paper_table th:nth-child(4), td:nth-child(4) {
    width: 15%;
}

#paper_table th:nth-child(5), td:nth-child(5) {
    width: 10%;
}

#paper_table th:nth-child(6), td:nth-child(6) {
    width: 20%;
}

/* 固定表头 */
table th {
    position: sticky;
    top: 0; /* 设置顶部固定 */
    background-color: #f8f8f8; /* 背景色 */
    z-index: 2; /* 确保表头在上面 */
}

/* 为表格添加响应式设计 */
@media screen and (max-width: 768px) {
    #paper_table, #patent_table {
        width: 100%; /* 在小屏幕设备上表格宽度设置为100% */
    }

    table th, table td {
        font-size: 14px; /* 在小屏幕上调整字体大小 */
    }
}

/* 为段落文本设置样式 */
#paper header p {
    font-size: large;
    text-align: center;
}

