/**
 * Documentation Styles
 * Modern documentation styling inspired by the template design
 */

/* ============================================
   Prevent Horizontal Scrolling
   ============================================ */

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.documentation-container {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ============================================
   Typography - Modern Font Stack
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

.documentation-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}

/* ============================================
   Global Dark Mode Body Background
   ============================================ */

.dark body,
.dark html {
    background-color: var(--docs-bg) !important;
}

/* ============================================
   CSS Variables for Dark Mode Support
   ============================================ */

:root {
    --docs-bg: #ffffff;
    --docs-text: #0f172a;
    --docs-text-muted: #64748b;
    --docs-border: #e2e8f0;
    --docs-sidebar-bg: #fafbfc;
    --docs-content-bg: #ffffff;
    --docs-header-bg: rgba(255, 255, 255, 0.85);
    --docs-primary: #3b82f6;
    --docs-primary-hover: #2563eb;
    --docs-primary-light: rgba(59, 130, 246, 0.1);
    --docs-code-bg: #0f172a;
    --docs-code-text: #e2e8f0;
    --docs-shadow-sm: rgba(0, 0, 0, 0.05);
    --docs-shadow: rgba(0, 0, 0, 0.1);
    --docs-shadow-lg: rgba(0, 0, 0, 0.15);
    --docs-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --docs-gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.dark {
    --docs-bg: #0f172a;
    --docs-text: #f1f5f9;
    --docs-text-muted: #94a3b8;
    --docs-border: #1e293b;
    --docs-sidebar-bg: #1e293b;
    --docs-content-bg: #0f172a;
    --docs-header-bg: rgba(15, 23, 42, 0.85);
    --docs-primary-light: rgba(59, 130, 246, 0.15);
    --docs-code-bg: #1e293b;
    --docs-code-text: #e2e8f0;
    --docs-shadow-sm: rgba(0, 0, 0, 0.2);
    --docs-shadow: rgba(0, 0, 0, 0.3);
    --docs-shadow-lg: rgba(0, 0, 0, 0.4);
}

/* ============================================
   Page Loader / Loading Screen - Seasonal & Magical
   ============================================ */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Seasonal Background */
.loader-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Snowflakes Animation (Christmas) */
.snowflakes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.snowflake {
    position: absolute;
    color: #ffffff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: snowfall linear infinite;
    opacity: 0.8;
}

@keyframes snowfall {
    0% {
        transform: translateY(-100px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* Sparkles/Magic Particles */
.sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    box-shadow: 0 0 6px #ffd700, 0 0 12px #ffd700;
    animation: sparkleFloat 3s ease-in-out infinite;
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 1;
    }
}

/* Content */
.page-loader-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.page-loader-logo {
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

.page-loader-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.page-loader-icon {
    font-size: 80px;
    animation: magicalBounce 2s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
    position: relative;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 2s ease-in-out infinite;
    z-index: 1;
}

.page-loader-text {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    animation: textShimmer 3s ease-in-out infinite;
    margin-bottom: 8px;
}

.page-loader-subtitle {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 8px;
    opacity: 0.8;
}

.page-loader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.spinner-ring {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6), 0 0 20px rgba(59, 130, 246, 0.4);
    animation: magicalPulse 1.4s ease-in-out infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: 0s;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6), 0 0 20px rgba(239, 68, 68, 0.4);
}

.spinner-ring:nth-child(2) {
    animation-delay: 0.2s;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.6), 0 0 20px rgba(34, 197, 94, 0.4);
}

.spinner-ring:nth-child(3) {
    animation-delay: 0.4s;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6), 0 0 20px rgba(59, 130, 246, 0.4);
}

/* Seasonal Themes */
.page-loader.christmas {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #0f172a 60%, #1e293b 100%);
}

.page-loader.christmas .page-loader-text {
    background: linear-gradient(135deg, #ef4444 0%, #22c55e 50%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-loader.christmas .page-loader-subtitle::before {
    content: "🎄 Merry Christmas! 🎅";
}

/* Spring Theme */
.page-loader.spring {
    background: linear-gradient(135deg, #fef3c7 0%, #dbeafe 50%, #fce7f3 100%);
}

.page-loader.spring .page-loader-subtitle::before {
    content: "🌸 Spring is here! 🌺";
}

/* Summer Theme */
.page-loader.summer {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fbbf24 100%);
}

.page-loader.summer .page-loader-subtitle::before {
    content: "☀️ Summer Vibes! 🌊";
}

/* Fall/Autumn Theme */
.page-loader.fall {
    background: linear-gradient(135deg, #78350f 0%, #92400e 50%, #b45309 100%);
}

.page-loader.fall .page-loader-subtitle::before {
    content: "🍂 Fall Colors! 🍁";
}

/* Dark mode support */
.dark .page-loader {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes magicalBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(-5deg) scale(1.05);
    }
    50% {
        transform: translateY(-20px) rotate(0deg) scale(1.1);
    }
    75% {
        transform: translateY(-10px) rotate(5deg) scale(1.05);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.3;
    }
}

@keyframes textShimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

@keyframes magicalPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

/* ============================================
   Documentation Container
   ============================================ */

.documentation-container {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--docs-bg);
    color: var(--docs-text);
    min-height: 100vh;
    transition: background-color 0.2s, color 0.2s;
    overflow-x: hidden;
}

/* Ensure body background matches in dark mode */
.dark body {
    background-color: var(--docs-bg) !important;
}

.dark .documentation-container {
    background: var(--docs-bg);
}

.documentation-container > * {
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* ============================================
   Documentation Header (Fixed)
   ============================================ */

.docs-header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--docs-header-bg);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--docs-border);
    height: 64px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px var(--docs-shadow-sm);
    transition: all 0.3s ease;
}

.dark .docs-header-fixed {
    border-bottom-color: var(--docs-border);
}

.docs-header-inner {
    max-width: 90vw;
    margin: 0 auto;
    width: 100%;
    padding: 0 2%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    overflow: visible;
}

.docs-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 0 1 auto;
    overflow: hidden;
}

.docs-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--docs-text);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.docs-menu-toggle:hover {
    background: var(--docs-border);
}

.docs-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--docs-text);
    text-decoration: none;
    transition: color 0.2s;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.01em;
}

.docs-brand-icon {
    width: 32px;
    height: 32px;
    background: var(--docs-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.docs-brand:hover .docs-brand-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.docs-version {
    font-size: 11px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--docs-primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.docs-version:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.dark .docs-version {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.dark .docs-version:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.15) 100%);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.docs-search-container {
    flex: 1;
    max-width: 448px;
    margin: 0 32px;
    position: relative;
    z-index: 1000;
    overflow: visible;
}

.docs-search-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.docs-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--docs-text-muted);
    font-size: 18px;
}

.docs-search-input {
    width: 100%;
    padding: 10px 12px 10px 40px;
    background: var(--docs-border);
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--docs-text);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-search-input::placeholder {
    color: var(--docs-text-muted);
}

.docs-search-input:focus {
    outline: none;
    background: var(--docs-bg);
    border-color: var(--docs-primary);
    box-shadow: 0 0 0 3px var(--docs-primary-light);
    transform: translateY(-1px);
}

.dark .docs-search-input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.docs-search-kbd {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 4px;
}

.docs-kbd-key {
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    background: var(--docs-bg);
    border: 1px solid var(--docs-border);
    border-radius: 4px;
    color: var(--docs-text-muted);
    box-shadow: 0 1px 2px var(--docs-shadow);
}

/* Search Results Dropdown */
.docs-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--docs-bg);
    border: 1px solid var(--docs-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--docs-shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    z-index: 10001 !important;
    display: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.docs-search-results.active {
    display: block !important;
}

.docs-search-result-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--docs-border);
    cursor: pointer;
    transition: background-color 0.15s;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.docs-search-result-item:last-child {
    border-bottom: none;
}

.docs-search-result-item:hover,
.docs-search-result-item.selected {
    background: var(--docs-primary-light);
}

.docs-search-result-title {
    font-weight: 600;
    font-size: 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--docs-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.docs-search-result-title .docs-search-result-icon {
    font-size: 16px;
    opacity: 0.7;
}

.docs-search-result-section {
    font-size: 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--docs-text-muted);
    margin-left: 24px;
}

.docs-search-result-snippet {
    font-size: 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--docs-text-muted);
    margin-left: 24px;
    margin-top: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.docs-search-result-item .highlight {
    background: var(--docs-primary-light);
    color: var(--docs-primary);
    font-weight: 600;
    padding: 0 2px;
    border-radius: 2px;
}

.docs-search-no-results {
    padding: 24px;
    text-align: center;
    color: var(--docs-text-muted);
    font-size: 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.docs-search-loading {
    padding: 24px;
    text-align: center;
    color: var(--docs-text-muted);
    font-size: 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.docs-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
    min-width: 0;
}

.docs-header-link {
    color: var(--docs-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    transition: color 0.2s;
    display: none;
    padding: 6px 12px;
    border-radius: 6px;
    position: relative;
}

.docs-header-link:hover {
    color: var(--docs-primary);
    background: var(--docs-primary-light);
}

.docs-header-link.visible {
    display: block;
}

/* Active state for current page */
.docs-header-link.active {
    color: var(--docs-primary);
    background: var(--docs-primary-light);
}

.docs-theme-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--docs-text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.docs-theme-toggle:hover {
    color: var(--docs-primary);
    background: var(--docs-border);
}

/* ============================================
   Documentation Layout
   ============================================ */

.docs-layout-wrapper {
    display: flex;
    align-items: flex-start;
    padding-top: 64px;
    min-height: calc(100vh - 64px);
    max-width: 90vw;
    margin: 0 auto;
    width: 100%;
    padding-left: 2%;
    padding-right: 2%;
    box-sizing: border-box;
    gap: 32px;
    overflow-x: hidden;
    min-width: 0;
    position: relative;
}

/* ============================================
   Sidebar Navigation
   ============================================ */

.docs-sidebar {
    width: 280px;
    min-width: 240px;
    flex-shrink: 0;
    background: var(--docs-sidebar-bg);
    border-right: 1px solid var(--docs-border);
    border-radius: 0 16px 16px 0;
    position: fixed;
    top: 64px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 40px 20px 40px 24px;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 900;
    box-shadow: 2px 0 12px var(--docs-shadow-sm);
}

.dark .docs-sidebar {
    border-right-color: var(--docs-border);
}

@media (min-width: 1024px) {
    .docs-sidebar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 64px !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        height: fit-content !important;
        max-height: calc(100vh - 64px) !important;
        min-height: 0 !important;
        transform: translateX(0) !important;
        width: 260px !important;
        min-width: 220px !important;
        align-self: flex-start !important;
        z-index: 100 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    
    .docs-layout-wrapper {
        position: relative !important;
        align-items: flex-start !important;
    }
    
    .docs-main {
        flex: 1;
        min-width: 0;
    }
}

@media (min-width: 1400px) {
    .docs-sidebar {
        width: 280px;
        min-width: 260px;
    }
}

.docs-sidebar.open {
    transform: translateX(0);
}

.docs-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 800;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.docs-sidebar-overlay.active {
    display: block;
}

.docs-nav-section {
    margin-bottom: 40px;
    position: relative;
}

.docs-nav-section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 12px;
    right: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--docs-border) 20%, var(--docs-border) 80%, transparent 100%);
    opacity: 0.5;
}

.docs-nav-section:last-child {
    margin-bottom: 0;
}

.docs-nav-title {
    font-size: 11px;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--docs-text-muted);
    margin-bottom: 16px;
    padding-left: 12px;
    position: relative;
    opacity: 0.8;
}

.docs-nav-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 12px;
    background: var(--docs-primary);
    border-radius: 4px;
    opacity: 0.6;
}

.docs-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-nav-item {
    margin-bottom: 2px;
}

.docs-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 10px 16px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--docs-text);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: -0.01em;
    margin-left: -4px;
}

.docs-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    height: 0;
    background: var(--docs-primary);
    border-radius: 0 6px 6px 0;
    transition: height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.docs-nav-link:hover {
    background: var(--docs-primary-light);
    color: var(--docs-primary);
    padding-left: 20px;
    transform: translateX(2px);
}

.docs-nav-link:hover::before {
    height: 60%;
    opacity: 1;
    top: 20%;
}

.docs-nav-item.active .docs-nav-link {
    background: linear-gradient(90deg, var(--docs-primary-light) 0%, rgba(59, 130, 246, 0.05) 100%);
    color: var(--docs-primary);
    font-weight: 600;
    padding-left: 20px;
    box-shadow: 0 1px 3px rgba(59, 130, 246, 0.1);
}

.docs-nav-item.active .docs-nav-link::before {
    height: 100%;
    opacity: 1;
    top: 0;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.docs-nav-arrow {
    font-size: 16px;
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 8px;
    font-weight: 600;
    color: var(--docs-primary);
}

.docs-nav-link:hover .docs-nav-arrow {
    opacity: 0.6;
    transform: translateX(2px);
}

.docs-nav-item.active .docs-nav-arrow {
    opacity: 1;
    color: var(--docs-primary);
    transform: translateX(0);
}

/* ============================================
   Main Content Area
   ============================================ */

.docs-main {
    flex: 1;
    min-width: 0;
    padding: 40px 0;
    margin-left: 0;
    transition: margin-left 0.3s;
    max-width: 100%;
    overflow-x: hidden;
}

.docs-breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--docs-text-muted);
    margin-bottom: 24px;
}

.docs-breadcrumb-separator {
    margin: 0 8px;
    font-size: 12px;
}

.docs-breadcrumb-current {
    color: var(--docs-text);
    font-weight: 500;
}

.docs-content {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.docs-content h1 {
    font-size: 2.75em;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 0;
    color: var(--docs-text);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.docs-content .lead {
    font-size: 1.25em;
    color: var(--docs-text-muted);
    margin-bottom: 32px;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.docs-content h2 {
    font-size: 2em;
    font-weight: 600;
    margin-top: 56px;
    margin-bottom: 20px;
    color: var(--docs-text);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--docs-border);
    letter-spacing: -0.02em;
    scroll-margin-top: 80px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.docs-content h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--docs-text);
    letter-spacing: -0.01em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.docs-content h4 {
    font-size: 1.25em;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--docs-text);
}

.docs-content p {
    margin-bottom: 20px;
    line-height: 1.75;
    color: var(--docs-text);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

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

.docs-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--docs-text);
}

/* ============================================
   Info Boxes
   ============================================ */

.docs-info-box {
    padding: 20px;
    margin: 32px 0;
    border-left: 4px solid var(--docs-primary);
    border-radius: 0 10px 10px 0;
    background: var(--docs-primary-light);
    box-shadow: 0 2px 8px var(--docs-shadow-sm);
    transition: all 0.2s ease;
}

.docs-info-box:hover {
    box-shadow: 0 4px 12px var(--docs-shadow);
    transform: translateX(2px);
}

.docs-info-box-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.docs-info-icon {
    font-size: 20px;
    color: var(--docs-primary);
    flex-shrink: 0;
}

.docs-info-content p {
    margin-bottom: 8px;
    font-size: 14px;
}

.docs-info-title {
    font-weight: 700;
    color: var(--docs-text);
    margin-bottom: 4px;
}

/* ============================================
   Code Blocks
   ============================================ */

.docs-code-wrapper {
    position: relative;
    margin: 24px 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.docs-code-block {
    background: var(--docs-code-bg);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 16px var(--docs-shadow-lg);
    border: 1px solid var(--docs-border);
    max-width: 100%;
    min-width: 0;
}

.dark .docs-code-block {
    border: none;
}

.docs-code-copy {
    position: absolute;
    top: 12px;
    right: 12px;
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--docs-code-text);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transform: translateY(-4px);
}

.dark .docs-code-copy {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.docs-code-wrapper:hover .docs-code-copy {
    opacity: 1;
    transform: translateY(0);
}

.docs-code-copy:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.dark .docs-code-copy:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

.docs-code-copy:active {
    transform: scale(0.95);
}

.docs-code-block pre {
    margin: 0;
    padding: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    color: var(--docs-code-text);
    font-family: 'SF Mono', 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    max-width: 100%;
    word-wrap: normal;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
}

.docs-code-block pre code {
    display: block;
    overflow-x: auto;
    max-width: 100%;
}

.docs-code-block pre::-webkit-scrollbar {
    height: 8px;
}

.docs-code-block pre::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.dark .docs-code-block pre::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.docs-code-block pre::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.dark .docs-code-block pre::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
}

.docs-code-block pre::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.dark .docs-code-block pre::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.docs-code-block code {
    color: var(--docs-code-text);
    background: transparent;
    padding: 0;
}

/* Inline Code */
.docs-content code:not(.docs-code-block code) {
    background: var(--docs-border);
    color: var(--docs-primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 0.9em;
    border: none;
}

.dark .docs-content code:not(.docs-code-block code) {
    background: rgba(255, 255, 255, 0.1);
    color: #60a5fa;
}

/* ============================================
   Tables
   ============================================ */

.docs-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    background: var(--docs-bg);
    border: 1px solid var(--docs-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--docs-shadow-sm);
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.docs-content table thead,
.docs-content table tbody,
.docs-content table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.dark .docs-content table {
    border-color: var(--docs-border);
}

.docs-content table th,
.docs-content table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--docs-border);
}

.docs-content table th {
    background: var(--docs-sidebar-bg);
    font-weight: 700;
    color: var(--docs-text);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    padding: 16px;
}

.docs-content table td {
    color: var(--docs-text);
}

.docs-content table tbody tr:last-child td {
    border-bottom: none;
}

.docs-content table tbody tr {
    transition: background-color 0.2s ease;
}

.docs-content table tbody tr:hover {
    background: var(--docs-primary-light);
}

/* ============================================
   Images
   ============================================ */

.docs-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 24px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--docs-shadow-sm);
}

.docs-content p img,
.docs-content figure img {
    margin: 16px 0;
}

.docs-content figure {
    margin: 24px 0;
    max-width: 100%;
}

.docs-content figure figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: var(--docs-text-muted);
    text-align: center;
}

/* ============================================
   Navigation Footer
   ============================================ */

.docs-nav-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--docs-border);
    display: flex;
    justify-content: space-between;
}

/* Documentation Footer Styling */
.docs-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--docs-border);
    background: var(--docs-bg);
}

.docs-footer .container {
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 2%;
}

.docs-footer hr {
    border-color: var(--docs-border);
    margin-bottom: 24px;
}

.docs-footer p {
    color: var(--docs-text-muted);
    font-size: 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.docs-footer p .docs-version {
    margin: 0 2px;
}

.docs-nav-next {
    text-align: right;
    text-decoration: none;
    color: var(--docs-text);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 16px;
    border-radius: 8px;
    display: inline-block;
}

.docs-nav-next:hover {
    color: var(--docs-primary);
    background: var(--docs-primary-light);
    transform: translateX(-4px);
}

.docs-nav-next-label {
    font-size: 12px;
    color: var(--docs-text-muted);
    margin-bottom: 4px;
}

.docs-nav-next-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.docs-nav-arrow-icon {
    transition: transform 0.2s;
}

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

/* ============================================
   Table of Contents Sidebar
   ============================================ */

.docs-toc {
    width: 240px;
    min-width: 200px;
    flex-shrink: 0;
    padding: 40px 0 40px 24px;
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

@media (min-width: 1400px) {
    .docs-toc {
        width: 260px;
        min-width: 240px;
    }
}

.docs-toc-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--docs-text);
    margin-bottom: 16px;
}

.docs-toc-nav {
    border-left: 1px solid var(--docs-border);
}

.dark .docs-toc-nav {
    border-left-color: var(--docs-border);
}

.docs-toc-link {
    display: block;
    padding: 10px 0 10px 16px;
    font-size: 14px;
    color: var(--docs-text-muted);
    text-decoration: none;
    border-left: 3px solid transparent;
    margin-left: -2px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.docs-toc-link:hover {
    color: var(--docs-text);
    padding-left: 20px;
}

.docs-toc-link.active {
    border-left-color: var(--docs-primary);
    color: var(--docs-primary);
    font-weight: 600;
    padding-left: 20px;
    background: var(--docs-primary-light);
    border-radius: 0 6px 6px 0;
}

.docs-toc-sub {
    margin-left: 8px;
    margin-top: 8px;
}

.docs-toc-sub .docs-toc-link {
    font-size: 12px;
    padding: 4px 0 4px 16px;
}

.docs-help-box {
    margin-top: 40px;
    padding: 20px;
    background: var(--docs-sidebar-bg);
    border-radius: 10px;
    border: 1px solid var(--docs-border);
    box-shadow: 0 2px 8px var(--docs-shadow-sm);
    transition: all 0.2s ease;
}

.dark .docs-help-box {
    border-color: var(--docs-border);
}

.docs-help-box:hover {
    box-shadow: 0 4px 12px var(--docs-shadow);
    transform: translateY(-2px);
}

.docs-help-title {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--docs-text);
}

.docs-help-text {
    font-size: 12px;
    color: var(--docs-text-muted);
    margin-bottom: 12px;
}

.docs-help-button {
    width: 100%;
    padding: 10px 16px;
    background: var(--docs-primary);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.docs-help-button:hover {
    background: var(--docs-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.docs-help-button:active {
    transform: translateY(0);
}

/* ============================================
   Existing Documentation Elements
   ============================================ */

.intro-box {
    background: var(--docs-gradient-primary);
    color: white;
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.intro-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.intro-box p {
    color: white;
    font-size: 1.1em;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.feature-box {
    background: var(--docs-bg);
    padding: 28px 24px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--docs-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dark .feature-box {
    border-color: var(--docs-border);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--docs-gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    border-color: var(--docs-primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 24px var(--docs-shadow-lg);
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 16px;
}

.feature-box h4 {
    margin-bottom: 12px;
    color: var(--docs-text);
}

.feature-box p {
    color: var(--docs-text-muted);
    font-size: 0.9em;
    margin: 0;
}

.stats-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-item {
    background: var(--docs-gradient-success);
    color: white;
    padding: 28px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(79, 172, 254, 0.5);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.9;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (min-width: 1024px) {
    .docs-main {
        margin-left: 0;
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .docs-menu-toggle {
        display: none !important;
    }
    
    .docs-sidebar-overlay {
        display: none !important;
    }
    
    .docs-layout-wrapper {
        gap: 40px;
    }
}

@media (min-width: 1400px) {
    .docs-layout-wrapper {
        gap: 48px;
    }
}

@media (max-width: 1023px) {
    .docs-menu-toggle {
        display: block;
    }
    
    .docs-toc {
        display: none;
    }
    
    .docs-search-container {
        display: none;
    }
    
    .docs-header-link {
        display: none;
    }
    
    .docs-header-inner {
        padding: 0 16px;
        gap: 12px;
    }
    
    .docs-header-left {
        flex: 0 0 auto;
        min-width: 0;
        gap: 12px;
    }
    
    .docs-header-right {
        flex: 0 0 auto;
        min-width: 0;
        gap: 8px;
    }
    
    .docs-brand {
        font-size: 18px;
    }
    
    .docs-brand span {
        white-space: nowrap;
    }
    
    .docs-version {
        font-size: 10px;
        padding: 4px 8px;
        white-space: nowrap;
    }
    
    .docs-theme-toggle {
        flex-shrink: 0;
        padding: 6px;
    }
    
    .docs-layout-wrapper {
        max-width: 95vw;
        padding-left: 2.5%;
        padding-right: 2.5%;
    }
}

@media (max-width: 768px) {
    .docs-main {
        padding: 24px 0;
    }
    
    .docs-content h1 {
        font-size: 2em;
    }
    
    .docs-content h2 {
        font-size: 1.5em;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-box {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .docs-header-inner {
        padding: 0 12px;
        gap: 8px;
    }
    
    .docs-header-left {
        gap: 8px;
        overflow: hidden;
    }
    
    .docs-brand {
        font-size: 16px;
    }
    
    .docs-brand-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .docs-version {
        display: none;
    }
    
    .docs-header-right {
        gap: 4px;
        flex-shrink: 0;
    }
    
    .docs-theme-toggle {
        padding: 6px;
        font-size: 18px;
    }
    
    .docs-layout-wrapper {
        max-width: 95vw;
        padding-left: 2.5%;
        padding-right: 2.5%;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .docs-header-inner {
        padding: 0 8px;
        gap: 6px;
    }
    
    .docs-header-left {
        gap: 6px;
    }
    
    .docs-menu-toggle {
        padding: 6px;
        font-size: 20px;
    }
    
    .docs-brand {
        font-size: 15px;
    }
    
    .docs-brand-icon {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .docs-header-right {
        gap: 4px;
    }
    
    .docs-theme-toggle {
        padding: 5px;
        font-size: 16px;
    }
    
    .docs-layout-wrapper {
        max-width: 98vw;
        padding-left: 1%;
        padding-right: 1%;
    }
}

/* ============================================
   Custom Scrollbar
   ============================================ */

.docs-sidebar::-webkit-scrollbar,
.docs-toc::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.docs-sidebar::-webkit-scrollbar-track,
.docs-toc::-webkit-scrollbar-track {
    background: transparent;
}

.docs-sidebar::-webkit-scrollbar-thumb,
.docs-toc::-webkit-scrollbar-thumb {
    background: var(--docs-border);
    border-radius: 3px;
}

.docs-sidebar::-webkit-scrollbar-thumb:hover,
.docs-toc::-webkit-scrollbar-thumb:hover {
    background: var(--docs-text-muted);
}
