.docs-content {
  display: flex;
  width: 100%;
  height: auto;
  flex-direction: row;
  justify-content: space-between;
  gap: 56px;
  padding: 56px 0 80px;
}

.docs-sidebar {
  flex: 0 0 200px;
  display: flex;
  width: 200px;
  max-height: calc(100vh - 100px);
  flex-direction: column;
  align-self: flex-start;
  position: sticky;
  top: 90px;
  overflow-y: auto;
  z-index: 1;
}

.docs-sidebar p {
  display: flex;
  width: 100%;
  height: auto;
  line-height: 1;
  padding: 8px 12px;
  font-family: var(--font-inter);
  font-size: 12px;
  color: var(--color-text-secondary);
  padding-left: 12px;
}

.doc-bookmark {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  gap: 2px;
}

.doc-bookmark a {
  padding: 6px 12px;
  text-decoration: none;
  font-family: var(--font-inter);
  font-size: 14px;
  color: var(--color-text-primary);
  border-radius: var(--button-border-radius-6px);
}

.doc-bookmark a.active {
  background-color: var(--color-surface-raised);
}

.doc-bookmark a:hover {
  background-color: var(--color-surface-hover);
}

.doc-bookmark a.active {
  background-color: var(--color-button-bg-hover);
}

.docs-article {
  display: flex;
  max-width: 1000px;
  width: 100%;
  height: 100%;
}

.doc-layout {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  gap: 48px;
  overflow-y: auto;
}

.doc-layout img {
  width: 100%;
  border: 1px solid var(--color-border);
}

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

.header-doc {
  display: flex;
  width: 100%;
  height: auto;
  flex-direction: column;
  gap: 8px;
}

.doc-main-title {
  display: flex;
  width: 100%;
  height: auto;
  font-family: var(--font-inter);
  font-size: 32px;
  color: var(--color-text-primary);
  line-height: 1;
}

.doc-main-text {
  display: flex;
  width: 100%;
  height: auto;
  font-family: var(--font-inter);
  font-size: 14px;
  color: var(--color-text-primary);
  flex-wrap: wrap;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
  line-height: 1.8;
}

.doc-insdise-bk {
  display: flex;
  width: 100%;
  height: auto;
  flex-direction: column;
  gap: 12px;
}

.doc-inside-text-lg {
  display: flex;
  width: 100%;
  height: auto;
  font-family: var(--font-inter);
  font-weight: bold;
  font-size: 18px;
  color: var(--color-text-primary);
}

.doc-inside-text-sm {
  display: flex;
  width: 100%;
  height: auto;
  font-family: var(--font-inter);
  font-size: 14px;
  color: var(--color-text-primary);
  flex-wrap: wrap;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

.copy-code-0 {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 4px 16px;
  border-radius: 12px;
  gap: 12px;
  background-color: var(--color-surface-hover);
}

.copy-code-0 code {
  display: block;
  flex: 1;
  word-break: break-all;
  white-space: normal;
  line-height: 1.8;
  font-family: var(--font-inter);
  font-size: 13px;
  color: var(--color-text-secondary);
}

.copy-text-button {
  display: flex;
  width: 32px;
  aspect-ratio: 1 / 1;
  justify-content: center;
  align-items: center;
  background-color: var(--color-surface);
  border: none;
  outline: none;
  border-radius: 9px;
  padding: 4px;
  cursor: pointer;
}

.copy-text-button svg {
  opacity: 0.7;
  transition: opacity 0.25s ease-in-out;
}

.copy-text-button:hover svg {
  opacity: 1;
}

.copy-text-button .icon-check {
  display: none;
}

.copy-text-button.copied .icon-copy {
  display: none;
}

.copy-text-button.copied .icon-check {
  display: block;
}

@media (max-width: 700px) {
  .docs-content {
    flex-direction: column;
    padding: 28px 0 80px;
    gap: 32px;
  }

  .docs-sidebar {
    flex: none;
    position: static;
    width: 100%;
    height: auto;
    overflow-y: visible;
    gap: 8px;
  }

  .docs-sidebar p {
    display: none;
  }

  .doc-bookmark {
    flex-direction: row;
  }

  .doc-main-title {
    font-size: 28px;
  }
}
