/* Styling for user manual chapters rendered from markdown (see UserManual.razor).
   Scoped under .handleiding-content; colors use Bootstrap variables so both
   light and dark theme work. */

.handleiding-content {
    color: var(--bs-gray-800);
    font-size: 1.05rem;
    line-height: 1.7;
}

.handleiding-content h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.handleiding-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.handleiding-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.handleiding-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.handleiding-content p {
    margin-bottom: 0.75rem;
}

.handleiding-content ul,
.handleiding-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.handleiding-content li {
    margin-bottom: 0.25rem;
}

.handleiding-content table {
    width: 100%;
    margin-bottom: 1.25rem;
    border-collapse: collapse;
}

.handleiding-content th,
.handleiding-content td {
    border: 1px solid var(--bs-border-color);
    padding: 0.5rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.handleiding-content th {
    background-color: var(--bs-gray-100);
    font-weight: 600;
}

.handleiding-content code {
    background-color: var(--bs-gray-100);
    border-radius: 0.25rem;
    padding: 0.1rem 0.35rem;
    font-size: 0.9em;
    color: var(--bs-gray-800);
}

.handleiding-content pre {
    background-color: var(--bs-gray-100);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.handleiding-content pre code {
    background-color: transparent;
    padding: 0;
}

.handleiding-content blockquote {
    border-left: 4px solid var(--bs-primary);
    background-color: var(--bs-gray-100);
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.handleiding-content blockquote p:last-child {
    margin-bottom: 0;
}

.handleiding-content img {
    max-width: 100%;
}

.handleiding-content a {
    color: var(--bs-primary);
}

.handleiding-content a:hover {
    text-decoration: underline;
}
