 :root {
            --primary-color: hsl(238, 57%, 11%);
            --primary-dark: #4f46e5;
            --secondary-color: #10b981;
            --accent-color: #f59e0b;
            --danger-color: #ef4444;
            --warning-color: #f97316;
            --background: #ffffff;
            --surface: #f8fafc;
            --surface-hover: #f1f5f9;
            --border: #e2e8f0;
            --border-light: #f1f5f9;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --text-muted: #94a3b8;
            --code-bg: #0f172a;
            --code-surface: #1e293b;
            --sidebar-width: 320px;
            --header-height: 80px;
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
            --radius: 8px;
            --radius-lg: 12px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: calc(var(--header-height) + 2rem);
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background: var(--background);
            overflow-x: hidden;
        }

        /* Sidebar */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            height: 100vh;
            width: var(--sidebar-width);
            background: var(--surface);
            border-right: 1px solid var(--border);
            z-index: 1000;
            overflow-y: auto;
            transform: translateX(0);
            transition: transform 0.3s ease;
        }

        .sidebar-header {
            padding: 2rem 1.5rem;
            border-bottom: 1px solid var(--border);
            background: var(--background);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.25rem;
        }

        .logo-text {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
        }

        .logo-subtitle {
            font-size: 0.875rem;
            color: var(--text-secondary);
            margin-top: 0.25rem;
        }

        .nav-menu {
            padding: 1.5rem 0;
        }

        .nav-section {
            margin-bottom: 2rem;
        }

        .nav-section-title {
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--text-muted);
            padding: 0 1.5rem;
            margin-bottom: 0.75rem;
        }

        .nav-group {
            margin-bottom: 1rem;
        }

        .nav-group-toggle {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1.5rem;
            cursor: pointer;
            transition: all 0.2s ease;
            font-weight: 500;
            color: var(--text-primary);
        }

        .nav-group-toggle:hover {
            background: var(--surface-hover);
        }

        .nav-group-icon {
            width: 20px;
            height: 20px;
            color: var(--primary-color);
        }

        .nav-group-chevron {
            width: 16px;
            height: 16px;
            margin-left: auto;
            transition: transform 0.2s ease;
        }

        .nav-group.expanded .nav-group-chevron {
            transform: rotate(90deg);
        }

        .nav-items {
            display: none;
            padding-left: 1rem;
        }

        .nav-group.expanded .nav-items {
            display: block;
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.625rem 1.5rem;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 0.875rem;
            color: var(--text-secondary);
            border-left: 2px solid transparent;
        }

        .nav-item:hover {
            background: var(--surface-hover);
            color: var(--text-primary);
        }

        .nav-item.active {
            background: var(--surface-hover);
            color: var(--primary-color);
            border-left-color: var(--primary-color);
        }

        .method-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.025em;
            min-width: 50px;
        }

        .method-get {
            background: #dcfdf7;
            color: #065f46;
        }

        .method-post {
            background: #dbeafe;
            color: #1e40af;
        }

        .method-put {
            background: #fef3c7;
            color: #92400e;
        }

        .method-delete {
            background: #fee2e2;
            color: #991b1b;
        }

        /* Mobile menu button */
        .mobile-menu-btn {
            display: none;
            position: fixed;
            top: 1.25rem;
            left: 1.25rem;
            z-index: 1001;
            background: var(--background);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 0.75rem;
            cursor: pointer;
            box-shadow: var(--shadow-md);
        }

        /* Main content */
        .main-content {
            margin-left: var(--sidebar-width);
            min-height: 100vh;
        }

        .content-header {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: white;
            padding: 3rem 2rem;
            position: relative;
            overflow: hidden;
        }

        .content-header::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.1;
        }

        .content-header-content {
            position: relative;
            z-index: 1;
            max-width: 1200px;
            margin: 0 auto;
        }

        .content-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .content-subtitle {
            font-size: 1.25rem;
            opacity: 0.9;
            margin-bottom: 2rem;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .stat-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            text-align: center;
        }

        .stat-number {
            display: block;
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: 0.875rem;
            opacity: 0.8;
        }

        /* Content sections */
        .content-body {
            padding: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .endpoint-section {
            background: var(--background);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            margin-bottom: 2rem;
            overflow: hidden;
        }

        .endpoint-header {
            padding: 2rem;
            border-bottom: 1px solid var(--border);
            background: var(--surface);
        }

        .endpoint-title {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .endpoint-title h2 {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .endpoint-description {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
        }

        .postman-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: #ff6c37;
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .postman-btn:hover {
            background: #e55a2b;
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }

        .endpoint-content {
            padding: 2rem;
        }

        .code-block {
            background: var(--code-bg);
            border-radius: var(--radius);
            margin: 1.5rem 0;
            overflow: hidden;
        }

        .code-header {
            background: var(--code-surface);
            padding: 1rem 1.5rem;
            border-bottom: 1px solid #374151;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .code-lang {
            color: #9ca3af;
            font-size: 0.875rem;
            font-weight: 500;
        }

        .copy-btn {
            background: transparent;
            border: 1px solid #374151;
            color: #9ca3af;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.75rem;
            transition: all 0.2s ease;
        }

        .copy-btn:hover {
            background: #374151;
            color: white;
        }

        pre {
            margin: 0;
            padding: 1.5rem;
            background: var(--code-bg);
            color: #e5e7eb;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.875rem;
            line-height: 1.6;
            overflow-x: auto;
        }

        code {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.875rem;
        }

        .params-section {
            margin: 2rem 0;
        }

        .params-title {
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        .params-table {
            width: 100%;
            border-collapse: collapse;
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid var(--border);
        }

        .params-table th {
            background: var(--surface);
            padding: 1rem;
            text-align: left;
            font-weight: 600;
            color: var(--text-primary);
            border-bottom: 1px solid var(--border);
        }

        .params-table td {
            padding: 1rem;
            border-bottom: 1px solid var(--border-light);
            color: var(--text-secondary);
        }

        .params-table tr:last-child td {
            border-bottom: none;
        }

        .param-type {
            display: inline-block;
            background: var(--surface);
            color: var(--text-secondary);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 500;
            font-family: 'JetBrains Mono', monospace;
        }

        /* Error section */
        .error-section {
            background: var(--background);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            padding: 2rem;
            margin-top: 3rem;
        }

        .error-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        /* Responsive design */
        @media (max-width: 1024px) {
            .main-content {
                margin-left: 0;
            }

            .sidebar {
                transform: translateX(-100%);
            }

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

            .mobile-menu-btn {
                display: block;
            }

            .content-header {
                padding: 2rem 1rem;
            }

            .content-title {
                font-size: 2rem;
            }

            .content-body {
                padding: 1rem;
            }

            .endpoint-header,
            .endpoint-content {
                padding: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .content-title {
                font-size: 1.75rem;
            }

            .content-subtitle {
                font-size: 1rem;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .endpoint-header,
            .endpoint-content {
                padding: 1rem;
            }

            .endpoint-title {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.75rem;
            }

            .params-table {
                font-size: 0.875rem;
            }

            .params-table th,
            .params-table td {
                padding: 0.75rem;
            }
        }

        @media (max-width: 480px) {
            .sidebar {
                width: 280px;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .params-table {
                font-size: 0.8rem;
            }

            .params-table th,
            .params-table td {
                padding: 0.5rem;
            }
        }

        /* Overlay for mobile */
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
        }

        .overlay.active {
            display: block;
        }

        /* Smooth transitions */
        .sidebar,
        .nav-items,
        .nav-group-chevron {
            transition: all 0.3s ease;
        }

        /* Scroll to top button */
        .scroll-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .scroll-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .scroll-to-top:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }