/* ===============================
   Swagger-style blocks (SCOPED)
   =============================== */

/* ---------- Host list reset (removes orange dot) ---------- */
.swagger-scope .tos-block__list,
.swagger-scope .tos-block__list_dot {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.swagger-scope .tos-block__list-item {
  list-style: none !important;
  padding-left: 0 !important;
}
.swagger-scope .tos-block__list-item::before,
.swagger-scope .tos-block__list-item::marker {
  content: none !important;
  display: none !important;
}

/* ---------- Operation card ---------- */
.swagger-scope .swg-op {
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 14px;
}

/* Header row */
.swagger-scope .swg-op__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  background: #fff;
  border: 0;
  text-align: left;
}
.swagger-scope .swg-op__head:hover {
  background: rgba(0, 0, 0, 0.02);
}

/* Method badge */
.swagger-scope .swg-method {
  background: #779c02; /* REQUIRED COLOR */
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Response status badges (not uppercase) */
.swagger-scope .swg-method--200,
.swagger-scope .swg-method--401 {
  text-transform: none;
  letter-spacing: 0;
}
.swagger-scope .swg-method--200 { background: #2e7d32; }
.swagger-scope .swg-method--401 { background: #b71c1c; }

/* Path pill */
.swagger-scope .swg-path {
  background: #f4f4f4;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1;
}

/* Chevron rotation */
.swagger-scope .swg-chev {
  margin-left: auto;
  transition: transform 0.2s ease;
}
.swagger-scope .swg-op.is-open .swg-chev {
  transform: rotate(180deg);
}

/* Dropdown body */
.swagger-scope .swg-op__body {
  display: none;
  border-top: 1px solid #eee;
}
.swagger-scope .swg-op.is-open .swg-op__body {
  display: block;
}
.swagger-scope .swg-op__inner {
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.65;
  color: #222;
}
.swagger-scope .swg-op__inner p {
  margin: 0 0 12px;
}
.swagger-scope .swg-op__inner p:last-child {
  margin-bottom: 0;
}

/* Optional URL display (if used) */
.swagger-scope .swg-url {
  background: #f6f6f6;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  word-break: break-all;
}

/* ---------- Description ---------- */
.swagger-scope .swg-desc {
  margin: 10px 0 16px;
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Section titles ---------- */
.swagger-scope .swg-section {
  margin-top: 22px;
}
.swagger-scope .swg-section__title,
.swagger-scope .swg-section-title {
  margin: 26px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.55);
}

/* ---------- Sample request (simple, no tabs) ---------- */
.swagger-scope .swg-sample {
  margin: 10px 0 18px;
}
.swagger-scope .swg-sample__title {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 10px;
}

/* Black code card wrapper for sample request */
.swagger-scope .swg-code-card {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b1220, #0f1a2e);
  color: #e7eefc;
  overflow: hidden;
}

/* Copy button inside the black box */
.swagger-scope .swg-code-card .swg-copy-btn {
  position: absolute;
  top: 10px;
  right: 12px;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 4px 8px;

  font-size: 0.75em;
  cursor: pointer;
  color: inherit;
  white-space: nowrap;
}
.swagger-scope .swg-code-card .swg-copy-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}
.swagger-scope .swg-code-card .swg-copy-icon {
  font-size: 1.05em;
  line-height: 1;
}

/* Sample request code block inside the card */
.swagger-scope .swg-code-card pre.swg-code {
  margin: 0;
  padding: 18px;
  padding-top: 44px; /* room for copy button */
  background: transparent;
  border-radius: 12px;
  overflow: auto;
  line-height: 1.6;
  font-size: 14px;
  text-align: left;
}
.swagger-scope .swg-code-card pre.swg-code code {
  display: block;
  white-space: pre;
  color: inherit;
  text-align: left;
}

/* ---------- Query parameters rows ---------- */
.swagger-scope .swg-param {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.swagger-scope .swg-param__left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.swagger-scope .swg-param__name,
.swagger-scope .swg-param-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}
.swagger-scope .swg-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.swagger-scope .swg-chip {
  background: #f0f0f0;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1;
}
.swagger-scope .swg-param__right {
  padding-top: 2px;
  font-size: 15px;
  line-height: 1.6;
  color: #222;
}
.swagger-scope .swg-param__right p {
  margin: 0 0 10px;
}
.swagger-scope .swg-param__right p:last-child {
  margin-bottom: 0;
}

/* Allowed values list (mode etc.) */
.swagger-scope .swg-param__options {
  margin: 0 0 10px 18px;
}
.swagger-scope .swg-param__options li {
  margin-bottom: 6px;
}
.swagger-scope .swg-param__options code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95em;
}

/* ---------- Code blocks (Success / Error responses) ---------- */
.swagger-scope pre.swg-code {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 16px 0 0;
  padding: 18px;
  border-radius: 12px;
  overflow: auto;
  line-height: 1.6;
  font-size: 14px;
  background: linear-gradient(135deg, #0b1220, #0f1a2e);
  color: #e7eefc;
  text-align: left; /* Force left alignment so JSON isn't centered */
}
.swagger-scope pre.swg-code code {
  display: block;
  font-size: inherit;
  line-height: inherit;
  white-space: pre;
  color: inherit;
  text-align: left;
}
.swagger-scope pre.swg-code code * {
  color: inherit;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .swagger-scope .swg-param {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
/* ---------- Success response field explanation (clean layout) ---------- */
.swagger-scope .swg-fields {
  margin-top: 10px;
}

.swagger-scope .swg-fields__lead {
  margin: 0 0 14px;
  color: #222;
  font-size: 15px;
  line-height: 1.6;
}

.swagger-scope .swg-fields__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 12px;
}

.swagger-scope .swg-fields__card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.swagger-scope .swg-fields__title {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
  margin-bottom: 10px;
}

.swagger-scope .swg-fields__dl {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 8px 12px;
  margin: 0;
}

.swagger-scope .swg-fields__dl dt {
  margin: 0;
  font-weight: 600;
}

.swagger-scope .swg-fields__dl dd {
  margin: 0;
  color: #222;
  line-height: 1.55;
}

.swagger-scope .swg-fields__dl code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95em;
  background: #f3f3f3;
  border-radius: 6px;
  padding: 2px 6px;
}

.swagger-scope .swg-fields__note {
  margin: 0;
  color: rgba(0,0,0,.6);
  font-size: 14px;
}

/* Responsive: stack cards */
@media (max-width: 860px) {
  .swagger-scope .swg-fields__grid {
    grid-template-columns: 1fr;
  }
  .swagger-scope .swg-fields__dl {
    grid-template-columns: 140px 1fr;
  }
}
/* ---------- 401 error cards (clean UI) ---------- */
.swagger-scope .swg-errgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 12px;
}

.swagger-scope .swg-errcard {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.swagger-scope .swg-errcard__title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.swagger-scope .swg-errcard__desc {
  margin: 0 0 12px;
  color: #222;
  font-size: 15px;
  line-height: 1.6;
}

/* Slightly tighter code block for errors */
.swagger-scope .swg-code--compact {
  margin-top: 0;
  padding: 14px;
  border-radius: 12px;
}
/* 1) Prevent clipped content inside expanded accordion panels */
.swg-op__body{
  overflow: visible;          /* avoid cutting content */
}

/* 2) Give the inner container breathing room so notes never get cut off */
.swg-op__inner{
  padding-bottom: 16px;
}

/* 3) Avoid the last paragraph/notice being visually “cut” by margins */
.swg-op__inner > *:last-child{
  margin-bottom: 0;
}

/* 4) (Optional but recommended) long notes wrap nicely and don’t overflow */
.swg-param__notice,
.swg-fields__note{
  white-space: normal;
  word-break: break-word;
}
.swg-method--400,
.swg-method--401,
.swg-method--403,
.swg-method--500 {
    background-color: #d32f2f; /* red */
    color: #fff;
}
/* Row that holds the link + toggle */
.tos__item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Toggle button with chevron */
.tos__toggle {
  border: 0;
  background: transparent;
  padding: 6px 8px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}

.tos__toggle:focus-visible {
  outline: 2px solid rgba(0,0,0,0.25);
  outline-offset: 2px;
}

/* Hide label visually but keep for screen readers */
.tos__toggle-label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Chevron */
.tos__toggle::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(0,0,0,0.45);
  border-bottom: 2px solid rgba(0,0,0,0.45);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.tos__list-item--accordion.is-open .tos__toggle::after {
  transform: rotate(-135deg);
}

/* Sublist container – animated height */
.tos__sublist {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0 0 0 18px;

  border-left: 1px solid rgba(0,0,0,0.10);

  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-2px);
  transition: max-height 220ms ease, opacity 160ms ease, transform 160ms ease;
}

/* Open state */
.tos__list-item--accordion.is-open .tos__sublist {
  opacity: 1;
  transform: translateY(0);
}

/* Sublist items */
.tos__sublist-item {
  margin: 8px 0;
  position: relative;
}

/* Connector line */
.tos__sublist-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 0.95em;
  width: 12px;
  height: 1px;
  background: rgba(0,0,0,0.10);
}
.doc-layout{
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.doc-nav{
  position: sticky;
  top: 16px;
  height: calc(100vh - 32px);
  overflow: auto;
  border-right: 1px solid rgba(0,0,0,.08);
  padding-right: 12px;
}

.doc-main{
  min-width: 0;
}

/* Side pane styling */
.swg-side{
  background: #fff;
}

.swg-side__header{
  position: sticky;
  top: 0;
  background: #fff;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  z-index: 1;
}

.swg-side__title{
  font-weight: 600;
  font-size: 14px;
}

.swg-side__groups{
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.swg-group{
  margin: 8px 0;
}

.swg-group__toggle{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 10px 10px;
  border: 0;
  background: rgba(0,0,0,.03);
  border-radius: 8px;
  cursor: pointer;
}

.swg-group__toggle:focus-visible{
  outline: 2px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}

.swg-group__name{
  font-weight: 600;
  font-size: 13px;
}

.swg-group__chev{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(0,0,0,.45);
  border-bottom: 2px solid rgba(0,0,0,.45);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.swg-group.is-open .swg-group__chev{
  transform: rotate(-135deg);
}

.swg-group__items{
  list-style: none;
  margin: 8px 0 0 0;
  padding: 0;
  overflow: hidden;

  max-height: 0;
  opacity: 0;
  transform: translateY(-2px);
  transition: max-height 220ms ease, opacity 160ms ease, transform 160ms ease;
}

.swg-group.is-open .swg-group__items{
  opacity: 1;
  transform: translateY(0);
}

.swg-item{
  margin: 6px 0;
}

.swg-item__link{
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}

.swg-item__link:hover{
  background: rgba(0,0,0,.04);
}

.swg-method{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 20px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
}

.swg-method--get{ background: #2f7d32; } /* GET green */
.swg-method--post{ background: #0b6fbf; } /* POST blue */
.swg-method--put{ background: #b7791f; }  /* PUT amber */
.swg-method--delete{ background: #c53030; } /* DEL red */

.swg-item__label{
  font-size: 13px;
  line-height: 1.2;
}

/* Active link (set via JS) */
.swg-item__link.is-active{
  background: rgba(47,125,50,.10);
  box-shadow: inset 0 0 0 1px rgba(47,125,50,.20);
}

/* Responsive: collapse to top nav on small screens */
@media (max-width: 980px){
  .doc-layout{
    grid-template-columns: 1fr;
  }
  .doc-nav{
    position: relative;
    height: auto;
    border-right: 0;
    padding-right: 0;
  }
}
/* ===== API DROPDOWN ===== */

.api-group {
  margin: 0;
  padding: 0;
}

/* Title row */
.api-group__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 10px 0;
  font-weight: 600;
}

/* Remove default triangle */
.api-group__title::-webkit-details-marker {
  display: none;
}

/* Caret icon */
.api-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

/* Rotate caret when open */
.api-group[open] .api-caret {
  transform: rotate(-135deg);
}

/* Endpoint list */
.api-endpoints {
  margin: 6px 0 10px 0;
  padding-left: 18px;
  border-left: 2px solid #e5e7eb;
}

/* Endpoint row */
.api-endpoint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

/* Hover effect */
.api-endpoint:hover {
  background: #f9fafb;
}

/* HTTP method badge */
.api-method {
  min-width: 42px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* GET style */
.api-method--get {
  background: #22c55e;
  color: #ffffff;
}

/* Endpoint link */
.api-endpoint a {
  text-decoration: none;
  color: #111827;
}

.api-endpoint a:hover {
  text-decoration: underline;
}
/* ===== API LIST (NO DROPDOWN) ===== */

.api-group {
  margin-top: 8px;
}

/* Section title */
.api-group__title {
  font-weight: 600;
  padding: 8px 0;
}

/* Endpoint list */
.api-endpoints {
  margin: 6px 0 10px 0;
  padding-left: 18px;
  border-left: 2px solid #e5e7eb;
}

/* Endpoint row */
.api-endpoint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

/* Hover effect */
.api-endpoint:hover {
  background: #f9fafb;
}

/* HTTP method badge */
.api-method {
  min-width: 42px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* GET style */
.api-method--get {
  background: #22c55e;
  color: #ffffff;
}

/* Endpoint link */
.api-endpoint a {
  text-decoration: none;
  color: #111827;
}

.api-endpoint a:hover {
  text-decoration: underline;
}
/* ===== Nested API endpoints ===== */

.api-endpoints {
  margin: 6px 0 10px 0;
  padding-left: 18px;
  border-left: 2px solid #e5e7eb;
}

/* each endpoint row */
.api-endpoint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

/* hover */
.api-endpoint:hover {
  background: #f9fafb;
}

/* HTTP badge */
.api-method {
  min-width: 42px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  color: #ffffff;
}

/* Swagger-style colors */
.api-method--get {
  background: #2f7d32; /* green */
}

.api-method--post {
  background: #0b6fbf; /* blue */
}

.api-method--put {
  background: #b7791f; /* amber */
}

.api-method--delete {
  background: #c53030; /* red */
}


/* endpoint link */
.api-endpoint a {
  color: #111827;
  text-decoration: none;
}

.api-endpoint a:hover {
  text-decoration: underline;
}

/* Row holding link + toggle */
.tos__item-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* Toggle button */
.tos__toggle{
  border:0;
  background:transparent;
  padding:6px 8px;
  cursor:pointer;
  border-radius:8px;
}

.tos__toggle:focus-visible{
  outline:2px solid rgba(0,0,0,.25);
  outline-offset:2px;
}

/* Hide label visually but keep for screen readers */
.tos__toggle-label{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* Chevron */
.tos__toggle::after{
  content:"";
  display:inline-block;
  width:10px;
  height:10px;
  border-right:2px solid rgba(0,0,0,.45);
  border-bottom:2px solid rgba(0,0,0,.45);
  transform:rotate(45deg);
  transition:transform 180ms ease;
}

.tos__list-item--accordion.is-open .tos__toggle::after{
  transform:rotate(-135deg);
}

/* Sublist (use your api-endpoints styles + animate open/close) */
.tos__sublist{
  overflow:hidden;
  max-height:0;
  opacity:0;
  transform:translateY(-2px);
  transition:max-height 220ms ease, opacity 160ms ease, transform 160ms ease;
}

.tos__list-item--accordion.is-open .tos__sublist{
  opacity:1;
  transform:translateY(0);
}

/* Visual separation for standalone APIs */
.tos__list > .tos__list-item:not(.tos__list-item--accordion) {
  margin-bottom: 20px;
}

/* Top search bar */
.api-nav-search {
  margin: 0 0 18px;
}

.api-nav-search__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.api-nav-search__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.api-nav-search__hint {
  font-size: 12px;
  line-height: 1;
  padding: 4px 8px;
  border: 1px solid #e1e1e1;
  border-radius: 999px;
  color: #666;
  user-select: none;
}

.api-nav-search__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.api-nav-search__input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  outline: none;
}

.api-nav-search__input:focus {
  border-color: #bcbcbc;
}

.api-nav-search__clear {
  padding: 10px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.api-nav-search__helper {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

/* clickable chips for endpoint switcher */
.swagger-scope .swg-chip--tab{
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
}

/* active tab: slightly stronger border + background without introducing new colors */
.swagger-scope .swg-chip--tab.is-active{
  border-color: rgba(0,0,0,.18);
  background: #eaeaea; /* still in your neutral chip family */
  font-weight: 700;
}

/* focus visibility */
.swagger-scope .swg-chip--tab:focus-visible{
  outline: 2px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}

/* Flat floating note for endpoint chips (documentation-style) */
.swagger-scope .swg-chip--tab {
  position: relative;
}

/* Floating note */
.swagger-scope .swg-chip--tab::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);

  max-width: 260px;
  padding: 6px 10px;

  background: #f6f6f6;
  color: #222;
  font-size: 12px;
  line-height: 1.45;

  border: 1px solid rgba(0,0,0,.15);
  border-radius: 6px;

  white-space: normal;
  text-align: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease, transform 120ms ease;
  z-index: 20;
}

/* Show on hover and keyboard focus */
.swagger-scope .swg-chip--tab:hover::after,
.swagger-scope .swg-chip--tab:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.swagger-scope .swg-param__name,
.swagger-scope .swg-param-name {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.swagger-scope .swg-param__left,
.swagger-scope .swg-param__right {
  min-width: 0;
}
/* Endpoint tabs (Trademark, Image, Owner, etc.) - TAB STYLE */
.endpoint-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0 0;
  border-bottom: 1px solid #e0e0e0;
  background-color: transparent;
}

.endpoint-tab {
  all: unset; 
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  box-sizing: border-box;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  border-radius: 6px 6px 0 0 !important;
  transition: all 0.2s ease-in-out;
  position: relative;
  border-bottom: 2px solid transparent;
}

.endpoint-tab:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #333;
}

.endpoint-tab:after {
  display: none;
}

.endpoint-tab.is-active,
.endpoint-tab[aria-selected="true"] {
  color: #779c02;
  background-color: transparent;
}

.endpoint-tab:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: -2px;
}

/* API section styling */
.api-section {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.api-section-header {
  font-size: 20px;
  font-weight: 600;
  color: #779c02;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #779c02;
}

/* Add some vertical separation */
.api_grid > div:nth-of-type(1) {
  border-right: 1px solid #ddd;
  padding-right: 20px;
}

@media screen and (min-width: 768px) {
  .api_grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
  }

  .swagger-scope .swg-code-card pre.swg-code code {
    white-space: pre-wrap;
  }

  .limiter {
    max-width: none;
  }

  .sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
    align-self: flex-start;
  }
}