.docs-code-tabs {
  margin: 18px 0 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 10px;
  background: #08111b;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

.docs-code-tabs__bar {
  min-height: 40px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-bottom: 1px solid rgba(148, 163, 184, .11);
  background: rgba(255, 255, 255, .018);
}

.docs-code-tabs__list {
  min-width: 0;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.docs-code-tabs__list::-webkit-scrollbar {
  display: none;
}

.docs-code-tabs__tab {
  position: relative;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #6f7f94;
  font: 650 11px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}

.docs-code-tabs__tab:hover {
  color: #d7e1ee;
  background: rgba(255, 255, 255, .025);
}

.docs-code-tabs__tab::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  border-radius: 999px 999px 0 0;
  background: transparent;
}

.docs-code-tabs__tab.is-active {
  color: #dce6f3;
}

.docs-code-tabs__tab.is-active::after {
  background: #8b9cff;
}

.docs-code-tabs__tab:focus-visible {
  outline: 2px solid rgba(139, 156, 255, .7);
  outline-offset: -3px;
  border-radius: 5px;
}

.docs-code-tabs__copy {
  flex: 0 0 auto;
  align-self: center;
  margin-right: 7px;
}

.docs-code-tabs__panel[hidden] {
  display: none;
}

.docs-code-tabs .docs-source-block.is-tabbed {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.docs-code-tabs .docs-source-block.is-tabbed > .docs-source-block__bar {
  display: none;
}

.docs-code-tabs .docs-source-block.is-tabbed .docs-source-block__pre {
  border-radius: 0;
}

html[data-theme="light"] .docs-code-tabs {
  border-color: rgba(30, 41, 59, .13);
  background: #f7f9fc;
  box-shadow: 0 10px 24px rgba(30, 41, 59, .07);
}

html[data-theme="light"] .docs-code-tabs__bar {
  border-bottom-color: rgba(30, 41, 59, .09);
  background: rgba(30, 41, 59, .018);
}

html[data-theme="light"] .docs-code-tabs__tab {
  color: #78869a;
}

html[data-theme="light"] .docs-code-tabs__tab:hover {
  color: #334155;
  background: rgba(30, 41, 59, .025);
}

html[data-theme="light"] .docs-code-tabs__tab.is-active {
  color: #334155;
}

html[data-theme="light"] .docs-code-tabs__tab.is-active::after {
  background: #596bc5;
}

@media (max-width: 600px) {
  .docs-code-tabs {
    margin-left: -4px;
    margin-right: -4px;
  }

  .docs-code-tabs__tab {
    padding: 0 12px;
  }
}
