.code-editor-container {
  max-width: calc(100% + 100px);
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0,0,0,.12);
  padding: 16px;
  font-family: "Fira Code", monospace;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.editor-toolbar button,
.editor-toolbar select {
  background: #f5f5f5;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.editor-toolbar button:hover,
.editor-toolbar select:hover {
  background: #e0e0e0;
}

.editor-toolbar button i {
  margin-right: 4px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.tab {
  background: #eaeaea;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  display: flex;
  gap: 6px;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.tab:hover {
  background: #dcdcdc;
}

.tab.active {
  background: #0077b6;
  color: #fff;
  font-weight: 500;
}

.tab i {
  font-size: 11px;
  cursor: pointer;
}

.tab i.fa-trash {
  color: #000080;
}

.editor-toolbar button .fa-trash {
  color: #800000;
}

#activeExtension {
  font-family: monospace;
  font-size: 13px;
}

.CodeMirror {
  height: calc(100vh - 230px);
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* Scrollbar estilo moderno */
.CodeMirror-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.2) rgba(255,255,255,0.1);
}

.CodeMirror-scroll::-webkit-scrollbar {
  width: 8px;
}

.CodeMirror-scroll::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 8px;
}

.CodeMirror-scroll::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
}

.CodeMirror-gutters {
  background: #f5f5f5;
  border-right: 1px solid #ccc;
}
