* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 2.5rem;
}

.file-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.file-table th,
.file-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.file-table th {
    background-color: #3498db;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.file-table tr:hover {
    background-color: #f8f9fa;
}

.file-table tr:last-child td {
    border-bottom: none;
}

.file-icon {
    font-size: 1.5rem;
    text-align: center;
}

.file-name a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.file-name a:hover {
    color: #3498db;
    text-decoration: underline;
}

.download-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #2ecc71;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.download-btn:hover {
    background-color: #27ae60;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.download-btn:active {
    transform: translateY(0);
}

.empty-message {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 40px 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .file-table {
        font-size: 0.85rem;
    }
    
    .file-table th,
    .file-table td {
        padding: 8px 10px;
    }
    
    .file-icon {
        font-size: 1.2rem;
    }
    
    .download-btn {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    
    /* 在小屏幕上隐藏一些列 */
    .file-table th:nth-child(3),
    .file-table td:nth-child(3),
    .file-table th:nth-child(4),
    .file-table td:nth-child(4) {
        display: none;
    }
}

@media (max-width: 480px) {
    /* 在超小屏幕上隐藏更多列 */
    .file-table th:nth-child(5),
    .file-table td:nth-child(5) {
        display: none;
    }
    
    .file-name {
        word-break: break-all;
    }
}
