/**Layer 95: Historical Archive*/
.archive-dashboard {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.archive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.archive-header h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.archive-header h2::before {
    content: '📚';
    font-size: 1.25rem;
}

.archive-header select {
    padding: 0.5rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    color: #475569;
    background-color: #f8fafc;
    cursor: pointer;
    transition: all 0.2s;
}

.archive-header select:hover {
    border-color: #3b82f6;
}

.archive-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.2s;
    border: 1px solid #e2e8f0;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
    background: #eff6ff;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3b82f6;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.archive-section {
    background: #fff;
    border-radius: 8px;
    margin-top: 2rem;
}

.archive-section h3 {
    color: #334155;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.highlight-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0ea5e9;
    padding: 1rem;
    border-radius: 6px;
    color: #0c4a6e;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-card strong {
    color: #0369a1;
}

@media (max-width: 768px) {
    .archive-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .archive-header select {
        width: 100%;
    }

    .archive-stats-grid {
        grid-template-columns: 1fr;
    }
}