/* Documentation Styles */
.documentation-section {
    scroll-margin-top: 2rem;
}

.nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #374151;
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    display: block;
    width: 100%;
    text-align: left;
    border-radius: 0.375rem;
}

.nav-link:hover {
    background-color: #f3f4f6;
}

.nav-link.active {
    background-color: #eff6ff;
    color: #2563eb;
    font-weight: 500;
}

pre {
    background-color: #1f2937;
    color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-size: 0.75rem;
    line-height: 1rem;
    word-wrap: break-word;
    word-break: break-all;
    white-space: pre-wrap;
    max-width: 100%;
}

pre code {
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-all;
    white-space: pre-wrap;
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

code:not(pre code) {
    background-color: #f3f4f6;
    color: #dc2626;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
