/* Documentation pages styles - Modern Minimalist */
/* Inherits base styles from main project and adds documentation-specific styling */

/* Mobile viewport fixes */
html {
    height: 100%;
}

body {
    min-height: 100%;
    position: relative;
    /* Safe area insets for top notch */
    padding-top: constant(safe-area-inset-top);
    padding-top: env(safe-area-inset-top);
    color: #1f2937; /* Gray 900 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Docs page layout for sticky footer */
.docs-page {
    min-height: 100vh;
    min-height: 100dvh;
    min-height: var(--app-height, 100vh);
    min-height: -webkit-fill-available;
    display: flex !important; /* Force flex display during dynamic content loading */
    flex-direction: column;
    background-color: #ffffff;
}

.docs-page-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Fix for mobile Safari viewport height */
@supports (-webkit-touch-callout: none) {
    body {
        min-height: -webkit-fill-available;
    }
    
    .docs-page {
        min-height: -webkit-fill-available;
    }
}

/* Page animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Documentation container */
.docs-container {
    max-width: 1440px; /* Increased for better screen utilization */
    margin: 0 auto;
    padding: 56px 40px 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: #374151; /* Gray 700 */
    animation: fadeIn 0.8s ease-out;
    flex: 1;
}

/* Topbar styles removed as content is moved */
.docs-topbar {
    display: none;
}

/* Documentation header */
.docs-header {
    text-align: center;
    margin-bottom: 56px;
    padding: 56px 0 28px 0;
    animation: fadeInUp 0.5s ease-out;
    position: relative;
}

.docs-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 3px;
    opacity: 1;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.docs-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #111827; /* Gray 900 */
    margin-bottom: 16px;
    letter-spacing: -0.04em;
    line-height: 1.1;
    background: linear-gradient(135deg, #111827 0%, #4b5563 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.docs-subtitle {
    font-size: 20px;
    color: #6b7280; /* Gray 500 */
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Skeleton Loading */
.skeleton {
    background: #f3f4f6;
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
    width: 100%; /* Fix width inconsistency */
    display: block; /* Ensure block display */
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-title {
    height: 48px;
    width: 70%;
    margin-bottom: 32px;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 12px;
    width: 100%;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-block {
    height: 120px;
    margin: 32px 0;
    border-radius: 8px;
    width: 100%;
}

/* Fade In Animation */
.fade-in-content {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Navigation breadcrumb */
.docs-breadcrumb {
    margin-bottom: 40px;
    font-size: 14px;
    color: #6b7280;
    padding: 8px 0;
    background: transparent;
    border: none;
    animation: fadeIn 0.5s ease-out;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.docs-breadcrumb::before {
    content: none;
}

.docs-breadcrumb a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 4px 0;
    font-weight: 500;
}

.docs-breadcrumb a:hover {
    color: #2563eb; /* Blue 600 */
    background-color: transparent;
    text-decoration: underline;
}

.docs-breadcrumb .separator {
    margin: 0 4px;
    color: #d1d5db; /* Gray 300 */
    font-size: 12px;
}

/* Documentation content */
.docs-content {
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
    max-width: 900px; /* Limit line length for readability */
    overflow: visible;
}

.docs-content h1 {
    font-size: 36px;
    color: #111827;
    margin: 0 0 32px 0;
    padding-bottom: 0;
    border-bottom: none;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.docs-content h2 {
    font-size: 24px;
    color: #1f2937;
    margin: 48px 0 20px 0;
    padding-left: 0;
    border-left: none;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.docs-content h3 {
    font-size: 20px;
    color: #374151;
    margin: 32px 0 16px 0;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.docs-content p {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.75;
    color: #4b5563; /* Gray 600 */
    font-weight: 400;
}

.docs-content ul, .docs-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.docs-content li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

.docs-content li::marker {
    color: #9ca3af;
}

.docs-content strong {
    color: #111827;
    font-weight: 600;
}

.docs-content em {
    color: #4b5563;
    font-style: italic;
    font-weight: 400;
}

.docs-content a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.docs-content a:hover {
    border-bottom-color: #2563eb;
}

/* Markdown Content Enhancements */
.docs-content code {
    background-color: #f3f4f6;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.9em;
    color: #ef4444;
}

.docs-content pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.5;
}

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

.docs-content blockquote {
    border-left: 4px solid #e5e7eb;
    margin: 24px 0;
    padding-left: 20px;
    font-style: italic;
    color: #6b7280;
    background: #f9fafb;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
}

.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 16px;
    overflow-x: auto;
    display: block;
}

.docs-content thead {
    display: table-header-group;
}

.docs-content tbody {
    display: table-row-group;
}

.docs-content tr {
    display: table-row;
}

.docs-content th,
.docs-content td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    display: table-cell;
}

.docs-content th {
    font-weight: 600;
    color: #111827;
    background-color: #f9fafb;
    white-space: nowrap;
}

.docs-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.docs-content hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 40px 0;
}

/* Info boxes - Minimalist */
.docs-info-box, .docs-warning-box, .docs-danger-box {
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
    border-left: 4px solid;
    font-size: 15px;
}

.docs-info-box {
    background-color: #eff6ff; /* Blue 50 */
    border-left-color: #3b82f6; /* Blue 500 */
    color: #1e40af; /* Blue 800 */
}

.docs-warning-box {
    background-color: #fffbeb; /* Amber 50 */
    border-left-color: #f59e0b; /* Amber 500 */
    color: #92400e; /* Amber 800 */
}

.docs-danger-box {
    background-color: #fef2f2; /* Red 50 */
    border-left-color: #ef4444; /* Red 500 */
    color: #991b1b; /* Red 800 */
}

/* Documentation navigation */
.docs-nav {
    display: block;
    margin-bottom: 32px;
}

.docs-section {
    margin-bottom: 28px;
}

.docs-section:last-child {
    margin-bottom: 16px;
}

.docs-section-title {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 20px 0;
    color: #111827;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.docs-section-title::before {
    content: '';
    display: block;
    width: 5px;
    height: 24px;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 3px;
}

/* Navigation grid for index page */
.docs-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
    padding: 0;
}

.docs-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.docs-sidebar {
    position: sticky;
    top: 24px;
    align-self: start;
    padding: 0;
    border: none;
    border-right: 1px solid #eef2f7;
    border-radius: 0;
    background: transparent;
    padding-right: 24px;
}

.docs-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.docs-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.docs-sidebar-link {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.docs-sidebar-link:hover {
    background: #f3f4f6;
    color: #111827;
    transform: translateX(4px);
}

.docs-sidebar-link.is-active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.docs-nav-card {
    background: #ffffff;
    padding: 28px;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(229, 231, 235, 0.6);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .docs-nav-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

@media (min-width: 1024px) {
    .docs-nav-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1400px) {
    .docs-nav-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* Keep 3 cols max for better look */
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}


.docs-nav-card::before {
    display: none;
}

.docs-nav-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    transform: translate(-20px, 20px);
}

.docs-nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
}

.docs-nav-card:hover::after {
    opacity: 1;
    transform: translate(0, 0);
}

.docs-nav-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), inset 0 2px 4px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255,255,255,0.5);
}

.docs-nav-card:hover .docs-nav-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    transform: scale(1.1) rotate(-6deg);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
    border-color: transparent;
}

.docs-nav-card h3 {
    margin: 0 0 10px 0;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.docs-nav-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

/* Footer */
.docs-footer {
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
    padding: 24px 0;
    text-align: center;
    background-color: #ffffff;
    padding-bottom: calc(24px + constant(safe-area-inset-bottom));
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.docs-footer p {
    margin: 0;
    font-size: 14px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.docs-footer a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.docs-footer a:hover {
    color: #111827;
    text-decoration: none;
}

.footer-separator {
    color: #e5e7eb;
    font-size: 8px;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: calc(32px + constant(safe-area-inset-bottom));
    bottom: calc(32px + env(safe-area-inset-bottom));
    right: 32px;
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.back-to-top:hover {
    background-color: #ffffff;
    color: #111827;
    border-color: #d1d5db;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.back-to-top.show {
    display: flex;
}

/* Page Navigation (Previous/Next) */
.docs-page-nav {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap;
    margin-top: 24px;
    padding-top: 16px;
    padding-bottom: 8px;
    border-top: 1px solid #e5e7eb;
    gap: 16px;
    overflow: visible;
}

.docs-nav-button {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1 1 0;
    min-width: 0;
    background-color: #ffffff;
    gap: 12px;
    box-sizing: border-box;
}

.docs-content .docs-nav-button {
    border-bottom-color: #e5e7eb;
}

.docs-content .docs-nav-button:hover {
    border-bottom-color: #3b82f6;
}

.docs-nav-button:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.docs-nav-button.prev {
    padding-left: 16px;
}

.docs-nav-button.next {
    padding-right: 16px;
    text-align: right;
    justify-content: flex-end;
}

.docs-nav-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.docs-nav-button.next .docs-nav-content {
    align-items: flex-end;
}

.docs-nav-label {
    font-size: 10px;
    color: #6b7280;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    line-height: 1;
}

.docs-nav-title {
    font-size: 14px;
    color: #111827;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.docs-nav-button:hover .docs-nav-title {
    color: #2563eb;
}

.docs-nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #9ca3af;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.docs-nav-arrow svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

.docs-nav-button:hover .docs-nav-arrow {
    color: #2563eb;
}

.docs-nav-button.prev:hover .docs-nav-arrow {
    transform: translateX(-3px);
}

.docs-nav-button.next:hover .docs-nav-arrow {
    transform: translateX(3px);
}

.docs-nav-button:active {
    transform: translateY(0);
    box-shadow: none;
}

@media (max-width: 640px) {
    .docs-page-nav {
        gap: 10px;
        padding-top: 20px;
        padding-bottom: 16px;
    }

    .docs-nav-button {
        padding: 10px 12px;
        border-radius: 6px;
        gap: 8px;
    }

    .docs-nav-label {
        font-size: 9px;
    }

    .docs-nav-title {
        font-size: 13px;
    }

    .docs-nav-arrow {
        width: 18px;
        height: 18px;
    }

    .docs-nav-arrow svg {
        width: 16px;
        height: 16px;
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
        order: 0;
    }
}

@media (max-width: 768px) {
    .docs-container {
        padding: 40px 20px 28px;
    }
    
    .docs-title {
        font-size: 30px;
    }
    
    .docs-subtitle {
        font-size: 15px;
    }
    
    .docs-nav-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .docs-nav-card {
        padding: 18px;
    }
    
    .docs-content h1 {
        font-size: 30px;
    }
    
    .docs-content h2 {
        font-size: 22px;
    }
    
    .docs-page-nav {
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 8px;
    }
    
    .docs-nav-button {
        padding: 10px 12px;
        border-radius: 6px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .docs-container {
        padding: 32px 16px 20px;
    }
    
    .docs-title {
        font-size: 26px;
    }
    
    .docs-nav-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .docs-nav-card h3 {
        font-size: 16px;
    }
    
    .docs-content h1 {
        font-size: 26px;
        margin-bottom: 24px;
    }
    
    .docs-content h2 {
        font-size: 20px;
        margin-top: 32px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #000000;
        color: #f3f4f6;
    }

    .docs-page {
        background-color: #000000;
    }

    .docs-container {
        color: #d1d5db;
    }

    .docs-title {
        background: linear-gradient(180deg, #ffffff 0%, #d1d5db 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .docs-subtitle {
        color: #9ca3af;
    }

    .docs-section-title {
        color: #f3f4f6;
    }

    .docs-nav-card {
        background: #111827;
        border-color: #374151;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    }

    .docs-nav-card:hover {
        border-color: #3b82f6;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 10px 15px -3px rgba(0, 0, 0, 0.3);
        background: #1f2937;
    }

    .docs-nav-card::after {
        background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    }

    .docs-nav-icon {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
        box-shadow: inset 0 1px 2px 0 rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .docs-nav-card h3 {
        color: #f3f4f6;
    }

    .docs-nav-card p {
        color: #9ca3af;
    }

    .docs-section-title {
        color: #f3f4f6;
    }

    .docs-breadcrumb a {
        color: #9ca3af;
    }

    .docs-breadcrumb a:hover {
        color: #60a5fa;
    }

    .docs-breadcrumb .separator {
        color: #4b5563;
    }

    /* Content Typography */
    .docs-content h1, 
    .docs-content h2, 
    .docs-content h3, 
    .docs-content strong {
        color: #f3f4f6;
    }

    .docs-content p, 
    .docs-content li, 
    .docs-content em {
        color: #d1d5db;
    }

    .docs-content a {
        color: #60a5fa;
    }

    .docs-content a:hover {
        border-bottom-color: #60a5fa;
    }

    .docs-content code {
        background-color: #1f2937;
        color: #f87171;
        border: 1px solid #374151;
    }

    .docs-content pre {
        background-color: #111827;
        border: 1px solid #374151;
    }

    .docs-content blockquote {
        background: #111827;
        color: #9ca3af;
        border-left-color: #374151;
    }

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

    .docs-content th,
    .docs-content td {
        border-bottom-color: #374151;
    }

    /* Info Boxes */
    .docs-info-box {
        background-color: rgba(59, 130, 246, 0.1);
        border-left-color: #3b82f6;
        color: #93c5fd;
    }

    .docs-warning-box {
        background-color: rgba(245, 158, 11, 0.1);
        border-left-color: #f59e0b;
        color: #fcd34d;
    }

    .docs-danger-box {
        background-color: rgba(239, 68, 68, 0.1);
        border-left-color: #ef4444;
        color: #fca5a5;
    }

    /* Sidebar */
    .docs-sidebar {
        border-right-color: #374151;
    }

    .docs-sidebar-title {
        color: #f3f4f6;
    }

    .docs-sidebar-link {
        color: #9ca3af;
    }

    .docs-sidebar-link:hover {
        background: #1f2937;
        color: #f3f4f6;
    }

    .docs-sidebar-link.is-active {
        background: rgba(37, 99, 235, 0.2);
        color: #60a5fa;
    }

    /* Footer */
    .docs-footer {
        background-color: #000000;
        border-top-color: #1f2937;
    }

    .docs-footer a {
        color: #9ca3af;
    }

    .docs-footer a:hover {
        color: #f3f4f6;
    }

    .footer-separator {
        color: #374151;
    }

    /* Back to Top */
    .back-to-top {
        background-color: #1f2937;
        color: #d1d5db;
        border-color: #374151;
    }

    .back-to-top:hover {
        background-color: #374151;
        color: #ffffff;
        border-color: #4b5563;
    }

    /* Skeleton */
    .skeleton {
        background: #1f2937;
        background: linear-gradient(90deg, #1f2937 25%, #374151 50%, #1f2937 75%);
        background-size: 200% 100%;
    }

    /* Page Nav Dark Mode */
    .docs-page-nav {
        border-top-color: #374151;
    }

    .docs-nav-button {
        border-color: #374151;
        background-color: transparent;
    }

    .docs-nav-button:hover {
        border-color: #60a5fa;
        background-color: #1f2937;
    }

    .docs-nav-label {
        color: #9ca3af;
    }

    .docs-nav-title {
        color: #f3f4f6;
    }

    .docs-nav-button:hover .docs-nav-title {
        color: #60a5fa;
    }

    .docs-nav-arrow {
        color: #6b7280;
    }

    .docs-nav-button:hover .docs-nav-arrow {
        color: #60a5fa;
    }
}
