@import url("style.css");

/*
  Docs styling
  - Keep this file as the shared stylesheet for generated docs pages.
  - It imports the main site styling, then layers doc-specific tweaks.
*/

.docs-page {
    background-color: var(--bg-color);
}

.docs-container {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.docs-card {
    overflow: hidden;
}

.docs-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.95rem;
}

.docs-breadcrumb a {
    font-weight: 600;
}

.docs-content {
    text-align: left;
}

.docs-content h1 {
    margin-top: 0;
}

.docs-content pre,
.docs-content .codehilite {
    background: #f6f8fa;
    border-radius: 10px;
    padding: 16px;
    overflow-x: auto;
    margin: 1rem 0;
}

.docs-content pre code {
    background: transparent;
    padding: 0;
    border-radius: 0;
    color: inherit;
}

.docs-content code {
    background-color: #f0f0f0;
    color: #24292e;
}

.docs-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0;
}

.docs-content th,
.docs-content td {
    border: 1px solid #d0d7de;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.docs-content th {
    background-color: #f6f8fa;
}

.docs-content blockquote {
    padding: 0.25rem 1rem;
    color: #57606a;
    border-left: 0.25em solid #d0d7de;
    margin: 1rem 0;
}

.docs-content img {
    max-width: 100%;
    height: auto;
}

.docs-content .toc {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 1rem 0 1.5rem;
}

.docs-content .toc ul {
    margin: 0.5rem 0 0;
}

/* Ensure logo links keep site styling */
.logo a {
    color: inherit;
    text-decoration: none;
}

.logo a:hover {
    text-decoration: none;
}
