/**
 * Terms & Conditions page — supplemental styles for Tailwind-based layout.
 * Tailwind handles most styling; this file covers scrollbar, TOC active state, and smooth scroll.
 */

/* Fix Tailwind's .container overriding theme's .container max-width in header/footer */
.site-header .container,
.site-footer .container {
    max-width: var(--container-max, 1200px) !important;
    margin-inline: auto !important;
}

/* Smooth scroll for anchor links */
.tc-content {
    scroll-behavior: smooth;
}

/* Lucide icon display fix */
.tc-content i[data-lucide] {
    display: inline-block;
    vertical-align: middle;
}

/* Custom scrollbar for sidebar TOC */
.tc-custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.tc-custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.tc-custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.tc-custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Active state for sidebar TOC link during scroll */
.tc-content .toc-link.active {
    color: #2563eb;
    font-weight: 600;
    border-left-color: #2563eb;
    background-color: #eff6ff;
}
