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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: #0a0a0a;
            color: #e4e4e7;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Animated background */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 50%, rgba(42, 122, 226, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(30, 92, 184, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(42, 122, 226, 0.05) 0%, transparent 50%);
            z-index: -1;
            animation: floatingBg 20s ease-in-out infinite;
        }

        @keyframes floatingBg {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            33% { transform: translateY(-10px) rotate(1deg); }
            66% { transform: translateY(10px) rotate(-1deg); }
        }
        .logo {
    width: 50px; /* or whatever fits */
    height: auto;
    vertical-align: middle;
}

        header {
            background: rgba(15, 15, 15, 0.9);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(42, 122, 226, 0.2);
            padding: 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(42, 122, 226, 0.1), rgba(30, 92, 184, 0.05));
            z-index: -1;
        }

        header h1 {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 800;
            background: linear-gradient(135deg, #2a7ae2, #60a5fa, #3b82f6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.02em;
            animation: slideInGlow 1.2s ease-out;
            position: relative;
        }

        @keyframes slideInGlow {
            0% { 
                transform: translateY(-30px) scale(0.9); 
                opacity: 0; 
                filter: blur(10px);
            }
            100% { 
                transform: translateY(0) scale(1); 
                opacity: 1; 
                filter: blur(0px);
            }
        }

        .container {
            max-width: 1400px;
            margin: 3rem auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            align-items: stretch;
        }

        .panel {
            background: rgba(24, 24, 27, 0.8);
            border: 1px solid rgba(63, 63, 70, 0.4);
            border-radius: 16px;
            padding: 2rem;
            backdrop-filter: blur(10px);
            box-shadow: 
                0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.05);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            min-height: 600px;
            position: relative;
            overflow: hidden;
        }

        .panel::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(42, 122, 226, 0.3), transparent);
        }

        .panel:hover {
            transform: translateY(-2px);
            box-shadow: 
                0 25px 80px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(42, 122, 226, 0.1);
            border-color: rgba(42, 122, 226, 0.3);
        }

        .panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            gap: 1rem;
            min-height: 60px;
        }

        .panel h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #f4f4f5;
            display: flex;
            align-items: center;
            gap: 1rem;
            position: relative;
            margin: 0;
        }

        .panel h2::before {
            content: '';
            width: 4px;
            height: 24px;
            background: linear-gradient(135deg, #2a7ae2, #3b82f6);
            border-radius: 2px;
            box-shadow: 0 0 10px rgba(42, 122, 226, 0.3);
        }

        .run-button {
            background: linear-gradient(135deg, #2a7ae2, #1e5cb8);
            color: white;
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 600;
            font-family: inherit;
            position: relative;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 6px 20px rgba(42, 122, 226, 0.3);
            white-space: nowrap;
        }

        .run-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.6s ease;
        }

        .run-button:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 30px rgba(42, 122, 226, 0.4);
            background: linear-gradient(135deg, #3b82f6, #2563eb);
        }

        .run-button:hover::before {
            left: 100%;
        }

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

        #editor,
        #output {
            background: #111113;
            border: 1px solid rgba(63, 63, 70, 0.4);
            border-radius: 12px;
            padding: 1.5rem;
            font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
            font-size: 14px;
            line-height: 1.7;
            outline: none;
            transition: all 0.3s ease;
            height: 420px;
            width: 100%;
        }

        #editor {
            color: #e4e4e7;
            resize: none;
            background-image: 
                linear-gradient(rgba(42, 122, 226, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(42, 122, 226, 0.03) 1px, transparent 1px);
            background-size: 20px 20px;
        }

        #editor:focus {
            border-color: rgba(42, 122, 226, 0.6);
            box-shadow: 
                0 0 0 3px rgba(42, 122, 226, 0.1),
                inset 0 1px 3px rgba(0, 0, 0, 0.2);
        }

        #output {
            color: #22c55e;
            overflow-y: auto;
            white-space: pre-wrap;
            word-wrap: break-word;
            position: relative;
        }

        #output:empty::before {
            content: 'Output will appear here...';
            color: #71717a;
            font-style: italic;
        }

        .about {
            max-width: 1400px;
            margin: 4rem auto 2rem;
            padding: 0 2rem;
        }

        .about-card {
            background: rgba(24, 24, 27, 0.6);
            border: 1px solid rgba(63, 63, 70, 0.4);
            border-radius: 20px;
            padding: 3rem;
            backdrop-filter: blur(10px);
            box-shadow: 
                0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.05);
            position: relative;
            overflow: hidden;
        }

        .about-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(42, 122, 226, 0.5), transparent);
        }

        .about-card h3 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: #f4f4f5;
            background: linear-gradient(135deg, #2a7ae2, #60a5fa);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .about-card p {
            font-size: 1.1rem;
            color: #d4d4d8;
            line-height: 1.8;
        }

        footer {
            text-align: center;
            padding: 3rem 2rem 2rem;
            color: #a1a1aa;
            font-size: 0.95rem;
            border-top: 1px solid rgba(63, 63, 70, 0.3);
            margin-top: 4rem;
        }

        footer a {
            color: #60a5fa;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        footer a:hover {
            color: #3b82f6;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                grid-template-columns: 1fr;
                margin: 2rem auto;
                gap: 1.5rem;
            }
            
            .panel {
                min-height: 400px;
                padding: 1.5rem;
            }

            .panel-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }

            .run-button {
                align-self: flex-start;
            }
            
            #editor,
            #output {
                height: 320px;
            }
            
            header {
                padding: 1.5rem;
            }
            
            .about-card {
                padding: 2rem;
                margin: 2rem auto;
            }
        }

        /* Scrollbar Styling */
        #editor::-webkit-scrollbar,
        #output::-webkit-scrollbar {
            width: 8px;
        }

        #editor::-webkit-scrollbar-track,
        #output::-webkit-scrollbar-track {
            background: rgba(24, 24, 27, 0.5);
            border-radius: 4px;
        }

        #editor::-webkit-scrollbar-thumb,
        #output::-webkit-scrollbar-thumb {
            background: rgba(42, 122, 226, 0.3);
            border-radius: 4px;
        }

        #editor::-webkit-scrollbar-thumb:hover,
        #output::-webkit-scrollbar-thumb:hover {
            background: rgba(42, 122, 226, 0.5);
        }

        /* Loading state for button */
        .run-button.loading {
            pointer-events: none;
            opacity: 0.7;
        }

        .run-button.loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 16px;
            height: 16px;
            margin: -8px 0 0 -8px;
            border: 2px solid transparent;
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        header {
    display: flex;
    align-items: center; /* vertically center logo and h1 */
    gap: 10px; /* space between logo and text */
    padding: 10px;
}

header .logo {
    width: 50px; /* adjust as needed */
    height: auto; /* maintain aspect ratio */
}

         .nav-tabs {
            display: flex;
            gap: 10px;
            margin: 20px auto;
            max-width: 1400px;
            padding: 0 20px;
        }
        
        .nav-tabs button {
            padding: 12px 24px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .nav-tabs button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
        }
        
        .nav-tabs button.active {
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.6);
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
/*         
        .docs-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .docs-content-wrapper {
            background: white;
            padding: 40px;
            border-radius: 8px;
        }
        
        .docs-title {
            text-align: center;
            font-size: 2.5em;
            color: #667eea;
            margin-bottom: 10px;
        }
        
        .docs-subtitle {
            text-align: center;
            font-size: 1.2em;
            color: #666;
            margin-bottom: 40px;
            font-style: italic;
        }
        
        .docs-section {
            margin-bottom: 40px;
        }
        
        .docs-section h2 {
            color: #667eea;
            font-size: 1.8em;
            margin-bottom: 15px;
            border-bottom: 2px solid #667eea;
            padding-bottom: 10px;
        }
        
        .docs-section h3 {
            color: #764ba2;
            font-size: 1.4em;
            margin-top: 25px;
            margin-bottom: 10px;
        }
        
        .docs-section p {
            line-height: 1.8;
            color: #333;
            margin-bottom: 15px;
        }
        
        .docs-section ul {
            margin-left: 20px;
            line-height: 2;
        }
        
        .docs-section li {
            margin-bottom: 10px;
        }
        
        .keyword {
            background: #f0f0f0;
            padding: 2px 8px;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-weight: bold;
            color: #0000b4;
        }
        
        .code-block {
            background: #f5f5f5;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 20px;
            font-family: 'Courier New', monospace;
            margin: 20px 0;
            overflow-x: auto;
            line-height: 1.6;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .code-block:hover {
            background: #e8e8e8;
            border-color: #667eea;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
            transform: translateY(-2px);
        }
        
        .code-block .comment {
            color: #008000;
            font-style: italic;
        }
        
        .code-block .string {
            color: #a31515;
        }
        
        .code-block .keyword-code {
            color: #0000b4;
            font-weight: bold;
        }
        
        .warning-box {
            background: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
        }
        
        .info-box {
            background: #d1ecf1;
            border-left: 4px solid #0c5460;
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
        }
         */
         .docs-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .docs-content-wrapper {
            background: white;
            padding: 40px;
            border-radius: 8px;
        }
        
        .docs-title {
            text-align: center;
            font-size: 2.5em;
            color: #333;
            margin-bottom: 10px;
        }
        
        .docs-subtitle {
            text-align: center;
            font-size: 1.2em;
            color: #555;
            margin-bottom: 40px;
            font-style: italic;
        }
        
        .docs-section {
            margin-bottom: 40px;
        }
        
        .docs-section h2 {
            color: #333;
            font-size: 1.8em;
            margin-bottom: 15px;
            border-bottom: 2px solid #667eea;
            padding-bottom: 10px;
        }
        
        .docs-section h3 {
            color: #444;
            font-size: 1.4em;
            margin-top: 25px;
            margin-bottom: 10px;
        }
        
        .docs-section p {
            line-height: 1.8;
            color: #333;
            margin-bottom: 15px;
        }
        
        .docs-section ul {
            margin-left: 20px;
            line-height: 2;
        }
        
        .docs-section li {
            margin-bottom: 10px;
            color: #333;
        }
        
        .keyword {
            background: #f0f0f0;
            padding: 2px 8px;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-weight: bold;
            color: #0000b4;
        }
        
        .code-block {
            background: #f5f5f5;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 20px;
            font-family: 'Courier New', monospace;
            margin: 20px 0;
            overflow-x: auto;
            line-height: 1.6;
            transition: all 0.3s ease;
            cursor: pointer;
            color: #333;
            white-space: pre-wrap;
        }
        
        .code-block:hover {
            background: #e8e8e8;
            border-color: #667eea;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
            transform: translateY(-2px);
        }
        
        .code-block .comment {
            color: #008000;
            font-style: italic;
        }
        
        .code-block .string {
            color: #a31515;
        }
        
        .code-block .keyword-code {
            color: #0000b4;
            font-weight: bold;
        }
        
        .warning-box {
            background: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
            color: #333;
        }
    
        
        .info-box {
            background: #d1ecf1;
            border-left: 4px solid #0c5460;
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
        }