/* ------------------------------------------------------------
   DOCS PAGE
------------------------------------------------------------ */

.docs-layout {
  display: flex;
  gap: 3rem;
}

.docs-copy {
  max-width: 480px;
}

/* Code blocks (docs-specific) */
.code-block {
  background: #0d0d0f;
  border: 1px solid var(--outline);
  box-shadow: inset 0 0 12px #ff660025;
  padding: 1.2rem;
  border-radius: var(--radius);
  overflow-x: auto;
}

/* ------------------------------------------------------------
   MOBILE FIXES
------------------------------------------------------------ */
@media (max-width: 820px) {

  .docs-layout {
    flex-direction: column;
    gap: 2rem;
  }

  .docs-copy {
    max-width: 100%;
  }

  /* --------------------------------------------------------
     ✅ MOBILE TABLE SCROLL FIX (REQUEST BODY TABLES)
     Enables horizontal scrolling for wide API tables
  -------------------------------------------------------- */
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
  }


  thead,
  tbody,
  tr {
    width: max-content;
    min-width: 100%;
  }

  th,
  td {
    white-space: nowrap;
  }
}

/* ------------------------------------------------------------
   DOCS NAV LIST — Modern SaaS Style
------------------------------------------------------------ */

.docs-nav {
  list-style: none;
  margin-top: 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.docs-nav li a {
  display: block;
  padding: 1.2rem 1.4rem;
  background: var(--bg-light);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  transition: 0.25s ease;
}

.docs-nav li a span {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-light);
}

.docs-nav li a p {
  margin-top: 6px;
  opacity: 0.75;
  font-size: 0.9rem;
}

.docs-nav li a:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 0 18px #ff660030;
}
