/* docs/css/custom.css */

/* 表格样式 */
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin: 1rem 0;
    font-size: 0.9em;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* 表格头部 */
thead {
    background-color: #e15267;
}

/* 表头单元格 */
th {
    border: 1px solid #000000;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #000000;
    background-color: #e4e4e4;
}

/* 数据单元格 */
td {
    border: 1px solid #000000;
    padding: 10px 15px;
}

/* 斑马条纹 */
tbody tr:nth-of-type(odd) {
    background-color: #fdfdfe;
}

tbody tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

/* 悬停效果 */
tbody tr:hover {
    background-color: #bdcfe0;
}



/* 移动端适配 */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    th, td {
        min-width: 120px;
    }
}


