.csd2-code-block {
  min-width: 0;
  max-width: 100%;
  margin: 0 0 1.25em;
  overflow: hidden;
  border: 1px solid #d8dee8;
  border-radius: 6px;
}

.csd2-code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-bottom: 1px solid #d8dee8;
  background: #f6f8fb;
  color: #344256;
  font-size: 0.85rem;
}

button.csd2-code-copy {
  min-width: 4.5rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid #c2ccda;
  border-radius: 4px;
  background: #fff;
  color: #233043;
  font: inherit;
  cursor: pointer;
}

button.csd2-code-copy:not([hidden]) {
  display: inline-block;
}

button.csd2-code-copy:hover {
  background: #eaf0f8;
}

button.csd2-code-copy:focus-visible {
  outline: 2px solid #27569a;
  outline-offset: 2px;
}

.csd2-code-block .syntaxhighlighter {
  margin: 0 !important;
  padding: 0.65em 0;
}

.csd2-code-block .syntaxhighlighter td.code .container .line.highlighted {
  background-color: #fff0b3 !important;
}
