.cd-Example {
  margin: 2rem 0;
}

.cd-Example-Tab {
  font-size: 0.875rem;
  padding: 0.5rem 3rem !important;
}
.cd-Example-Tab--demo[data-selected] {
  background-color: #fff !important;
  border-bottom-color: #fff !important;
  color: #111;
}
.cd-Example-Tab--code[data-selected] {
  background-color: #020202 !important;
  border-bottom-color: #020202 !important;
  color: #fff;
}

.cd-Example-TabPanel {
  background-color: #fff;
  position: relative;
  min-height: 100px;
  border: 1px solid #a4a4a4;
  flex-grow: 1;
}
.cd-Example-TabPanel--demo {
  color: #111;
  padding: 2rem 10% 1rem;
  display: flex;
  align-items: normal;
  justify-content: center;
  font-size: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 0 0 1px var(--color-base-100) inset;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--color-base-100),
    var(--color-base-100) 13px,
    var(--color-base-200) 13px,
    var(--color-base-200) 14px
  );
  background-size: 40px 40px;
}

.cd-Example-TabPanel--demo > .row {
  width: 100%;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.cd-Example-TabPanel--demo > .row:not(:has(*)) {
  display: none;
}
.cd-Example-TabPanel--demo > .row > button {
  align-self: center;
}

.cd-Example-TabPanel--demo .jxui-tab-panel {
  padding: 20px;
  border: 1px solid #a4a4a4
}
.cd-Example-TabPanel--demo a[href] {
  color: #0969da;
  text-decoration: none;
}
.cd-Example-TabPanel--demo a[href]:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-style: dashed;
}

.cd-Example-TabPanel--code {
  color: #fafafa;
  background-color: #020202;
  margin: 0;
  padding: 0;
  height: 100%;
  max-height: 500px;
  overflow: auto;
}
.cd-Example-TabPanel--code .highlight {
  display: block;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.cd-Example-TabPanel--code .highlight pre {
  display: block;
  height: 100%;
  min-height: 100px;
  width: 100%;
  padding: 1rem 2rem 1rem 0.5rem;
  margin: 0;
  border-radius: 0;
}