/**
 * Table of Contents Sidebar Component CSS
 * Styles for sticky TOC navigation (Privacy/Terms pages)
 */

.toc-sidebar {
    position: sticky;
    top: 100px;
}

.toc-sticky {
    background: white;
    padding: 2rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.toc-title {
    font-size: 1.3rem;
    color: var(--primary-color, #484169);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(72, 65, 105, 0.1);
}

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

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toc-item {
    list-style: none;
}

.toc-link {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    padding: 0.50rem 0.50rem;
    color: var(--text-dark, #2c2c2c);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.toc-link:hover {
    background: rgba(72, 65, 105, 0.05);
    color: var(--primary-color, #484169);
}

.toc-link.active {
    background: rgba(72, 65, 105, 0.1);
    color: var(--primary-color, #484169);
    font-weight: 600;
}

.toc-number {
    color: var(--primary-color, #484169);
    font-weight: 700;
    min-width: 24px;
}

.toc-text {
    flex: 1;
    line-height: 1.5;
}

@media (max-width: 968px) {
    .toc-sidebar {
        position: static;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .toc-sticky {
        padding: 1.5rem;
    }
}
