:root {
  color-scheme: dark;
  --docs-bg: #070708;
  --docs-bg-elevated: #0b0b0d;
  --docs-surface: #101014;
  --docs-surface-soft: #15151a;
  --docs-surface-raised: #1a1a20;
  --docs-line: rgba(255, 255, 255, 0.075);
  --docs-line-strong: rgba(255, 255, 255, 0.14);
  --docs-text: #f7f7fa;
  --docs-muted: #a0a0ad;
  --docs-muted-2: #72727f;
  --docs-red: #ef233c;
  --docs-red-bright: #ff4057;
  --docs-red-soft: rgba(239, 35, 60, 0.12);
  --docs-blue: #4f6fff;
  --docs-blue-soft: rgba(79, 111, 255, 0.13);
  --docs-green: #23c483;
  --docs-green-soft: rgba(35, 196, 131, 0.11);
  --docs-amber: #f59e0b;
  --docs-amber-soft: rgba(245, 158, 11, 0.12);
  --docs-purple: #9b6cff;
  --docs-topbar: 70px;
  --docs-sidebar: 294px;
  --docs-outline: 220px;
  --docs-radius: 14px;
  font-family: "Vazirmatn", IRANSansX, Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scrollbar-color: rgba(239, 35, 60, 0.42) rgba(255, 255, 255, 0.025);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--docs-text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    var(--docs-bg);
  background-size: 56px 56px;
  line-height: 1.85;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(7, 7, 8, 0.32), var(--docs-bg) 64%);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

::selection {
  color: #ffffff;
  background: rgba(239, 35, 60, 0.42);
}

.docs-ambient {
  position: fixed;
  z-index: -2;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(105px);
  opacity: 0.17;
}

.docs-ambient-one {
  top: -330px;
  right: 24%;
  background: var(--docs-red);
}

.docs-ambient-two {
  top: 120px;
  left: -430px;
  background: var(--docs-blue);
  opacity: 0.1;
}

.docs-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(300px, 610px) minmax(220px, 1fr);
  align-items: center;
  gap: 20px;
  min-height: var(--docs-topbar);
  padding: 0 22px;
  border-bottom: 1px solid var(--docs-line);
  background: rgba(7, 7, 8, 0.86);
  backdrop-filter: blur(22px) saturate(130%);
}

.docs-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  text-decoration: none;
}

.docs-brand img {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(239, 35, 60, 0.34);
  border-radius: 11px;
  box-shadow: 0 0 24px rgba(239, 35, 60, 0.16);
}

.docs-brand > span {
  display: grid;
  gap: 0;
  line-height: 1.3;
}

.docs-brand strong {
  color: #ffffff;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.docs-brand small {
  color: var(--docs-muted-2);
  font-size: 0.68rem;
}

.docs-brand b {
  min-height: 23px;
  padding: 1px 8px 0;
  border: 1px solid rgba(239, 35, 60, 0.28);
  border-radius: 999px;
  color: #ff7180;
  background: var(--docs-red-soft);
  font-size: 0.64rem;
  line-height: 20px;
}

.docs-command {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid var(--docs-line-strong);
  border-radius: 11px;
  color: #868692;
  background: rgba(255, 255, 255, 0.027);
  text-align: right;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.docs-command:hover,
.docs-command:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(239, 35, 60, 0.4);
  background: rgba(255, 255, 255, 0.045);
  outline: 0;
}

.docs-command-icon {
  color: #a5a5b0;
  font-size: 1.1rem;
}

.docs-command kbd,
.docs-sidebar-search kbd,
.docs-search-dialog kbd {
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #858590;
  background: rgba(255, 255, 255, 0.035);
  font-family: inherit;
  font-size: 0.62rem;
  white-space: nowrap;
}

.docs-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.docs-top-actions a,
.docs-top-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 37px;
  height: 37px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #8e8e99;
  background: transparent;
  font-style: normal;
  text-decoration: none;
  cursor: pointer;
}

.docs-top-actions em {
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
}

.docs-top-actions a:hover,
.docs-top-actions button:hover,
.docs-top-actions a:focus-visible,
.docs-top-actions button:focus-visible {
  color: #ffffff;
  border-color: var(--docs-line-strong);
  background: rgba(255, 255, 255, 0.045);
  outline: 0;
}

.docs-menu-trigger {
  display: none !important;
}

.docs-sidebar {
  position: fixed;
  top: var(--docs-topbar);
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: var(--docs-sidebar);
  overflow: hidden;
  border-left: 1px solid var(--docs-line);
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(18px);
}

.docs-sidebar-head {
  display: none;
}

.docs-sidebar-search {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin: 18px 14px 13px;
  padding: 0 11px;
  border: 1px solid var(--docs-line);
  border-radius: 10px;
  color: #6f6f7b;
  background: rgba(255, 255, 255, 0.024);
}

.docs-sidebar-search:focus-within {
  border-color: rgba(239, 35, 60, 0.38);
  box-shadow: 0 0 0 3px rgba(239, 35, 60, 0.055);
}

.docs-sidebar-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #eeeeF2;
  background: transparent;
}

.docs-sidebar-search input::placeholder {
  color: #676773;
}

#docsNavigation {
  flex: 1;
  min-height: 0;
  padding: 0 11px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.docs-nav-group {
  margin: 0 0 8px;
}

.docs-nav-group-toggle {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 37px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  color: #b8b8c2;
  background: transparent;
  text-align: right;
  cursor: pointer;
}

.docs-nav-group-toggle:hover,
.docs-nav-group-toggle:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.028);
  outline: 0;
}

.docs-nav-group-toggle > span:first-child {
  color: #696975;
  font-size: 0.75rem;
}

.docs-nav-group-toggle strong {
  font-size: 0.76rem;
  font-weight: 900;
}

.docs-nav-group-toggle i {
  color: #686874;
  font-style: normal;
  transition: transform 160ms ease;
}

.docs-nav-group.open .docs-nav-group-toggle i {
  transform: rotate(90deg);
}

.docs-nav-items {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.docs-nav-group.open .docs-nav-items {
  grid-template-rows: 1fr;
}

.docs-nav-items > div {
  min-height: 0;
  overflow: hidden;
}

.docs-nav-list {
  display: grid;
  gap: 2px;
  margin: 2px 17px 7px 0;
  padding: 2px 10px 2px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.065);
}

.docs-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 33px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #868691;
  font-size: 0.75rem;
  line-height: 1.55;
  text-decoration: none;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
}

.docs-nav-link:hover,
.docs-nav-link:focus-visible {
  color: #ececf1;
  background: rgba(255, 255, 255, 0.032);
  outline: 0;
}

.docs-nav-link.active {
  color: #ffffff;
  border-color: rgba(239, 35, 60, 0.16);
  background: linear-gradient(90deg, rgba(239, 35, 60, 0.12), rgba(255, 255, 255, 0.025));
}

.docs-nav-link.active::before {
  position: absolute;
  top: 7px;
  right: -12px;
  bottom: 7px;
  width: 2px;
  border-radius: 3px;
  content: "";
  background: var(--docs-red-bright);
  box-shadow: 0 0 12px rgba(239, 35, 60, 0.38);
}

.docs-sidebar-empty {
  padding: 28px 18px;
  color: var(--docs-muted-2);
  text-align: center;
  font-size: 0.78rem;
}

.docs-sidebar-footer {
  padding: 13px 16px 17px;
  border-top: 1px solid var(--docs-line);
  background: rgba(0, 0, 0, 0.18);
}

.docs-sidebar-footer div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b6b6bf;
  font-size: 0.7rem;
}

.docs-sidebar-footer i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--docs-green);
  box-shadow: 0 0 0 4px rgba(35, 196, 131, 0.08);
}

.docs-sidebar-footer small {
  display: block;
  margin-top: 3px;
  color: #62626e;
  font-size: 0.62rem;
  direction: ltr;
  text-align: right;
}

.docs-main {
  display: grid;
  grid-template-columns: var(--docs-outline) minmax(0, 1fr);
  gap: 46px;
  min-height: 100vh;
  margin-right: var(--docs-sidebar);
  padding: calc(var(--docs-topbar) + 48px) 50px 90px;
  direction: ltr;
}

.docs-article,
.docs-outline {
  direction: rtl;
}

.docs-article {
  width: min(930px, 100%);
  margin: 0 auto;
}

.docs-outline {
  position: sticky;
  top: calc(var(--docs-topbar) + 28px);
  align-self: start;
  max-height: calc(100vh - var(--docs-topbar) - 52px);
  padding: 4px 16px 18px 0;
  overflow-y: auto;
  border-right: 1px solid var(--docs-line);
}

.docs-outline > strong {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: #d0d0d7;
  font-size: 0.72rem;
  font-weight: 900;
}

.docs-outline > strong::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--docs-red);
}

.docs-outline-links {
  position: relative;
  display: grid;
  gap: 2px;
  padding-right: 7px;
}

.docs-outline-indicator {
  position: absolute;
  top: 0;
  right: -24px;
  z-index: 2;
  width: 3px;
  min-height: 24px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, var(--docs-red-bright), var(--docs-red));
  box-shadow:
    0 0 0 1px rgba(239, 35, 60, 0.12),
    0 0 15px rgba(239, 35, 60, 0.72),
    0 0 32px rgba(239, 35, 60, 0.22);
  transform: translate3d(0, 0, 0);
  transition:
    transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
    height 300ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
  will-change: transform, height;
}

.docs-outline-indicator.visible {
  opacity: 1;
}

.docs-outline-indicator.no-transition {
  transition: none;
}

.docs-outline a {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 26px;
  padding: 5px 9px 5px 8px;
  overflow: hidden;
  border-radius: 8px;
  color: #777783;
  font-size: 0.7rem;
  line-height: 1.55;
  text-decoration: none;
  transform: translateX(0);
  transition:
    color 220ms ease,
    background 220ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    text-shadow 220ms ease;
}

.docs-outline a::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: linear-gradient(105deg, transparent 5%, rgba(255, 64, 87, 0.14) 48%, transparent 92%);
  transform: translateX(115%);
}

.docs-outline a[data-level="3"] {
  padding-right: 20px;
  font-size: 0.67rem;
}

.docs-outline a:hover,
.docs-outline a:focus-visible {
  color: #d9d9df;
  background: rgba(255, 255, 255, 0.025);
  outline: 0;
}

.docs-outline a.active,
.docs-outline a[aria-current="location"] {
  color: var(--docs-red-bright);
  background: linear-gradient(90deg, rgba(239, 35, 60, 0.015), rgba(239, 35, 60, 0.105));
  font-weight: 850;
  text-shadow: 0 0 18px rgba(239, 35, 60, 0.3);
  transform: translateX(-4px);
  outline: 0;
}

.docs-outline a.active::after,
.docs-outline a[aria-current="location"]::after {
  animation: docs-outline-sweep 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes docs-outline-sweep {
  0% {
    opacity: 0;
    transform: translateX(115%);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-115%);
  }
}

.docs-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #747480;
  font-size: 0.72rem;
}

.docs-breadcrumbs a {
  text-decoration: none;
}

.docs-breadcrumbs a:hover {
  color: #ffffff;
}

.docs-breadcrumbs i {
  color: #45454f;
  font-style: normal;
}

.docs-page-head {
  position: relative;
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--docs-line);
}

.docs-page-head::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 82px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--docs-red));
}

.docs-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}

.docs-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 1px 10px 0;
  border: 1px solid rgba(239, 35, 60, 0.28);
  border-radius: 999px;
  color: #ff7181;
  background: rgba(239, 35, 60, 0.075);
  font-size: 0.69rem;
  font-weight: 900;
}

.docs-reading-time,
.docs-updated {
  color: #6d6d78;
  font-size: 0.67rem;
}

.docs-page-head h1 {
  max-width: 850px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 950;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.docs-lead {
  max-width: 820px;
  margin: 13px 0 0;
  color: #b4b4be;
  font-size: clamp(0.94rem, 1.4vw, 1.05rem);
  line-height: 2;
}

.docs-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.docs-page-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  color: #898994;
  background: rgba(255, 255, 255, 0.022);
  font-size: 0.68rem;
}

.docs-page-meta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--docs-green);
}

.docs-article h2,
.docs-article h3 {
  scroll-margin-top: calc(var(--docs-topbar) + 28px);
  color: #f4f4f7;
}

.docs-article h2 {
  margin: 48px 0 14px;
  font-size: clamp(1.38rem, 2.4vw, 1.9rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.docs-article h3 {
  margin: 28px 0 9px;
  font-size: 1.04rem;
  line-height: 1.55;
}

.docs-article p {
  margin: 9px 0;
  color: #aaaab4;
}

.docs-article ul,
.docs-article ol {
  margin: 12px 0;
  padding-right: 22px;
  color: #adadb7;
}

.docs-article li {
  margin: 6px 0;
}

.docs-article li::marker {
  color: #ff5d70;
}

.docs-article strong {
  color: #ededf2;
}

.docs-article code:not(.docs-code code) {
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #ff8190;
  background: rgba(255, 255, 255, 0.04);
  direction: ltr;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.82em;
  unicode-bidi: isolate;
}

.docs-anchor {
  margin-right: 7px;
  scroll-margin-top: calc(var(--docs-topbar) + 34px);
  color: transparent;
  text-decoration: none;
}

h2:hover .docs-anchor,
h3:hover .docs-anchor,
.docs-anchor:focus-visible {
  color: #70707c;
}

.docs-callout {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  margin: 20px 0;
  padding: 15px 16px;
  border: 1px solid var(--docs-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.024);
}

.docs-callout > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-weight: 950;
}

.docs-callout p {
  margin: 1px 0 0;
  color: #b8b8c1;
}

.docs-callout.note {
  border-color: rgba(79, 111, 255, 0.22);
  background: linear-gradient(100deg, rgba(79, 111, 255, 0.08), rgba(255, 255, 255, 0.018));
}

.docs-callout.note > span {
  color: #c7d0ff;
  background: rgba(79, 111, 255, 0.14);
}

.docs-callout.warning {
  border-color: rgba(245, 158, 11, 0.22);
  background: linear-gradient(100deg, rgba(245, 158, 11, 0.075), rgba(255, 255, 255, 0.018));
}

.docs-callout.warning > span {
  color: #ffe2a2;
  background: rgba(245, 158, 11, 0.14);
}

.docs-callout.danger {
  border-color: rgba(239, 35, 60, 0.27);
  background: linear-gradient(100deg, rgba(239, 35, 60, 0.085), rgba(255, 255, 255, 0.018));
}

.docs-callout.danger > span {
  color: #ffbdc5;
  background: rgba(239, 35, 60, 0.15);
}

.docs-card-grid,
.docs-focus-grid,
.docs-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.docs-card,
.docs-focus-card,
.docs-resource-card {
  position: relative;
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--docs-line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 35, 60, 0.065), transparent 34%),
    rgba(255, 255, 255, 0.022);
}

.docs-card::before,
.docs-resource-card::before {
  position: absolute;
  top: 17px;
  right: 0;
  width: 2px;
  height: 28px;
  border-radius: 4px 0 0 4px;
  content: "";
  background: linear-gradient(var(--docs-red), transparent);
}

.docs-card h3,
.docs-resource-card h3,
.docs-focus-card h3 {
  margin: 0 0 7px;
  color: #efeff3;
  font-size: 0.96rem;
}

.docs-card p,
.docs-resource-card p,
.docs-focus-card p {
  margin: 0;
  color: #92929e;
  font-size: 0.83rem;
  line-height: 1.85;
}

.docs-focus-card {
  display: block;
  padding-left: 45px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.docs-focus-card::after {
  position: absolute;
  top: 18px;
  left: 17px;
  color: #ff6072;
  content: "↗";
  font-size: 1.05rem;
}

.docs-focus-card:hover,
.docs-focus-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(239, 35, 60, 0.34);
  background: rgba(239, 35, 60, 0.055);
  outline: 0;
}

.docs-step-grid {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.docs-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--docs-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.021);
}

.docs-step > span {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(239, 35, 60, 0.3);
  border-radius: 10px;
  color: #ff6c7d;
  background: rgba(239, 35, 60, 0.07);
  font-size: 0.74rem;
  font-weight: 950;
}

.docs-step h3 {
  margin: 0 0 4px;
}

.docs-step p {
  margin: 0;
  font-size: 0.85rem;
}

.docs-checklist {
  display: grid;
  grid-template-columns: minmax(160px, 0.75fr) minmax(0, 1.25fr);
  gap: 20px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--docs-line-strong);
  border-radius: 13px;
  background:
    linear-gradient(120deg, rgba(239, 35, 60, 0.095), transparent 43%),
    rgba(255, 255, 255, 0.022);
}

.docs-checklist header span {
  color: #ff6678;
  font-size: 0.69rem;
  font-weight: 900;
}

.docs-checklist header h3 {
  margin: 5px 0 0;
}

.docs-checklist ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs-checklist li {
  position: relative;
  margin: 0;
  padding-right: 19px;
  color: #b9b9c2;
  font-size: 0.8rem;
}

.docs-checklist li::before {
  position: absolute;
  top: 0.72em;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--docs-green);
  box-shadow: 0 0 0 4px rgba(35, 196, 131, 0.075);
}

.docs-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.docs-pill {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 1px 10px 0;
  border: 1px solid var(--docs-line);
  border-radius: 999px;
  color: #b0b0ba;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.69rem;
}

.docs-table-wrap {
  margin: 18px 0;
  overflow-x: auto;
  border: 1px solid var(--docs-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.016);
}

.docs-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.docs-table th,
.docs-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--docs-line);
  text-align: right;
  vertical-align: top;
}

.docs-table th {
  color: #dadadf;
  background: rgba(255, 255, 255, 0.026);
  font-weight: 900;
  white-space: nowrap;
}

.docs-table td {
  color: #9e9ea9;
}

.docs-table tr:last-child td {
  border-bottom: 0;
}

.docs-table tbody tr:hover td {
  background: rgba(239, 35, 60, 0.022);
}

.docs-table code {
  color: #ff7b8a !important;
}

.docs-code {
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--docs-line-strong);
  border-radius: 13px;
  background: #0a0a0d;
  direction: ltr;
}

.docs-code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 43px;
  padding: 0 10px 0 8px;
  border-bottom: 1px solid var(--docs-line);
  background: rgba(255, 255, 255, 0.022);
}

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

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

.docs-code-tabs button {
  min-height: 42px;
  padding: 0 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #73737f;
  background: transparent;
  font-size: 0.68rem;
  cursor: pointer;
  white-space: nowrap;
}

.docs-code-tabs button.active {
  color: #ffffff;
  border-bottom-color: var(--docs-red);
}

.docs-copy-code {
  flex: 0 0 auto;
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid var(--docs-line);
  border-radius: 7px;
  color: #8d8d99;
  background: rgba(255, 255, 255, 0.027);
  font-size: 0.65rem;
  cursor: pointer;
}

.docs-copy-code:hover,
.docs-copy-code:focus-visible {
  color: #ffffff;
  border-color: rgba(239, 35, 60, 0.34);
  outline: 0;
}

.docs-code pre {
  margin: 0;
  padding: 18px;
  overflow: auto;
  color: #d5d5dc;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.76rem;
  line-height: 1.8;
  text-align: left;
  white-space: pre;
}

.docs-code code {
  direction: ltr;
  unicode-bidi: isolate;
}

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

.docs-endpoint-hero {
  margin: 0 0 25px;
  overflow: hidden;
  border: 1px solid var(--docs-line-strong);
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 0%, rgba(79, 111, 255, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.022);
}

.docs-endpoint-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border-bottom: 1px solid var(--docs-line);
  direction: ltr;
}

.docs-method {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 7px;
  font-family: Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 950;
}

.docs-method.post {
  color: #a9f3d4;
  background: rgba(35, 196, 131, 0.13);
}

.docs-method.get {
  color: #cbd5ff;
  background: rgba(79, 111, 255, 0.14);
}

.docs-method.patch,
.docs-method.put {
  color: #ffe1a8;
  background: rgba(245, 158, 11, 0.13);
}

.docs-method.delete {
  color: #ffc1c9;
  background: rgba(239, 35, 60, 0.14);
}

.docs-endpoint-path {
  min-width: 0;
  overflow: hidden;
  color: #ededf2;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-endpoint-copy {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--docs-line);
  border-radius: 7px;
  color: #92929d;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.65rem;
  cursor: pointer;
}

.docs-endpoint-copy:hover {
  color: #ffffff;
}

.docs-endpoint-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.docs-endpoint-info > div {
  display: grid;
  gap: 3px;
  min-height: 70px;
  padding: 12px 14px;
  border-left: 1px solid var(--docs-line);
}

.docs-endpoint-info > div:last-child {
  border-left: 0;
}

.docs-endpoint-info span {
  color: #666672;
  font-size: 0.63rem;
}

.docs-endpoint-info strong {
  color: #c7c7cf;
  font-size: 0.74rem;
  direction: ltr;
  text-align: right;
}

.docs-param-list {
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid var(--docs-line);
  border-radius: 12px;
}

.docs-param-row {
  display: grid;
  grid-template-columns: minmax(145px, 0.65fr) minmax(0, 1.35fr);
  gap: 18px;
  padding: 14px 15px;
  border-bottom: 1px solid var(--docs-line);
}

.docs-param-row:last-child {
  border-bottom: 0;
}

.docs-param-key {
  display: grid;
  align-content: start;
  gap: 4px;
  direction: ltr;
  text-align: left;
}

.docs-param-key code {
  width: fit-content;
  padding: 0 !important;
  border: 0 !important;
  color: #f0f0f4 !important;
  background: transparent !important;
  font-size: 0.79rem !important;
  font-weight: 800;
}

.docs-param-key small {
  color: #6d6d78;
  font-size: 0.64rem;
}

.docs-required,
.docs-optional {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 5px;
  font-size: 0.56rem;
  font-style: normal;
}

.docs-required {
  color: #ff9aa6;
  background: rgba(239, 35, 60, 0.1);
}

.docs-optional {
  color: #90909b;
  background: rgba(255, 255, 255, 0.04);
}

.docs-param-row p {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.8;
}

.docs-response-list {
  margin: 17px 0;
  overflow: hidden;
  border: 1px solid var(--docs-line);
  border-radius: 12px;
}

.docs-response-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 47px;
  padding: 9px 13px;
  border-bottom: 1px solid var(--docs-line);
  color: #9999a4;
  font-size: 0.74rem;
}

.docs-response-row:last-child {
  border-bottom: 0;
}

.docs-status-code {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  direction: ltr;
  font-family: Consolas, monospace;
  font-weight: 900;
}

.docs-status-code::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--docs-green);
}

.docs-status-code.error::before {
  background: var(--docs-red);
}

.docs-status-code.warn::before {
  background: var(--docs-amber);
}

.docs-response-row code {
  color: #8f8f9a !important;
  font-size: 0.7rem !important;
}

.docs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 25px 0;
}

.docs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--docs-line-strong);
  border-radius: 9px;
  color: #e6e6ea;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.docs-button.primary {
  border-color: rgba(239, 35, 60, 0.42);
  background: linear-gradient(135deg, rgba(239, 35, 60, 0.92), rgba(182, 14, 34, 0.92));
  box-shadow: 0 12px 32px rgba(239, 35, 60, 0.14);
}

.docs-button:hover,
.docs-button:focus-visible {
  transform: translateY(-1px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  outline: 0;
}

.docs-page-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--docs-line);
}

.docs-page-nav a {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid var(--docs-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.019);
  text-decoration: none;
}

.docs-page-nav a:hover,
.docs-page-nav a:focus-visible {
  border-color: rgba(239, 35, 60, 0.3);
  background: rgba(239, 35, 60, 0.045);
  outline: 0;
}

.docs-page-nav span {
  color: #70707c;
  font-size: 0.65rem;
}

.docs-page-nav strong {
  color: #d7d7de;
  font-size: 0.82rem;
}

.docs-page-nav a.next {
  text-align: left;
}

.docs-search-dialog {
  width: min(680px, calc(100vw - 30px));
  max-height: min(690px, calc(100dvh - 40px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--docs-line-strong);
  border-radius: 15px;
  color: var(--docs-text);
  background:
    radial-gradient(circle at 75% -10%, rgba(239, 35, 60, 0.12), transparent 32%),
    #101014;
  box-shadow: 0 42px 130px rgba(0, 0, 0, 0.72);
}

.docs-search-dialog::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(8px);
}

.docs-search-dialog-head {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 0 15px;
  border-bottom: 1px solid var(--docs-line);
}

.docs-search-dialog-head > span {
  color: #93939e;
  font-size: 1.25rem;
}

.docs-search-dialog-head input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  font-size: 0.94rem;
}

.docs-search-dialog-head input::placeholder {
  color: #70707b;
}

.docs-search-dialog-head button {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--docs-line);
  border-radius: 6px;
  color: #7f7f8a;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.6rem;
  cursor: pointer;
}

.docs-search-results {
  max-height: 525px;
  padding: 9px;
  overflow-y: auto;
}

.docs-search-result {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #d7d7dd;
  background: transparent;
  text-align: right;
  cursor: pointer;
}

.docs-search-result:hover,
.docs-search-result:focus-visible,
.docs-search-result.active {
  border-color: rgba(239, 35, 60, 0.22);
  background: rgba(239, 35, 60, 0.055);
  outline: 0;
}

.docs-search-result > span:first-child {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  color: #ff7281;
  background: rgba(255, 255, 255, 0.026);
  font-size: 0.72rem;
}

.docs-search-result > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.docs-search-result strong {
  color: #ededf1;
  font-size: 0.8rem;
}

.docs-search-result small {
  overflow: hidden;
  color: #777783;
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-search-result em {
  color: #686873;
  font-size: 0.62rem;
  font-style: normal;
}

.docs-search-empty {
  display: grid;
  place-items: center;
  min-height: 210px;
  color: #747480;
  text-align: center;
  font-size: 0.78rem;
}

.docs-search-dialog > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 43px;
  padding: 0 14px;
  border-top: 1px solid var(--docs-line);
  color: #676772;
  background: rgba(0, 0, 0, 0.15);
  font-size: 0.64rem;
}

.docs-toast {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 200;
  max-width: min(360px, calc(100vw - 30px));
  padding: 10px 14px;
  border: 1px solid rgba(239, 35, 60, 0.32);
  border-radius: 9px;
  color: #ffffff;
  background: rgba(19, 19, 23, 0.96);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.docs-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.docs-mobile-backdrop {
  display: none;
}

body.docs-light {
  color-scheme: light;
  --docs-bg: #f7f7f9;
  --docs-bg-elevated: #ffffff;
  --docs-surface: #ffffff;
  --docs-surface-soft: #f3f3f6;
  --docs-surface-raised: #ececf1;
  --docs-line: rgba(16, 16, 22, 0.085);
  --docs-line-strong: rgba(16, 16, 22, 0.15);
  --docs-text: #18181d;
  --docs-muted: #676772;
  --docs-muted-2: #85858f;
  background-color: var(--docs-bg);
}

body.docs-light::before {
  background: rgba(247, 247, 249, 0.78);
}

body.docs-light .docs-topbar,
body.docs-light .docs-sidebar {
  background: rgba(252, 252, 253, 0.9);
}

body.docs-light .docs-page-head h1,
body.docs-light .docs-article h2,
body.docs-light .docs-article h3,
body.docs-light .docs-brand strong,
body.docs-light .docs-param-key code,
body.docs-light .docs-endpoint-path {
  color: #17171c !important;
}

body.docs-light .docs-article p,
body.docs-light .docs-article li,
body.docs-light .docs-lead {
  color: #585863;
}

body.docs-light .docs-code,
body.docs-light .docs-search-dialog {
  color-scheme: dark;
}

@media (max-width: 1280px) {
  :root {
    --docs-outline: 190px;
  }

  .docs-main {
    gap: 30px;
    padding-left: 34px;
    padding-right: 34px;
  }

  .docs-topbar {
    grid-template-columns: minmax(200px, 1fr) minmax(260px, 500px) minmax(180px, 1fr);
  }
}

@media (max-width: 1080px) {
  :root {
    --docs-sidebar: 272px;
  }

  .docs-main {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 40px;
  }

  .docs-outline {
    display: none;
  }

  .docs-command {
    max-width: 470px;
    justify-self: center;
  }

  .docs-top-actions em {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --docs-topbar: 62px;
  }

  .docs-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 0 13px;
  }

  .docs-brand img {
    width: 33px;
    height: 33px;
  }

  .docs-brand small,
  .docs-brand b {
    display: none;
  }

  .docs-command {
    display: none;
  }

  .docs-menu-trigger {
    display: inline-flex !important;
  }

  .docs-sidebar {
    top: 0;
    z-index: 130;
    width: min(330px, 88vw);
    transform: translateX(105%);
    transition: transform 190ms ease;
  }

  .docs-sidebar.open {
    transform: translateX(0);
  }

  .docs-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 57px;
    padding: 0 15px;
    border-bottom: 1px solid var(--docs-line);
    color: #e9e9ed;
    font-size: 0.78rem;
    font-weight: 900;
  }

  .docs-sidebar-head button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--docs-line);
    border-radius: 8px;
    color: #a0a0aa;
    background: rgba(255, 255, 255, 0.03);
    font-size: 1.2rem;
    cursor: pointer;
  }

  .docs-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: block;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 190ms ease;
  }

  .docs-mobile-backdrop.show {
    opacity: 1;
    pointer-events: auto;
  }

  .docs-main {
    margin-right: 0;
    padding: calc(var(--docs-topbar) + 32px) 24px 70px;
  }
}

@media (max-width: 640px) {
  .docs-top-actions a {
    display: none;
  }

  .docs-main {
    padding-right: 16px;
    padding-left: 16px;
  }

  .docs-page-head h1 {
    font-size: 2rem;
  }

  .docs-card-grid,
  .docs-focus-grid,
  .docs-resource-grid,
  .docs-page-nav {
    grid-template-columns: 1fr;
  }

  .docs-checklist {
    grid-template-columns: 1fr;
  }

  .docs-checklist ul {
    grid-template-columns: 1fr;
  }

  .docs-endpoint-line {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .docs-endpoint-copy {
    grid-column: 1 / -1;
    width: 100%;
  }

  .docs-endpoint-info {
    grid-template-columns: 1fr;
  }

  .docs-endpoint-info > div {
    min-height: auto;
    border-left: 0;
    border-bottom: 1px solid var(--docs-line);
  }

  .docs-endpoint-info > div:last-child {
    border-bottom: 0;
  }

  .docs-param-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .docs-param-key {
    direction: rtl;
    text-align: right;
  }

  .docs-response-row {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .docs-response-row code {
    display: none;
  }

  .docs-code pre {
    padding: 15px;
    font-size: 0.7rem;
  }

  .docs-search-dialog > footer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .docs-outline-indicator,
  .docs-outline a {
    transition: none !important;
  }

  .docs-outline a.active::after,
  .docs-outline a[aria-current="location"]::after {
    animation: none !important;
  }
}


/* AuthNox final — static transparent PNG brand */
img[src$="authnox-logo-512.png"] {
  display: block;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  transform: none !important;
  animation: none !important;
  transition: filter 220ms ease;
}
.brand:hover img[src$="authnox-logo-512.png"],
.brand:focus-visible img[src$="authnox-logo-512.png"],
.loader-logo:hover img[src$="authnox-logo-512.png"],
.dashboard-loader-logo:hover img[src$="authnox-logo-512.png"],
.security-brand:hover img[src$="authnox-logo-512.png"],
.customer-brand:hover img[src$="authnox-logo-512.png"] {
  transform: none !important;
  filter: drop-shadow(0 12px 26px rgba(255,48,58,.28));
}
.authnox-brand-showcase img[src$="authnox-logo-512.png"] {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
@media (prefers-reduced-motion: reduce) {
  img[src$="authnox-logo-512.png"] { transition: none !important; }
}

/* AuthNox v8.18.0 — docs SVG icon normalization */
.docs-svg-icon,
.docs-command-icon,
.docs-top-actions svg,
.docs-sidebar-search svg,
.docs-search-dialog-head svg,
.docs-menu-trigger svg,
#docsSidebarClose svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
}
.docs-command-icon { color: #a5a5b0; }
.docs-top-actions a,
.docs-top-actions button,
.docs-sidebar-search,
.docs-search-dialog-head { align-items: center; }
#docsSidebarClose svg,
.docs-menu-trigger svg { width: 20px; height: 20px; }

/* AuthNox v8.18.0 — smooth docs/API scrolling. */
html {
  scrollbar-gutter: stable;
}

body,
.docs-shell,
.docs-sidebar,
.docs-content,
.docs-code,
pre,
code {
  -webkit-overflow-scrolling: touch;
}

body,
.docs-shell,
.docs-sidebar,
.docs-content {
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(239, 51, 64, .55) rgba(255,255,255,.05);
}

body.is-scrolling .docs-glow,
body.is-scrolling .docs-cursor,
body.is-scrolling .docs-mouse-light {
  opacity: 0 !important;
}


/* AuthNox v11 — documentation wordmark. */
.docs-brand .authnox-brand-wordmark { width: 112px; height: auto; color: #fff; }
.docs-brand > span { display: grid; line-height: 1.2; }
.docs-brand > span small { white-space: nowrap; }
body.docs-light .docs-brand .authnox-brand-wordmark { color: #17171c; filter: none; }
@media (max-width: 760px) {
  .docs-brand .authnox-brand-wordmark { width: 96px; }
}
