/* 代码编辑器样式 */
    .code-editor {
      background: #1e1e1e;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      margin: 20px 0;
      font-family: 'Consolas', 'Courier New', monospace;
      text-align: left; /* 确保整体居左 */
    }
    
    .editor-header {
      background: #2d2d2d;
      padding: 10px 15px;
      display: flex;
      align-items: center;
      border-bottom: 1px solid #3c3c3c;
    }
    
    .window-controls {
      display: flex;
      gap: 8px;
      margin-right: 15px;
    }
    
    .control {
      width: 12px;
      height: 12px;
      border-radius: 50%;
    }
    
    .close { background: #ff5f57; }
    .minimize { background: #ffbd2e; }
    .maximize { background: #28ca42; }
    
    .file-tab {
      background: #3c3c3c;
      color: #d4d4d4;
      padding: 5px 15px;
      border-radius: 4px 4px 0 0;
      font-size: 13px;
    }
    
    .editor-body {
      padding: 20px;
      color: #d4d4d4;
      line-height: 1.5;
      min-height: 300px;
      overflow-x: auto;
      text-align: left; /* 确保内容居左 */
    }
    
    .line-number {
      display: inline-block;
      width: 40px;
      color: #6e7681;
      text-align: right;
      margin-right: 15px;
      user-select: none;
    }
    
    .comment { color: #6a9955; }
    .keyword { color: #569cd6; }
    .string { color: #ce9178; }
    .function { color: #dcdcaa; }
    .number { color: #b5cea8; }
    .operator { color: #d4d4d4; }
    
    .code-block {
      margin-left: 20px;
    }
    
    .highlight {
      background: rgba(255, 255, 255, 0.1);
      padding: 2px 4px;
      border-radius: 3px;
    }
    
    .comment, .keyword, .string, .function, .number, .operator, .highlight {
      text-align: left;
      display: inline; /* 保持内联显示 */
    }