/* Enterprise Bootstrap Theme | MIT License | (c) 2026 Priya Vijai Kalyan */
.codeeditor{border:1px solid #cbd5e1;border-radius:0;display:flex;flex-direction:column;font-family:JetBrains Mono,SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;overflow:hidden;position:relative;width:100%}.codeeditor-light{--codeeditor-bg:#f8fafc;--codeeditor-text:#0f172a;--codeeditor-gutter-bg:#f1f5f9;--codeeditor-line-number:#94a3b8;--codeeditor-border:#cbd5e1;--codeeditor-selection:#d0ebff;--codeeditor-cursor:#0f172a;--codeeditor-toolbar-bg:#f1f5f9;--codeeditor-toolbar-border:#cbd5e1;--codeeditor-toolbar-hover:#e2e8f0;--codeeditor-toolbar-active-bg:#d0ebff;--codeeditor-toolbar-active-icon:#1864ab}.codeeditor-light .cm-keyword{color:#d73a49}.codeeditor-light .cm-atom,.codeeditor-light .cm-number{color:#005cc5}.codeeditor-light .cm-string,.codeeditor-light .cm-string2{color:#22863a}.codeeditor-light .cm-variableName{color:#e36209}.codeeditor-light .cm-definition,.codeeditor-light .cm-typeName{color:#6f42c1}.codeeditor-light .cm-propertyName{color:#005cc5}.codeeditor-light .cm-comment{color:#64748b;font-style:italic}.codeeditor-light .cm-meta{color:#6f42c1}.codeeditor-light .cm-operator{color:#d73a49}.codeeditor-light .cm-bracket,.codeeditor-light .cm-punctuation{color:#475569}.codeeditor-light .cm-tagName{color:#22863a}.codeeditor-light .cm-attributeName{color:#6f42c1}.codeeditor-light .cm-attributeValue{color:#032f62}.codeeditor-light .cm-bool,.codeeditor-light .cm-null,.codeeditor-light .cm-self{color:#005cc5}.codeeditor-light .cm-builtin{color:#6f42c1}.codeeditor-light .cm-labelName{color:#e36209}.codeeditor-light .cm-className,.codeeditor-light .cm-function,.codeeditor-light .cm-macroName,.codeeditor-light .cm-namespace{color:#6f42c1}.codeeditor-dark{--codeeditor-bg:#0f172a;--codeeditor-text:#f1f5f9;--codeeditor-gutter-bg:#1e293b;--codeeditor-line-number:#64748b;--codeeditor-border:#475569;--codeeditor-selection:#0a2540;--codeeditor-cursor:#f1f5f9;--codeeditor-toolbar-bg:#1e293b;--codeeditor-toolbar-border:#475569;--codeeditor-toolbar-hover:#334155;--codeeditor-toolbar-active-bg:#0a2540;--codeeditor-toolbar-active-icon:#74c0fc}.codeeditor-dark .cm-keyword{color:#ff7b72}.codeeditor-dark .cm-atom,.codeeditor-dark .cm-number{color:#79c0ff}.codeeditor-dark .cm-string,.codeeditor-dark .cm-string2{color:#a5d6ff}.codeeditor-dark .cm-variableName{color:#ffa657}.codeeditor-dark .cm-definition,.codeeditor-dark .cm-typeName{color:#d2a8ff}.codeeditor-dark .cm-propertyName{color:#79c0ff}.codeeditor-dark .cm-comment{color:#64748b;font-style:italic}.codeeditor-dark .cm-meta{color:#d2a8ff}.codeeditor-dark .cm-operator{color:#ff7b72}.codeeditor-dark .cm-bracket,.codeeditor-dark .cm-punctuation{color:#94a3b8}.codeeditor-dark .cm-tagName{color:#7ee787}.codeeditor-dark .cm-attributeName{color:#d2a8ff}.codeeditor-dark .cm-attributeValue{color:#a5d6ff}.codeeditor-dark .cm-bool,.codeeditor-dark .cm-null,.codeeditor-dark .cm-self{color:#79c0ff}.codeeditor-dark .cm-builtin{color:#d2a8ff}.codeeditor-dark .cm-labelName{color:#ffa657}.codeeditor-dark .cm-className,.codeeditor-dark .cm-function,.codeeditor-dark .cm-macroName,.codeeditor-dark .cm-namespace{color:#d2a8ff}.codeeditor-toolbar{align-items:center;background-color:var(--codeeditor-toolbar-bg);border-bottom:1px solid var(--codeeditor-toolbar-border);display:flex;flex-wrap:wrap;gap:2px;min-height:32px;padding:2px 4px}.codeeditor-toolbar-btn{align-items:center;background:none;border:none;border-radius:0;color:var(--codeeditor-text);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:.875rem;height:28px;justify-content:center;line-height:1;padding:0;width:28px}.codeeditor-toolbar-btn:hover:not(:disabled){background-color:var(--codeeditor-toolbar-hover)}.codeeditor-toolbar-btn:focus{box-shadow:0 0 0 2px rgba(28,126,214,.25);outline:0}.codeeditor-toolbar-btn-active{background-color:var(--codeeditor-toolbar-active-bg);color:var(--codeeditor-toolbar-active-icon)}.codeeditor-toolbar-btn-disabled,.codeeditor-toolbar-btn:disabled{cursor:not-allowed;opacity:.4}.codeeditor-toolbar-divider{background-color:var(--codeeditor-toolbar-border);flex-shrink:0;height:20px;margin:0 4px;width:1px}.codeeditor-lang-select{flex-shrink:0;width:120px}.codeeditor-editor{background-color:var(--codeeditor-bg);color:var(--codeeditor-text);flex:1;min-height:100px;overflow:auto}.codeeditor-editor .cm-editor{height:100%}.codeeditor-editor .cm-scroller{overflow:auto}.codeeditor-error{align-items:center;background-color:rgba(220,38,38,.06);color:#dc2626;display:flex;font-size:.8rem;font-weight:600;height:100%;justify-content:center;line-height:1.5;min-height:100px;padding:16px;text-align:center;width:100%}.codeeditor-diagnostic{border-radius:50%;cursor:pointer;display:inline-block;height:8px;width:8px}.codeeditor-diagnostic-error{background-color:#dc2626}.codeeditor-diagnostic-warning{background-color:#f59e0b}.codeeditor-diagnostic-info{background-color:#2196f3}.codeeditor-readonly .codeeditor-editor{cursor:default}.codeeditor-disabled{opacity:.5}.codeeditor-disabled .codeeditor-editor,.codeeditor-disabled .codeeditor-toolbar{pointer-events:none}.codeeditor-disabled .codeeditor-toolbar-btn{cursor:not-allowed}@media (prefers-reduced-motion:reduce){.codeeditor-toolbar-btn{transition:none}}