/* Report Specific Styles */
:root {
    --report-bg: #ffffff;
    --sidebar-bg: #f8fafc;
    --sidebar-width: 280px;
    --heading-color: #0f172a;
    --text-color: #334155;
    --border-color: #e2e8f0;
}

body {
    background-color: #f1f5f9;
    /* Light gray background for the "desk" feel */
}

.report-container {
    display: flex;
    max-width: 1400px;
    margin: 2rem auto;
    gap: 2rem;
    padding: 0 1rem;
    align-items: flex-start;
}

/* Sidebar / TOC */
.report-sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    padding: 1.5rem;
    border-radius: 8px;
    position: sticky;
    top: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    flex-shrink: 0;
}

.toc-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--heading-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 0.5rem;
}

.toc-link {
    display: block;
    padding: 0.4rem 0.6rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.toc-link:hover,
.toc-link.active {
    background-color: #e2e8f0;
    color: var(--heading-color);
    font-weight: 500;
}

.toc-sublist {
    list-style: none;
    padding-left: 1.2rem;
    margin-top: 0.2rem;
}

.toc-subitem {
    margin-bottom: 0.2rem;
}

.toc-sublink {
    font-size: 0.85rem;
    color: #64748b;
}

/* Main Content */
.report-content {
    flex: 1;
    background: var(--report-bg);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-height: 80vh;
}

.report-header {
    border-bottom: 2px solid var(--heading-color);
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
}

.report-title {
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.report-meta {
    color: #64748b;
    font-size: 0.95rem;
    display: flex;
    gap: 1.5rem;
}

.report-section {
    margin-bottom: 3rem;
}

.section-number {
    color: #3b82f6;
    font-weight: 700;
    margin-right: 0.5rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #475569;
}

p {
    margin-bottom: 1.2rem;
    text-align: justify;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
    .report-container {
        flex-direction: column;
    }

    .report-sidebar {
        width: 100%;
        position: static;
        max-height: none;
    }
}