@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

#docs-root h1.sbdocs-title {
  font-size: 44px;
  line-height: 60px;
  /* identical to box height, or 143% */
  letter-spacing: -0.04em;
  margin-top: 49px;
}

#docs-root details {
  position: relative;
  z-index: 99;
}

#docs-root .sbdocs-p {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -0.01em;
  margin-top: 24px;
}

#docs-root .sbdocs-wrapper {
  background: white;
  min-height: auto;
}

#docs-root .sbdocs-img.featured-image {
  max-width: 100%;
  margin: 48px 0;
  display: block;
}

#docs-root .sbdocs-img {
  border-radius: 24px;
}

#docs-root .sbdocs-hr {
  margin: 48px 0;
  height: 0;
  border-top: 1px solid #ebebeb;
}

#docs-root .sbdocs-h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.04em;
  border-top: 1px solid #ebebeb;
  border-bottom: none;
  margin: 48px 0 15px 0;
  padding: 48px 0 0 0;
}

#docs-root .sbdocs-h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  line-height: 24px;
  margin: 25px 0 0 0 !important;
  letter-spacing: -0.01em;
}

/* Only apply to H3s inside of stories which have a parent with an ID */
#docs-root [id] > .sbdocs-h3:before {
  content: '';
  display: block;
  height: 40px;
  margin: -40px 0 0;
}

#docs-root .sbdocs-li {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: -0.01em;

  /* Neutrals / Web / Gray 200 #1B1A19 */
  color: #1b1a19;
  margin-top: 8px;
}

#docs-root .sbdocs-ul {
  margin: 12px 0;
}

#docs-root .sbdocs-ul .sbdocs-li {
  list-style: none;
  position: relative;
}

#docs-root .sbdocs-ul .sbdocs-li::before {
  position: absolute;
  content: '•';
  color: #8d8d8d;
  top: 0;
  left: -15px;
}

#docs-root .sbdocs-ol .sbdocs-li::marker {
  color: #8d8d8d;
}

#docs-root .sbdocs-preview {
  border-radius: 16px;
  background: var(--colorBrandBackgroundInverted, #fff);
  padding: 0;
  box-shadow: none;
  border: 1px solid var(--colorNeutralStroke1, #e1dfdd);
}

#docs-root .innerZoomElementWrapper {
  padding: 30px;
}

#docs-root .sbdocs-preview > .os-host {
  display: none;
}

/* Remove z-index from "show code" button container */
/* https://github.com/microsoft/fluentui/issues/22773 */
.docs-story > div:nth-child(2) {
  z-index: auto;
}

#docs-root .docblock-code-toggle,
.docs-story .with-code-sandbox-button {
  font-family: 'Poppins', sans-serif;
  min-width: 91px;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin-right: 32px !important;
  line-height: 150% !important;
  color: #201f1e !important;
  text-align: center !important;
  justify-content: center !important;
  letter-spacing: -0.01em !important;
  background: #f8f8f8 !important;
  border: none !important;
  /* box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25) !important; */
  border-radius: 5px 5px 0px 0px !important;
}

/* Reduce font size of CodeSandbox and Show Code button when zoomed or small window width*/
/* https://github.com/microsoft/fluentui/issues/22764 */

@media screen and (max-width: 380px) {
  #docs-root .docblock-code-toggle,
  .docs-story .with-code-sandbox-button {
    font-size: 10px !important;
  }
}

/* Make storybook-addon-export-to-codesandbox button match Figma design */
.docs-story .with-code-sandbox-button {
  right: 105px !important;
}

.docs-story .with-code-sandbox-button:focus {
  outline: none;
  box-shadow: #1ea7fd 0 -3px 0 0 inset;
}

#docs-root span + .sbdocs .docblock-argstable tbody tr td button {
  color: #0078d4;
  color: red;
}

#docs-root .docs-story + div {
  background: #11100f;
}

#docs-root .sbdocs-content > div:last-child {
  margin-bottom: 96px;
}

#docs-root .docs-story > div {
  padding: 0;
  background: none;
}

#docs-root .docs-story > div:last-child {
  right: 31px;
  border-radius: 24px;
}

.docs-story + div > div:last-child {
  background: #000000;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
  border-radius: 5px 5px 0px 0px;
  right: 31px;
}

.docs-story + div > div:last-child > button {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  letter-spacing: -0.01em;
}

#docs-root a.sbdocs-a {
  color: #0078d4;
}

/*  */
/* Args Table */
/*  */

#docs-root .docblock-argstable tbody {
  box-shadow: none;
  border-left: none;
  border-right: none;
}

#docs-root .docblock-argstable-head th {
  letter-spacing: -0.01em;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 150%;
  font-weight: 600;
}

#docs-root thead.docblock-argstable-head {
  border-bottom: 1px solid #edebe9;
}

#docs-root .docblock-argstable-body > tr > td:nth-child(4) {
  display: none;
}

#docs-root .docblock-argstable-head > tr > th:nth-child(4) {
  display: none;
}

#docs-root .docblock-argstable tbody tr {
  border: none;
}

#docs-root table.docblock-argstable tbody.docblock-argstable-body td,
#docs-root .docblock-argstable th {
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 16px;
}

#docs-root .docblock-argstable tbody tr td:nth-child(1) span {
  font-weight: normal;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.01em;
  color: #616161;
}

#docs-root .docblock-argstable tbody tr td {
  vertical-align: top;
}

#docs-root .docblock-argstable-body > tr > td > div > div > button {
  color: #0078d4;
  line-height: 21px;
}

#docs-root code,
#docs-root .docblock-argstable tbody tr td:nth-child(3) > div > span,
#docs-root .docblock-argstable-body > tr > td:nth-child(2) > div:nth-child(2) span,
#docs-root .docblock-argstable-body > tr > td:nth-child(2) > div:nth-child(1) > div > span,
#docs-root .css-16d4d7t {
  font-family: Menlo, monospace;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

#docs-root code.sbdocs-code,
#docs-root .sbdocs-p code,
#docs-root .sbdocs-li code,
#docs-root .docblock-argstable code,
#docs-root .docblock-argstable tbody tr td:nth-child(3) > div > span,
#docs-root .docblock-argstable-body > tr > td:nth-child(2) > div:nth-child(2) span,
#docs-root .docblock-argstable-body > tr > td:nth-child(2) > div:nth-child(1) > div > span,
#docs-root .css-16d4d7t {
  font-size: 14px;
  background: #f0f0f0;
  border-radius: 4px;
  padding: 1px 4px;
  margin: 0 3px 0 3px;
  border: none;
  line-height: 1.5;
}

#docs-root .docblock-argstable code {
  white-space: normal;
}

#docs-root code {
  margin: 1px 0 1px 0;
}

.os-content-glue {
  width: auto !important;
}

#docs-root .sbdocs-preview .prismjs {
  overflow: hidden;
}

#docs-root .sbdocs-preview .prismjs code {
  color: white;
  background: #11100f;
  margin: 0;
  overflow-x: auto;
}

#docs-root .docblock-argstable-body td > div > p,
#docs-root .docblock-argstable-body > tr > td:nth-child(2) p,
#docs-root .docblock-argstable-body > tr > td:nth-child(2) > div:nth-child(1) > span {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.01em;
}

#docs-root .docblock-argstable tr > :nth-child(1) {
  width: 4%;
}

#docs-root .docblock-argstable tr > :nth-child(2) {
  width: 100%;
}

#docs-root .os-padding {
  z-index: 0;
}

body,
body p,
body ul,
body ul li {
  font-family: 'Poppins', sans-serif !important;
}

h1 {
  font-weight: 700;
  font-size: 40px;
  font-family: 'Poppins', sans-serif !important;
  line-height: 60px;
  letter-spacing: -0.16px;
}

#docs-root .sbdocs .sbdocs-p > .sbdocs-img {
  display: block;
  margin: 0 auto;
}
