/* Custom CSS for Scalar API Reference with Blatchford Theme */
        :root {
            --scalar-color-1: #2c3e50;
            --scalar-color-2: #34495e;
            --scalar-color-3: #7f8c8d;
            --scalar-color-accent: #e67e22;
            --scalar-color-accent-hover: #d35400;
            --scalar-background-1: #ffffff;
            --scalar-background-2: #f8f9fa;
            --scalar-background-3: #ecf0f1;
            --scalar-border-color: #dee2e6;
            --scalar-radius: 6px;
            --scalar-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        @media (prefers-color-scheme: dark) {
            :root {
                --scalar-color-1: #ecf0f1;
                --scalar-color-2: #bdc3c7;
                --scalar-color-3: #95a5a6;
                --scalar-background-1: #2c3e50;
                --scalar-background-2: #34495e;
                --scalar-background-3: #1a252f;
                --scalar-border-color: #34495e;
            }
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            padding: 0;
            font-family: var(--scalar-font);
            background: var(--scalar-background-1);
            color: var(--scalar-color-1);
            line-height: 1.6;
        }

        /* Hero Section - Blatchford Theme */
        .hero-section {
            background: linear-gradient(135deg, #2c3e50 0%, #e67e22 100%);
            color: white;
            padding: 3rem 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 700;
            margin: 0 0 1rem 0;
            background: linear-gradient(45deg, #ffffff, #e0e7ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            opacity: 0.9;
            margin: 0 0 2rem 0;
            font-weight: 300;
        }

        .hero-badges {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }

        .badge {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.875rem;
            font-weight: 500;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 0.75rem 2rem;
            border-radius: var(--scalar-radius);
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            cursor: pointer;
            font-size: 1rem;
        }

        .btn-primary {
            background: white;
            color: #667eea;
            border-color: white;
        }

        .btn-primary:hover {
            background: transparent;
            color: white;
            border-color: white;
        }

        .btn-secondary {
            background: transparent;
            color: white;
            border-color: rgba(255, 255, 255, 0.5);
        }

        .btn-secondary:hover {
            background: white;
            color: #667eea;
            border-color: white;
        }

        /* Stats Section */
        .stats-section {
            background: var(--scalar-background-2);
            padding: 2rem 0;
            border-bottom: 1px solid var(--scalar-border-color);
        }

        .stats-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            text-align: center;
        }

        .stat-item {
            padding: 1rem;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--scalar-color-accent);
            margin: 0;
        }

        .stat-label {
            font-size: 0.875rem;
            color: var(--scalar-color-2);
            margin: 0.5rem 0 0 0;
            font-weight: 500;
        }

        /* Documentation Container */
        .docs-container {
            margin: 0 auto;
        }

        .docs-header {
            text-align: center;
            margin-bottom: 3rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid var(--scalar-border-color);
        }

        .docs-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin: 0 0 1rem 0;
            color: var(--scalar-color-1);
        }

        .docs-description {
            font-size: 1.125rem;
            color: var(--scalar-color-2);
            margin: 0;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Scalar Reference Container */
        #scalar-reference {
            background: var(--scalar-background-1);
            border-radius: var(--scalar-radius);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            overflow: hidden;
            min-height: 600px;
        }

        /* Custom Scalar Styling - Blatchford Theme */
        .scalar-api-reference {
            --scalar-color-1: #2c3e50 !important;
            --scalar-color-2: #34495e !important;
            --scalar-color-3: #7f8c8d !important;
            --scalar-color-accent: #e67e22 !important;
            --scalar-background-1: #ffffff !important;
            --scalar-background-2: #f8f9fa !important;
            --scalar-background-3: #ecf0f1 !important;
            --scalar-border-color: #dee2e6 !important;
            --scalar-radius: 6px !important;
            --scalar-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
            
            /* Fix layout and blank space issues */
            width: 100% !important;
            max-width: none !important;
            margin: 0 !important;
            padding: 0 !important;
            min-height: 600px !important;
        }

        /* Fix sidebar and content layout */
        .scalar-api-reference .scalar-layout {
            display: flex !important;
            width: 100% !important;
            min-height: 600px !important;
        }

        .scalar-api-reference .scalar-sidebar {
            flex: 0 0 300px !important;
            min-width: 300px !important;
            max-width: 300px !important;
            background: var(--scalar-background-2) !important;
            border-right: 1px solid var(--scalar-border-color) !important;
        }

        .scalar-api-reference .scalar-content {
            flex: 1 !important;
            width: calc(100% - 300px) !important;
            padding: 1.5rem !important;
            overflow-x: auto !important;
        }

        /* Remove any duplicate or conflicting containers */
        .scalar-api-reference .scalar-container,
        .scalar-api-reference .scalar-wrapper {
            width: 100% !important;
            max-width: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        @media (prefers-color-scheme: dark) {
            .scalar-api-reference {
                --scalar-color-1: #ecf0f1 !important;
                --scalar-color-2: #bdc3c7 !important;
                --scalar-color-3: #95a5a6 !important;
                --scalar-background-1: #2c3e50 !important;
                --scalar-background-2: #34495e !important;
                --scalar-background-3: #1a252f !important;
                --scalar-border-color: #34495e !important;
            }
        }

        @media (max-width: 768px) {
            .scalar-api-reference .scalar-layout {
                flex-direction: column !important;
            }
            
            .scalar-api-reference .scalar-sidebar {
                flex: none !important;
                width: 100% !important;
                max-width: none !important;
                min-width: auto !important;
            }
            
            .scalar-api-reference .scalar-content {
                width: 100% !important;
                padding: 1rem !important;
            }
        }

        /* Custom enhancements */
        .scalar-api-reference .scalar-content {
            border-radius: var(--scalar-radius);
        }

        .scalar-api-reference h1 {
            background: linear-gradient(135deg, var(--scalar-color-accent), #8b5cf6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .scalar-api-reference .operation {
            border-radius: var(--scalar-radius);
            border: 1px solid var(--scalar-border-color);
            margin-bottom: 1rem;
            transition: all 0.3s ease;
        }

        .scalar-api-reference .operation:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        /* Loading Animation */
        .loading-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 400px;
            color: var(--scalar-color-2);
        }

        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 3px solid var(--scalar-background-3);
            border-top-color: var(--scalar-color-accent);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 1rem;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2rem;
            }

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

            .docs-container {
                padding: 1rem;
            }

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

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

            .stat-number {
                font-size: 2rem;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }

            .btn {
                width: 100%;
                max-width: 300px;
            }
        }

        /* Footer */
        .footer {
            background: var(--scalar-background-2);
            border-top: 1px solid var(--scalar-border-color);
            padding: 2rem 0;
            margin-top: 4rem;
            text-align: center;
            color: var(--scalar-color-2);
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .footer-link {
            color: var(--scalar-color-2);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-link:hover {
            color: var(--scalar-color-accent);
        }

        /* Theme Toggle */
        .theme-toggle {
            position: fixed;
            top: 2rem;
            right: 2rem;
            background: var(--scalar-background-2);
            border: 1px solid var(--scalar-border-color);
            border-radius: 50px;
            padding: 0.5rem;
            cursor: pointer;
            z-index: 1000;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .theme-toggle:hover {
            background: var(--scalar-background-3);
        }

        .theme-toggle-icon {
            display: block;
            width: 20px;
            height: 20px;
            font-size: 16px;
            text-align: center;
        }
    