* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.folder-card {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e2e8f0;
}

.folder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.folder-card h2 {
    font-size: 1.3rem;
    color: #1e3a5f;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.folder-card h2::before {
    content: "📁";
    font-size: 1.5rem;
}

.folder-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: #4a5568;
}

.folder-info .file-count {
    background: #edf2f7;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
    font-weight: 500;
    color: #2c5282;
}

.folder-info .last-updated {
    font-size: 0.85rem;
    color: #718096;
}

.folder-link {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 20px;
    background: #2c5282;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s;
    text-align: center;
}

.folder-link:hover {
    background: #1e3a5f;
}

.table-container {
    overflow-x: auto;
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

thead {
    background: #1e3a5f;
    color: white;
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th:first-child, td:first-child {
    width: 60px;
    text-align: center;
    font-weight: 600;
    color: #2c5282;
}

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

tbody tr:hover {
    background: #edf2f7;
}

td {
    color: #4a5568;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-header h1 {
    font-size: 2rem;
    color: #1e3a5f;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #edf2f7;
    color: #2c5282;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s;
}

.back-link:hover {
    background: #e2e8f0;
}

.breadcrumb {
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #718096;
}

.breadcrumb a {
    color: #2c5282;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.file-section {
    margin-bottom: 40px;
}

.file-section h2 {
    font-size: 1.2rem;
    color: #2c5282;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.file-meta {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 16px;
}

footer {
    text-align: center;
    padding: 20px;
    color: #718096;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 40px;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #718096;
}

.error {
    background: #fed7d7;
    color: #c53030;
    padding: 16px;
    border-radius: 6px;
    margin: 16px 0;
}

@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    th, td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}
