r"], 
        [data-theme="dark"] select, 
        [data-theme="dark"] textarea {
            background-color: var(--input-bg);
            color: var(--text-color);
            border: 1px solid var(--border-color);
        }
        
        [data-theme="dark"] select:focus,
        [data-theme="dark"] input:focus {
            border-color: var(--simpsons-blue);
        }
        
        /* CodeMirror theme for dark mode */
        .cm-s-simpsons-dark {
            background: var(--editor-bg) !importa