/* 表格整体样式 */
table {
    border-collapse: collapse;
    width: 100%;
}

/* 清除所有默认边框 */
table th,
table td {
    border: none !important;
    padding: 8px 12px !important;
}

/* 表格顶部边框 */
thead tr:first-child th {
    border-top: 2px solid #000 !important;
}

/* 表头底部边框 */
thead tr:last-child th {
    border-bottom: 2px solid #000 !important;
}

/* 表格底部边框 */
tbody tr:last-child td {
    border-bottom: 2px solid #000 !important;
}

/* 表格行交替背景色 */
tbody tr:nth-child(odd) {
    background-color: #f5f5f5;
}

tbody tr:nth-child(even) {
    background-color: #ffffff;
}

/* 确保第一列也应用交替背景色 */
tbody tr:nth-child(odd) td:first-child {
    background-color: #f5f5f5 !important;
}

tbody tr:nth-child(even) td:first-child {
    background-color: #ffffff !important;
}
