body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#sidebar-nav .nav-link.active {
    color: #0ea5e9; /* text-sky-500 */
    font-weight: 600; /* font-semibold */
    border-left: 2px solid #0ea5e9;
    padding-left: 0.75rem; /* pl-3 */
    margin-left: -0.875rem; /* -ml-3.5 to align with border */
}

/* Add some spacing for anchor links to account for sticky header if needed */
section[id] {
    scroll-margin-top: 2rem;
}

/* Prose overrides for better code blocks */
.prose h2 a,
.prose h3 a {
    text-decoration: none;
    color: inherit;
}

.prose pre {
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.prose code {
    font-size: 0.875em;
}

.prose code::before,
.prose code::after {
    content: "" !important;
}

.prose table {
    margin-top: 2em;
    margin-bottom: 2em;
}
.prose th {
    padding: 0.5rem 1rem;
    border-bottom: 2px solid #e2e8f0; /* slate-200 */
}

.prose td {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e2e8f0; /* slate-200 */
}

.prose tbody tr:last-child td {
    border-bottom: none;
}

.prose td code {
    background-color: #f1f5f9; /* slate-100 */
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.8em;
    color: #1e293b; /* slate-800 */
}
