/* 基础样式重置与页面美化 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 20px;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 标题部分（原本是目录名） */
h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

/* 目录表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* 表头 */
thead th {
    background-color: #3498db;
    color: white;
    text-align: left;
    padding: 12px 15px;
    font-weight: 600;
}

/* 表格单元格 */
tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

/* 鼠标悬停高亮行 */
tbody tr:hover {
    background-color: #f1f9ff;
}

/* 文件名链接样式 */
a {
    color: #2980b9;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* 文件大小、日期等列右对齐 */
td:nth-child(2), td:nth-child(3), td:nth-child(4) {
    text-align: right;
    color: #666;
    white-space: nowrap;
}

/* 图标或扩展名样式可在此补充 */
