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

        body {
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .editor-container {
            flex: 1;
            display: grid;
            grid-template-columns: 250px 1fr 400px;
            grid-template-rows: 60px 1fr 40px;
            gap: 2px;
            background: rgba(0, 0, 0, 0.1);
            height: 100vh;
        }

        .header {
            grid-column: 1 / -1;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 15px 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .header h1 {
            color: white;
            font-size: 1.5rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .header-controls {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .sidebar {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 20px;
            overflow-y: auto;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        }

        .editor-area {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .editor-tabs {
            background: rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            padding: 0 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            overflow-x: auto;
        }

        .editor-tab {
            background: rgba(255, 255, 255, 0.05);
            border: none;
            color: rgba(255, 255, 255, 0.7);
            padding: 10px 20px;
            border-radius: 8px 8px 0 0;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-right: 5px;
        }

        .editor-tab:hover {
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.9);
        }

        .editor-tab.active {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            border-bottom: 2px solid #ff6b6b;
        }

        .tab-close {
            background: none;
            border: none;
            color: inherit;
            font-size: 0.7rem;
            cursor: pointer;
            padding: 2px;
            border-radius: 50%;
            width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .tab-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .editor-wrapper {
            flex: 1;
            position: relative;
            overflow: hidden;
        }

        .code-editor {
            width: 100%;
            height: 100%;
            background: #1e1e1e;
            color: #d4d4d4;
            border: none;
            outline: none;
            resize: none;
            font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
            font-size: 14px;
            line-height: 1.5;
            padding: 20px;
            tab-size: 4;
            white-space: pre;
            overflow-wrap: normal;
            overflow: auto;
        }

        .line-numbers {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 50px;
            background: #252526;
            color: #858585;
            font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
            font-size: 14px;
            line-height: 1.5;
            padding: 20px 10px;
            border-right: 1px solid #3e3e42;
            user-select: none;
            overflow: hidden;
        }

        .preview-area {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            display: flex;
            flex-direction: column;
            box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        }

        .preview-header {
            background: rgba(0, 0, 0, 0.1);
            padding: 10px 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .preview-title {
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .preview-content {
            flex: 1;
            background: white;
            overflow: auto;
        }

        .preview-iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .btn {
            background: linear-gradient(135deg, #ff6b6b, #ee5a24);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(238, 90, 36, 0.4);
        }

        .btn.secondary {
            background: linear-gradient(135deg, #4ecdc4, #44a08d);
            box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
        }

        .btn.secondary:hover {
            box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
        }

        .btn.small {
            padding: 6px 12px;
            font-size: 0.75rem;
        }

        .file-tree {
            margin-bottom: 20px;
        }

        .file-tree h3 {
            color: white;
            font-size: 1rem;
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        }

        .file-item {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            padding: 10px;
            margin-bottom: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .file-item:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(5px);
        }

        .file-item.active {
            background: rgba(255, 107, 107, 0.2);
            border-color: #ff6b6b;
        }

        .file-icon {
            font-size: 1rem;
            width: 16px;
            text-align: center;
        }

        .file-name {
            color: white;
            font-size: 0.85rem;
            font-weight: 600;
            flex: 1;
        }

        .language-selector {
            margin-bottom: 20px;
        }

        .language-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .language-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            padding: 8px;
            border-radius: 6px;
            font-size: 0.75rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .language-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .language-btn.active {
            background: #ff6b6b;
            border-color: #ff6b6b;
        }

        .tools-panel {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 20px;
        }

        .tool-group {
            margin-bottom: 15px;
        }

        .tool-group h4 {
            color: white;
            font-size: 0.85rem;
            margin-bottom: 10px;
        }

        .tool-buttons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .status-bar {
            grid-column: 1 / -1;
            background: rgba(0, 0, 0, 0.2);
            color: white;
            padding: 5px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.75rem;
        }

        .status-left, .status-right {
            display: flex;
            gap: 15px;
        }

        .console-panel {
            background: #1e1e1e;
            color: #d4d4d4;
            font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;
            font-size: 12px;
            padding: 15px;
            height: 150px;
            overflow-y: auto;
            border-top: 1px solid #3e3e42;
            display: none;
        }

        .console-panel.show {
            display: block;
        }

        .console-line {
            margin-bottom: 5px;
            padding: 2px 0;
        }

        .console-error {
            color: #f48771;
        }

        .console-warn {
            color: #dcdcaa;
        }

        .console-info {
            color: #9cdcfe;
        }

        .autocomplete-popup {
            position: absolute;
            background: #252526;
            border: 1px solid #3e3e42;
            border-radius: 4px;
            max-height: 200px;
            overflow-y: auto;
            z-index: 1000;
            display: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .autocomplete-item {
            padding: 8px 12px;
            color: #d4d4d4;
            cursor: pointer;
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .autocomplete-item:hover,
        .autocomplete-item.selected {
            background: #094771;
        }

        .autocomplete-icon {
            width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
        }

        .syntax-highlight {
            /* JavaScript/TypeScript */
        }

        .keyword {
            color: #569cd6;
            font-weight: 600;
        }

        .string {
            color: #ce9178;
        }

        .number {
            color: #b5cea8;
        }

        .comment {
            color: #6a9955;
            font-style: italic;
        }

        .function {
            color: #dcdcaa;
        }

        .variable {
            color: #9cdcfe;
        }

        .operator {
            color: #d4d4d4;
        }

        /* HTML */
        .tag {
            color: #569cd6;
        }

        .attribute {
            color: #92c5f7;
        }

        .attribute-value {
            color: #ce9178;
        }

        /* CSS */
        .property {
            color: #9cdcfe;
        }

        .value {
            color: #ce9178;
        }

        .selector {
            color: #d7ba7d;
        }

        @media (max-width: 1024px) {
            .editor-container {
                grid-template-columns: 200px 1fr 300px;
            }
        }

        @media (max-width: 768px) {
            .editor-container {
                grid-template-columns: 1fr;
                grid-template-rows: 60px 1fr 200px 40px;
            }

            .sidebar {
                order: 3;
                max-height: 200px;
            }

            .preview-area {
                order: 2;
            }
        }

        .minimap {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 100px;
            height: 200px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid #3e3e42;
            border-radius: 4px;
            overflow: hidden;
            font-size: 2px;
            line-height: 1;
            color: #666;
            padding: 2px;
            font-family: monospace;
            display: none;
        }

        .settings-panel {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 20px;
        }

        .setting-group {
            margin-bottom: 12px;
        }

        .setting-label {
            color: white;
            font-size: 0.8rem;
            margin-bottom: 5px;
            display: block;
        }

        .setting-input {
            width: 100%;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            color: white;
            padding: 6px 8px;
            font-size: 0.75rem;
        }

        .setting-select {
            width: 100%;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            color: white;
            padding: 6px 8px;
            font-size: 0.75rem;
        }

        .setting-select option {
            background: #2d2d30;
            color: white;
        }

        .themes-panel {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 20px;
        }

        .theme-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .theme-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            padding: 8px;
            border-radius: 6px;
            font-size: 0.75rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .theme-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .theme-btn.active {
            background: #ff6b6b;
            border-color: #ff6b6b;
        }
    


        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }
        .btn {
            background: #ff6b6b;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            margin: 10px;
        }
        .btn:hover {
            background: #ee5a24;
        }
    


                            body { font-family: Arial, sans-serif; padding: 20px; line-height: 1.6; }
                            h1, h2, h3 { color: #333; }
                            code { background: #f4f4f4; padding: 2px 4px; border-radius: 3px; }
                            pre { background: #f4f4f4; padding: 10px; border-radius: 5px; overflow-x: auto; }
                            blockquote { border-left: 4px solid #ddd; margin: 0; padding-left: 20px; color: #666; }