table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: fixed;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}


/* 表头单元格样式 */


/* 主标题单元格特殊样式 */

.main-header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%) !important;
    color: white !important;
    font-size: 1.1em;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.main-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
}


/* 子标题单元格样式 */

.sub-header {
    background-color: #f8f9fa !important;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}


/* 列标题单元格样式 */

.column-header {
    background-color: #e9ecef !important;
    font-weight: 500;
    font-size: 0.9em;
    padding: 6px 4px !important;
}

th {
    border: 1px solid #ddd;
    padding: 10px 8px;
    text-align: center;
    background-color: #f8f9fa;
    font-weight: 600;
    font-size: 13px;
    word-wrap: break-word;
    /* 允许长单词换行 */
    white-space: normal;
    /* 允许文字换行 */
    text-align: center;
    vertical-align: middle;
    color: #333;
    letter-spacing: 0.3px;
}

/* 确保所有表格具有一致的基础样式 */
.tab-content table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-content table th,
.tab-content table td {
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
}

.tab-content table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.03);
    transition: background-color 0.2s ease;
}

/* 特别针对第三张表格的样式统一 */
#open-source table th:not(.open-source) {
    background-color: #f8f9fa !important;
    font-weight: bold !important;
    padding: 8px !important;
    border: 1px solid #ddd !important;
}

#open-source table td:not(:first-child) {
    font-weight: 500 !important;
    font-size: 13px !important;
    border: 1px solid #ddd !important;
    color: #333 !important;
}

/* 确保模型名称列样式一致 */
.tab-content table td:first-child,
#open-source table td:first-child {
    font-weight: 600 !important;
    font-size: 13px !important;
    text-align: left !important;
    padding-left: 12px !important;
    color: #333 !important;
}

tr {
    text-align: center;
    vertical-align: middle;
}


/* 数据单元格样式 */

td {
    border: 1px solid #ddd;
    padding: 10px 8px;
    text-align: center;
    position: relative;
    width: 60px;
    /* 固定单元格宽度 */
    min-width: 60px;
    max-width: 60px;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
    font-weight: 500;
    font-size: 13px;
    color: #333;
    /* 数据单元格内容 */
}

/* 特别加粗数字内容 */
td:not(:first-child) {
    font-weight: 600;
    font-size: 13px;
    /* 除了第一列（模型名称）外，其他列更加粗 */
}

.header {
    font-weight: bold;
}

.sub-header {
    font-weight: bold;
}

.section-title {
    font-weight: bold;
}


/* 分类标题行样式 - 保持不同背景色但统一其他样式 */

.text-only {
    background-color: #add8e6 !important;
    /* Light Blue */
    font-weight: 600 !important;
    color: #2c3e50 !important;
    text-align: center !important;
    vertical-align: middle !important;
    padding: 12px 8px !important;
    border: 1px solid #ddd !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
}

.closed-source {
    background-color: #ffcccb !important;
    /* Light Pink */
    font-weight: 600 !important;
    color: #2c3e50 !important;
    text-align: center !important;
    vertical-align: middle !important;
    padding: 12px 8px !important;
    border: 1px solid #ddd !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
}

.open-source {
    background-color: #fcfcd6 !important;
    /* Light Yellow */
    font-weight: 600 !important;
    color: #2c3e50 !important;
    text-align: center !important;
    vertical-align: middle !important;
    padding: 12px 8px !important;
    border: 1px solid #ddd !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
}

/* 确保所有分类标题行的样式一致性 */
th.text-only,
th.closed-source,
th.open-source {
    font-weight: 700 !important;
    text-transform: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    border: 1px solid #ddd !important;
}

.sort-btn {
    cursor: pointer;
    font-size: 10px;
    margin-left: 4px;
    user-select: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.sort-btn:hover {
    opacity: 1;
    color: #007bff;
}


/* 标签页样式 */

.tab-container {
    margin-top: 20px;
}

.tab-buttons {
    display: flex;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 8px;
    border-radius: 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-btn {
    padding: 10px 20px;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    border-radius: 8px;
    margin-right: 4px;
    flex: 1;
    text-align: center;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.7);
    color: #212529;
}

.tab-btn.active {
    background: white;
    color: #0d6efd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
}

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


/* 进度条样式 */

.progress-bar-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    opacity: 0.3;
    transition: width 0.3s ease;
}

.progress-text {
    position: relative;
    z-index: 1;
    font-weight: 700 !important;
    /* 确保进度条文本也加粗 */
    color: #2c3e50 !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
    /* 添加轻微阴影增强可读性 */
}


/* 列颜色定义 */

.col-1 {
    background-color: rgba(255, 154, 158, 0.3);
}

.col-2 {
    background-color: rgba(161, 196, 253, 0.3);
}

.col-3 {
    background-color: rgba(132, 250, 176, 0.3);
}

.col-4 {
    background-color: rgba(166, 193, 238, 0.3);
}

.col-5 {
    background-color: rgba(255, 236, 210, 0.3);
}

.col-6 {
    background-color: rgba(255, 129, 119, 0.3);
}

.col-7 {
    background-color: rgba(246, 211, 101, 0.3);
}

.col-8 {
    background-color: rgba(240, 147, 251, 0.3);
}

.col-9 {
    background-color: rgba(94, 231, 223, 0.3);
}

.col-10 {
    background-color: rgba(196, 113, 245, 0.3);
}

.col-11 {
    background-color: rgba(67, 233, 123, 0.3);
}

.col-12 {
    background-color: rgba(250, 112, 154, 0.3);
}

.col-13 {
    background-color: rgba(79, 172, 254, 0.3);
}

.col-14 {
    background-color: rgba(168, 237, 234, 0.3);
}