:root {
            --primary-color: #4361ee;
            --secondary-color: #3f37c9;
            --accent-color: #4cc9f0;
            --text-color: #333;
            --light-bg: #f8f9fa;
            --dark-bg: #212529;
            --code-bg: #2d2d2d;
            --border-color: #e9ecef;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            color: var(--text-color);
            background-color: var(--light-bg);
            scroll-padding-top: 70px; /* Added scroll padding to handle fixed header */
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
        }

        .navbar-brand span {
            color: var(--primary-color);
        }

        .sidebar {
            height: calc(100vh - 56px);
            overflow-y: auto;
            position: sticky;
            top: 56px;
            border-right: 1px solid var(--border-color);
            padding: 1.5rem 0;
        }

        .sidebar .nav-link {
            padding: 0.5rem 1rem;
            color: #495057;
            border-radius: 0.25rem;
            margin: 0.2rem 0;
            font-size: 0.95rem;
        }

        .sidebar .nav-link:hover {
            background-color: rgba(67, 97, 238, 0.1);
        }

        .sidebar .nav-link.active {
            background-color: var(--primary-color);
            color: white;
        }

        .sidebar .nav-pills {
            padding-left: 1rem;
        }

        .sidebar-heading {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #6c757d;
            font-weight: 600;
            padding: 0.75rem 1rem 0.25rem;
            margin-top: 0.5rem;
        }

        .content {
            padding: 2rem;
        }

        .content h1 {
            font-weight: 700;
            margin-bottom: 1.5rem;
            font-size: 2.5rem;
        }

        .content h2 {
            font-weight: 600;
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--border-color);
        }

        .content h3 {
            font-weight: 600;
            margin-top: 1.5rem;
            margin-bottom: 0.75rem;
        }

        .search-wrapper {
            position: relative;
        }

        .search-wrapper .form-control {
            padding-left: 2.5rem;
            border-radius: 50rem;
            background-color: rgba(0, 0, 0, 0.05);
        }

        .search-wrapper .form-control:focus {
            background-color: white;
            box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
        }

        .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #6c757d;
        }

        .code-block {
            background-color: var(--code-bg);
            border-radius: 0.5rem;
            margin: 1.5rem 0;
            position: relative;
        }

        .code-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 1rem;
            background-color: rgba(0, 0, 0, 0.2);
            border-top-left-radius: 0.5rem;
            border-top-right-radius: 0.5rem;
            color: #e9ecef;
        }

        .code-tabs {
            display: flex;
            gap: 1rem;
        }

        .code-tab {
            padding: 0.25rem 0.5rem;
            cursor: pointer;
            border-radius: 0.25rem;
            font-size: 0.85rem;
        }

        .code-tab.active {
            background-color: var(--primary-color);
            color: white;
        }

        .code-content {
            padding: 1rem;
            overflow-x: auto;
        }

        .code-footer {
            position: absolute;
            top: 1rem;
            right: 1rem;
        }

        .copy-btn {
            background: transparent;
            border: none;
            color: #adb5bd;
            cursor: pointer;
            padding: 0.25rem 0.5rem;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .copy-btn:hover {
            color: white;
        }

        .method-badge {
            display: inline-block;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            font-weight: 300;
            font-size: 0.45rem;
            margin-right: 0.5rem;
        }

        .method-get {
            background-color: #19A7CE;
            color: white;
        }

        .method-post {
            background-color: #4CAF50;
            color: white;
        }

        .method-put {
            background-color: #FF9800;
            color: white;
        }

        .method-delete {
            background-color: #F44336;
            color: white;
        }

        .endpoint-card {
            border: 1px solid var(--border-color);
            border-radius: 0.5rem;
            margin-bottom: 1.5rem;
            transition: all 0.2s;
        }

        .endpoint-card:hover {
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
            transform: translateY(-2px);
        }

        .endpoint-header {
            padding: 1rem;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            cursor: pointer;
        }

        .endpoint-body {
            padding: 1rem;
        }

        .param-table th {
            font-weight: 600;
            background-color: rgba(0, 0, 0, 0.03);
        }

        .param-required {
            color: #F44336;
            font-weight: 600;
        }

        .param-type {
            color: #6c757d;
            font-size: 0.85rem;
            padding: 0.1rem 0.5rem;
            background-color: rgba(0, 0, 0, 0.05);
            border-radius: 50rem;
        }

        .card-shadow {
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
            border: none;
        }

        .credit-card {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 1.5rem;
            border-radius: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .theme-switch {
            position: relative;
            width: 60px;
            height: 34px;
        }

        .theme-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 26px;
            width: 26px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .slider {
            background-color: var(--primary-color);
        }

        input:checked + .slider:before {
            transform: translateX(26px);
        }

        .toc {
            position: sticky;
            top: 2rem;
            padding: 1rem;
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
        }

        .toc-link {
            display: block;
            padding: 0.25rem 0;
            color: #6c757d;
            text-decoration: none;
            font-size: 0.9rem;
        }

        .toc-link:hover {
            color: var(--primary-color);
        }

        .toc-link.active {
            color: var(--primary-color);
            font-weight: 600;
        }

        .toc-h3 {
            padding-left: 1rem;
            font-size: 0.85rem;
        }

        @media (max-width: 992px) {
            .sidebar {
                height: auto;
                position: relative;
                top: 0;
            }
        }