/* 表格外框容器 */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
}

/* 表格样式 */
.performance-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 13px;
    min-width: 900px;
}

/* 表头样式 */
.performance-table th {
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
    color: white;
    padding: 14px 12px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #2471a3;
    white-space: nowrap;
}

/* 单元格样式 */
.performance-table td {
    padding: 12px 10px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

/* 第一列（工程名称）样式 - 关键！ */
.performance-table td:first-child {
    text-align: left;
    font-weight: 500;
    min-width: 500px;
    white-space: normal;
    word-wrap: break-word;
}

/* 斑马纹 - 奇数行 */
.performance-table tr:nth-child(odd) {
    background-color: #f8f9fa;
}

/* 斑马纹 - 偶数行 */
.performance-table tr:nth-child(even) {
    background-color: #ffffff;
}

/* 悬停效果 */
.performance-table tbody tr:hover {
    background-color: #e8f6f3 !important;
    transition: background-color 0.2s ease;
}

/* 分类列居中 */
.performance-table td:nth-child(2) {
    text-align: center;
}

/* 面积列居中 */
.performance-table td:nth-child(3) {
    text-align: center;
    white-space: nowrap;
}

/* 时间列居中 */
.performance-table td:nth-child(4) {
    text-align: center;
    white-space: nowrap;
}

/* 标题样式 */
.table-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #1a5276;
    margin: 20px 0;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}
