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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

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

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.subtitle {
    color: #666;
    font-size: 14px;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card h2 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 16px;
    border-bottom: 2px solid #e8ecf1;
    padding-bottom: 10px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table td {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-table td:first-child {
    font-weight: 600;
    color: #555;
    width: 120px;
}

.info-table td:last-child {
    color: #1a1a2e;
}

.cache-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
}

.stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    background: #f8f9fb;
    border-radius: 8px;
    padding: 16px;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
}

.stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
}

.progress-bar {
    height: 8px;
    background: #e8ecf1;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f9cf9, #6bb6ff);
    border-radius: 4px;
    transition: width 0.5s ease;
}

#recent-files table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

#recent-files th {
    text-align: left;
    padding: 8px;
    background: #f8f9fb;
    color: #555;
    font-weight: 600;
    border-bottom: 2px solid #e8ecf1;
}

#recent-files td {
    padding: 8px;
    border-bottom: 1px solid #f0f0f0;
    word-break: break-all;
}

.placeholder {
    color: #999;
    text-align: center;
    padding: 20px;
}

pre {
    background: #1e1e2e;
    color: #cdd6f4;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 13px;
    margin: 10px 0;
}

code {
    background: #e8ecf1;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

pre code {
    background: none;
    padding: 0;
}

footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    color: #999;
    font-size: 13px;
}

footer a {
    color: #4f9cf9;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
