/* Code tabs component */
.code-tabs {
  margin: 1em 0 1.5em;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  overflow: hidden;
}

.code-tabs-nav {
  display: flex;
  background: #f6f8fa;
  border-bottom: 1px solid #d0d7de;
}

.code-tab-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0.6em 1.1em;
  font-size: 0.85em;
  font-family: inherit;
  font-weight: 600;
  color: #57606a;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.code-tab-btn:hover {
  color: #24292f;
  background: #eef1f4;
}

.code-tab-btn.active {
  color: #24292f;
  border-bottom-color: #0969da;
}

.code-tab-pane {
  display: none;
}

.code-tab-pane.active {
  display: block;
}

/* Remove default spacing/border so the code block sits flush inside the tab panel */
.code-tabs .code-tab-pane > .highlighter-rouge,
.code-tabs .code-tab-pane > div.highlighter-rouge {
  margin: 0;
  border-radius: 0;
  border: none;
}
