/* src/components/editor/themes/editor-theme.css */
.EditorTheme__code {
  display: block;
  overflow-x: auto;
  position: relative;
  tab-size: 2;
  background-color: #0000;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin: 8px 0;
  padding: 8px 8px 8px 52px;
  font-family: Menlo, Consolas, Monaco, monospace;
  font-size: 13px;
  line-height: 1.53;
}

.EditorTheme__code:before {
  content: attr(data-gutter);
  position: absolute;
  color: #777;
  white-space: pre-wrap;
  text-align: right;
  background-color: #0000;
  border-right: 1px solid #ccc;
  min-width: 25px;
  padding: 8px;
  top: 0;
  left: 0;
}

.EditorTheme__table {
  border-collapse: collapse;
  border-spacing: 0;
  overflow-y: scroll;
  overflow-x: scroll;
  table-layout: fixed;
  width: 100%;
  margin: 0 0 30px;
}

.EditorTheme__tokenComment {
  color: #708090;
}

.EditorTheme__tokenPunctuation {
  color: #999;
}

.EditorTheme__tokenProperty {
  color: #905;
}

.EditorTheme__tokenSelector {
  color: #690;
}

.EditorTheme__tokenOperator {
  color: #9a6e3a;
}

.EditorTheme__tokenAttr {
  color: #07a;
}

.EditorTheme__tokenVariable {
  color: #e90;
}

.EditorTheme__tokenFunction {
  color: #dd4a68;
}

.Collapsible__container {
  background-color: var(--background);
  border: 1px solid #ccc;
  border-radius: .5rem;
  margin-bottom: .5rem;
}

.Collapsible__title {
  position: relative;
  outline: none;
  cursor: pointer;
  list-style-type: disclosure-closed;
  list-style-position: inside;
  padding: .25rem .25rem .25rem 1rem;
  font-weight: bold;
}

.Collapsible__title p {
  display: inline-flex;
}

.Collapsible__title::marker {
  color: #d3d3d3;
}

.Collapsible__container[open] > .Collapsible__title {
  list-style-type: disclosure-open;
}
