/* Fumadocs / Syte Clean Documentation Page Styles - Optimized Compact Tree & Mobile Responsive */
.docs-view-container {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  background: #ffffff;
  color: #09090b;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.dark .docs-view-container {
  background: #09090b;
  color: #f4f4f5;
}

/* Header bar 1 - Modern Header matching media_1789295735255.jpg */
.docs-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 16px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 40;
  flex-shrink: 0;
}

body.dark .docs-topbar {
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.docs-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: -0.02em;
}

.docs-brand-logo {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: contain;
}

.docs-brand-cross {
  color: #06b6d4;
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
}

.docs-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.85;
}

.docs-menu-btn:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

body.dark .docs-menu-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.docs-topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.docs-icon-btn {
  background: none;
  border: none;
  padding: 6px;
  border-radius: 8px;
  color: #52525b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.docs-icon-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #09090b;
}

body.dark .docs-icon-btn {
  color: #a1a1aa;
}

body.dark .docs-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Main Layout */
.docs-layout-body {
  display: flex;
  flex: 1;
  position: relative;
  min-height: 0;
  height: calc(100vh - 52px);
  overflow: hidden;
  width: 100%;
}

/* Docs Sidebar - 30% Bigger (350px) & Slide-over Mobile with NO Right Shadow Leak */
.docs-sidebar-drawer {
  width: 350px;
  flex-shrink: 0;
  background: #fafafa;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  -webkit-overflow-scrolling: touch;
}

body.dark .docs-sidebar-drawer {
  background: #0c0c0e;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .docs-sidebar-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 340px;
    max-width: 88vw;
    height: 100vh;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    box-shadow: none;
    visibility: hidden;
    pointer-events: none;
  }
  .docs-sidebar-drawer.is-open {
    transform: translateX(0);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
    visibility: visible;
    pointer-events: auto;
  }
}

.docs-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 95;
}

.docs-sidebar-backdrop.is-open {
  display: block;
}

.docs-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark .docs-sidebar-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-theme-toggle-pill {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.04);
  padding: 2px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark .docs-theme-toggle-pill {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.1);
}

.docs-theme-btn {
  border: none;
  background: none;
  padding: 4px 7px;
  border-radius: 9999px;
  color: #71717a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.docs-theme-btn.active {
  background: #ffffff;
  color: #09090b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

body.dark .docs-theme-btn.active {
  background: #27272a;
  color: #ffffff;
}

/* Core Scope Switcher Card matching media_1789295735526.png (Enhanced Sizing) */
.docs-sidebar-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.docs-scope-card {
  margin: 16px 14px 12px 14px;
  padding: 13px 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .docs-scope-card {
  background: #141417;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-scope-card:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

body.dark .docs-scope-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.docs-scope-badge {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  flex-shrink: 0;
}

body.dark .docs-scope-badge {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f4f4f5;
}

.docs-scope-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.docs-scope-title {
  font-size: 14px;
  font-weight: 700;
  color: inherit;
  line-height: 1.25;
}

.docs-scope-desc {
  font-size: 11.5px;
  color: #71717a;
  line-height: 1.35;
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.dark .docs-scope-desc {
  color: #a1a1aa;
}

.docs-scope-switch {
  width: 16px;
  height: 16px;
  color: #71717a;
  flex-shrink: 0;
}

/* Nav groups & Nested Sidebar Tree - 30% Bigger Text & 160px Bottom Spacing */
.docs-sidebar-nav {
  padding: 8px 14px 160px 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.docs-nav-group-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #52525b;
  padding: 6px 10px 2px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

body.dark .docs-nav-group-title {
  color: #a1a1aa;
}

.docs-nav-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Parent Category Header Pill - 30% Bigger */
.docs-nav-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #3f3f46;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}

body.dark .docs-nav-parent {
  color: #e4e4e7;
}

.docs-nav-parent:hover {
  color: inherit;
  background: rgba(0, 0, 0, 0.05);
}

body.dark .docs-nav-parent:hover {
  background: rgba(255, 255, 255, 0.06);
}

.docs-parent-chevron {
  transition: transform 0.18s ease;
  width: 17px;
  height: 17px;
  opacity: 0.8;
}

.docs-nav-parent.is-open .docs-parent-chevron {
  transform: rotate(90deg);
}

/* Sub-items Container */
.docs-nav-subitems {
  display: none;
  flex-direction: column;
  gap: 3px;
  margin-left: 14px;
  padding-left: 12px;
  border-left: 1.5px solid rgba(0, 0, 0, 0.08);
  margin-top: 3px;
  margin-bottom: 6px;
}

body.dark .docs-nav-subitems {
  border-left-color: rgba(255, 255, 255, 0.08);
}

.docs-nav-subitems.is-open {
  display: flex;
}

/* Nav Item Link - 30% Bigger */
.docs-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 450;
  color: #52525b;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}

body.dark .docs-nav-item {
  color: #a1a1aa;
}

.docs-nav-item:hover {
  color: #09090b;
  background: rgba(0, 0, 0, 0.04);
}

body.dark .docs-nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.docs-nav-item.active {
  background: #e4e4e7;
  color: #09090b;
  font-weight: 600;
}

body.dark .docs-nav-item.active {
  background: #27272a;
  color: #ffffff;
  font-weight: 600;
}

/* Main Content Area - Generous Breathing Room from Left Edge */
.docs-main-content {
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 36px 64px 140px 64px;
  max-width: 960px;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scroll-behavior: smooth;
}

@media (max-width: 900px) {
  .docs-main-content {
    padding: 24px 24px 140px 24px;
    width: 100%;
    max-width: 100%;
  }
}

/* Enhanced Typography, Readability & Text Spacing */
.docs-article-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px 0;
  line-height: 1.2;
  color: #09090b;
}

body.dark .docs-article-title {
  color: #ffffff;
}

@media (max-width: 600px) {
  .docs-article-title {
    font-size: 28px;
  }
}

.docs-article-lead {
  font-size: 16.5px;
  line-height: 1.65;
  color: #52525b;
  margin: 0 0 24px 0;
}

body.dark .docs-article-lead {
  color: #d4d4d8;
}

/* Action buttons with generous bottom and top margin */
.docs-actions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 32px 0;
}

.docs-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #3f3f46;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

body.dark .docs-pill-btn {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.14);
  color: #e4e4e7;
}

.docs-pill-btn:hover {
  background: #f4f4f5;
  color: #09090b;
}

body.dark .docs-pill-btn:hover {
  background: #27272a;
  color: #ffffff;
}

/* Prose Typography - High Contrast & Clean Breathing Space */
.docs-prose {
  font-size: 15.5px;
  line-height: 1.75;
}

.docs-prose h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 36px 0 14px 0;
  color: #09090b;
  line-height: 1.3;
}

body.dark .docs-prose h2 {
  color: #ffffff;
}

.docs-prose h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 10px 0;
  color: #09090b;
  line-height: 1.35;
}

body.dark .docs-prose h3 {
  color: #f4f4f5;
}

.docs-prose p {
  margin: 0 0 18px 0;
  color: #27272a;
  line-height: 1.75;
}

body.dark .docs-prose p {
  color: #e4e4e7;
}

.docs-prose ul, .docs-prose ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
  color: #27272a;
  line-height: 1.75;
}

body.dark .docs-prose ul, body.dark .docs-prose ol {
  color: #e4e4e7;
}

.docs-prose li {
  margin-bottom: 8px;
}



/* Prose Typography */
.docs-prose {
  font-size: 15px;
  line-height: 1.7;
}

.docs-prose h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 28px 0 10px;
}

.docs-prose h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin: 20px 0 8px;
}

.docs-prose p {
  margin: 0 0 14px;
  color: #3f3f46;
}

body.dark .docs-prose p {
  color: #d4d4d8;
}

.docs-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: inherit;
}

body.dark .docs-badge-tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Modern Code Block / Command Block Styles
   ========================================================================== */
.docs-code-block {
  margin: 18px 0 24px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #09090b;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
}

body.dark .docs-code-block {
  border-color: rgba(255, 255, 255, 0.08);
  background: #09090b;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.docs-code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #141417;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.docs-code-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #f4f4f5;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.docs-code-title::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.docs-code-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-code-lang {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.docs-code-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  color: #e4e4e7;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.docs-code-copy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.docs-code-body {
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #f4f4f5;
  overflow-x: auto;
}

.docs-code-lines {
  user-select: none;
  color: #52525b;
  text-align: right;
  padding-right: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.docs-code-lines span {
  display: block;
}

.docs-code-text {
  flex: 1;
  margin: 0;
  white-space: pre;
  color: #38bdf8;
}


/* 2. API BOX */
.docs-api-card {
  margin: 20px 0 28px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

body.dark .docs-api-card {
  background: #0f0f13;
  border-color: rgba(255, 255, 255, 0.1);
}

.docs-api-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.docs-api-endpoint {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-api-method-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
}

.docs-api-method-badge.get { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.docs-api-method-badge.post { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.docs-api-method-badge.delete { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.docs-api-path-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
}

.docs-api-desc-text {
  font-size: 13.5px;
  color: #71717a;
  margin-bottom: 20px;
}

.docs-api-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 800px) {
  .docs-api-columns {
    grid-template-columns: 1fr 1.15fr;
  }
}

.docs-api-col-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.docs-param-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin-bottom: 20px;
}

.docs-param-table th {
  text-align: left;
  color: #71717a;
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.dark .docs-param-table th {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.docs-param-table td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

body.dark .docs-param-table td {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.docs-param-name {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 11.5px;
}

body.dark .docs-param-name {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.docs-request-box {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #fbfbfa;
  overflow: hidden;
}

body.dark .docs-request-box {
  background: #141418;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-request-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 11.5px;
  color: #71717a;
}

body.dark .docs-request-head {
  background: rgba(255, 255, 255, 0.02);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.docs-request-code {
  padding: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  overflow-x: auto;
  margin: 0;
}

/* Tabs */
.docs-api-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
}

body.dark .docs-api-tabs {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.docs-api-tab-btn {
  background: none;
  border: none;
  padding: 5px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: #71717a;
  cursor: pointer;
  position: relative;
}

.docs-api-tab-btn.active {
  color: #09090b;
  font-weight: 600;
}

body.dark .docs-api-tab-btn.active {
  color: #ffffff;
}

.docs-api-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #09090b;
}

body.dark .docs-api-tab-btn.active::after {
  background: #ffffff;
}

.docs-response-box {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #fbfbfa;
  overflow: hidden;
}

body.dark .docs-response-box {
  background: #141418;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-response-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  font-size: 11.5px;
  color: #71717a;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark .docs-response-head {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.docs-response-code {
  padding: 12px;
  display: flex;
  gap: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  overflow-x: auto;
}

/* 3. ALERT / INFO BOXES */
.docs-alerts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}

.docs-alert-card {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.dark .docs-alert-card {
  background: #121216;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-alert-card-header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}

.docs-alert-card-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.docs-alert-card.note .docs-alert-card-icon { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.docs-alert-card.tip .docs-alert-card-icon { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.docs-alert-card.warning .docs-alert-card-icon { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.docs-alert-card.error .docs-alert-card-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.docs-alert-card-desc {
  font-size: 12px;
  color: #71717a;
  line-height: 1.5;
}

body.dark .docs-alert-card-desc {
  color: #a1a1aa;
}

/* Collapsible Details / Summary */
.docs-toggle {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  margin: 12px 0;
  overflow: hidden;
}

body.dark .docs-toggle {
  border-color: rgba(255, 255, 255, 0.1);
}

.docs-toggle summary {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.02);
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.dark .docs-toggle summary {
  background: rgba(255, 255, 255, 0.03);
}

.docs-toggle summary::-webkit-details-marker {
  display: none;
}

.docs-toggle-content {
  padding: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13.5px;
  color: inherit;
}

body.dark .docs-toggle-content {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* Tables */
.docs-table-wrapper {
  overflow-x: auto;
  margin: 18px 0;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

body.dark .docs-table-wrapper {
  border-color: rgba(255, 255, 255, 0.1);
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.docs-table th {
  background: rgba(0, 0, 0, 0.04);
  padding: 9px 12px;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.dark .docs-table th {
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.docs-table td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark .docs-table td {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

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

/* Feedback Box */
.docs-feedback-row {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

body.dark .docs-feedback-row {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.docs-feedback-title {
  font-size: 13.5px;
  font-weight: 600;
}

.docs-feedback-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-feedback-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  color: #71717a;
  cursor: pointer;
  transition: all 0.15s;
}

body.dark .docs-feedback-btn {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.15);
  color: #a1a1aa;
}

.docs-feedback-btn:hover, .docs-feedback-btn.active {
  color: inherit;
  border-color: #06b6d4;
  background: rgba(6, 182, 212, 0.08);
}

.docs-last-updated {
  font-size: 11.5px;
  color: #a1a1aa;
  margin-top: 10px;
}

/* Navigation Cards at Bottom */
.docs-nav-cards-wrap {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.docs-nav-card {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.15s;
}

body.dark .docs-nav-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: #121216;
}

.docs-nav-card:hover {
  border-color: rgba(6, 182, 212, 0.5);
  background: rgba(6, 182, 212, 0.03);
}

.docs-nav-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.docs-nav-card-head.right {
  justify-content: flex-end;
}

.docs-nav-card-desc {
  font-size: 11.5px;
  color: #71717a;
  margin-top: 3px;
  margin-left: 18px;
}

.docs-nav-card-desc.right {
  text-align: right;
  margin-left: 0;
  margin-right: 18px;
}

/* Floating Ask AI Button */
.docs-floating-ask-ai {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 9999px;
  background: #ffffff;
  color: #09090b;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.15s;
}

body.dark .docs-floating-ask-ai {
  background: #18181b;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.docs-floating-ask-ai:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}


/* ==========================================================================
   Fumadocs API Reference Detailed Page & Interactive Runner Styles
   ========================================================================== */

.docs-api-breadcrumb {
  font-size: 13px;
  color: #71717a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 500;
}

.docs-api-breadcrumb span {
  color: #a1a1aa;
  font-size: 11px;
}

body.dark .docs-api-breadcrumb {
  color: #a1a1aa;
}

body.dark .docs-api-breadcrumb span {
  color: #52525b;
}

.docs-api-top-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.docs-api-ref-badge {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.05);
  color: #71717a;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark .docs-api-ref-badge {
  background: rgba(255, 255, 255, 0.06);
  color: #a1a1aa;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-copy-md-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  color: #18181b;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

body.dark .docs-copy-md-btn {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f4f4f5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.docs-copy-md-btn:hover {
  background: #f4f4f5;
  border-color: rgba(0, 0, 0, 0.2);
}

body.dark .docs-copy-md-btn:hover {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.2);
}

.docs-api-detail-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 6px 0;
  color: inherit;
}

.docs-api-detail-sub {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #71717a;
  margin: 0 0 10px 0;
}

body.dark .docs-api-detail-sub {
  color: #a1a1aa;
}

.docs-api-detail-desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: #52525b;
  margin: 0 0 24px 0;
}

body.dark .docs-api-detail-desc {
  color: #a1a1aa;
}

/* Interactive Request Card */
.docs-api-req-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #ffffff;
  padding: 16px;
  margin-bottom: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.dark .docs-api-req-card {
  background: #121215;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.docs-api-url-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: #64748b;
}

body.dark .docs-api-url-row {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

.docs-api-exec-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark .docs-api-exec-row {
  background: #0e0e11;
  border-color: rgba(255, 255, 255, 0.06);
}

.docs-api-method-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.docs-api-method-pill.post {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}
body.dark .docs-api-method-pill.post {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.docs-api-method-pill.get {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}
body.dark .docs-api-method-pill.get {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.docs-api-method-pill.delete {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}
body.dark .docs-api-method-pill.delete {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.docs-api-method-pill.put {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}
body.dark .docs-api-method-pill.put {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.docs-api-endpoint-path {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  font-weight: 600;
  color: inherit;
  flex: 1;
  word-break: break-all;
}

.docs-api-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 8px;
  background: #09090b;
  color: #ffffff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

body.dark .docs-api-send-btn {
  background: #f4f4f5;
  color: #09090b;
}

.docs-api-send-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.docs-api-send-btn:active {
  transform: scale(0.98);
}

/* Collapsible Sub-drawers inside Runner */
.docs-api-subcollapse {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 9px;
  background: #fafafa;
  overflow: hidden;
}

body.dark .docs-api-subcollapse {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.06);
}

.docs-api-subcollapse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  font-weight: 600;
  list-style: none;
}

.docs-api-subcollapse-head::-webkit-details-marker {
  display: none;
}

.docs-api-subcollapse-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: inherit;
}

.docs-api-subcollapse-chev {
  width: 14px;
  height: 14px;
  color: #a1a1aa;
  transition: transform 0.2s;
}

.docs-api-subcollapse[open] .docs-api-subcollapse-chev {
  transform: rotate(180deg);
}

.docs-api-subcollapse-body {
  padding: 12px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #ffffff;
}

body.dark .docs-api-subcollapse-body {
  background: #121215;
  border-top-color: rgba(255, 255, 255, 0.05);
}

.docs-api-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.docs-api-input-lbl {
  font-size: 12px;
  font-weight: 600;
  color: #71717a;
}

body.dark .docs-api-input-lbl {
  color: #a1a1aa;
}

.docs-api-text-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 7px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fafafa;
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  outline: none;
}

body.dark .docs-api-text-input {
  background: #1c1c20;
  border-color: rgba(255, 255, 255, 0.12);
}

.docs-api-text-input:focus {
  border-color: #3b82f6;
}

.docs-api-json-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 7px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fafafa;
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.5;
  outline: none;
  resize: vertical;
}

body.dark .docs-api-json-textarea {
  background: #1c1c20;
  border-color: rgba(255, 255, 255, 0.12);
}

.docs-api-json-textarea:focus {
  border-color: #3b82f6;
}

/* Live Response Output Area */
.docs-api-response-live {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9px;
  background: #09090b;
  color: #f4f4f5;
  overflow: hidden;
  margin-top: 4px;
}

.docs-api-response-live.hidden {
  display: none;
}

.docs-api-response-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #18181b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-api-res-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}

.badge-200 {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 700;
}

.badge-error {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 700;
}

.res-time {
  color: #71717a;
  font-size: 11px;
}

.docs-api-response-code {
  padding: 12px 14px;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.5;
  overflow-x: auto;
  max-height: 320px;
  color: #38bdf8;
}

/* Sections for Auth and Request Body */
.docs-api-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 6px 0;
}

.docs-api-section-header h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  color: inherit;
}

.docs-api-type-tag {
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #71717a;
  background: rgba(0, 0, 0, 0.05);
  padding: 3px 8px;
  border-radius: 6px;
}

body.dark .docs-api-type-tag {
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.06);
}

.docs-api-section-desc {
  font-size: 13.5px;
  color: #71717a;
  margin: 0 0 14px 0;
}

body.dark .docs-api-section-desc {
  color: #a1a1aa;
}

.docs-api-sample-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-radius: 9px;
  background: #f4f4f5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 8px;
}

body.dark .docs-api-sample-box {
  background: #141417;
  border-color: rgba(255, 255, 255, 0.06);
}

.docs-api-sample-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.docs-api-sample-key {
  font-weight: 700;
  color: inherit;
}

.docs-api-sample-val {
  color: #71717a;
}

body.dark .docs-api-sample-val {
  color: #a1a1aa;
}

.docs-api-in-header-badge {
  font-size: 12.5px;
  color: #71717a;
  margin-bottom: 24px;
}

.docs-api-in-header-badge code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 5px;
  color: inherit;
}

body.dark .docs-api-in-header-badge code {
  background: rgba(255, 255, 255, 0.08);
}

/* Parameter Cards */
.docs-api-param-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.docs-api-param-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #ffffff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.dark .docs-api-param-card {
  background: #121215;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-api-param-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.param-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  color: inherit;
}

.param-req-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.param-opt-badge {
  font-size: 10.5px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(161, 161, 170, 0.15);
  color: #71717a;
}

body.dark .param-opt-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
}

.param-type {
  font-size: 12px;
  color: #71717a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

body.dark .param-type {
  color: #a1a1aa;
}

.param-desc {
  font-size: 13.5px;
  color: #52525b;
  line-height: 1.45;
  margin: 0;
}

body.dark .param-desc {
  color: #a1a1aa;
}

.param-constraint-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: 8px;
  background: #f4f4f5;
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: #52525b;
  margin-top: 4px;
}

body.dark .param-constraint-box {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.06);
  color: #a1a1aa;
}

/* Clickable API card hover effect */
.docs-api-card {
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.docs-api-card:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.1);
}

body.dark .docs-api-card:hover {
  border-color: #60a5fa;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}


/* ==========================================================================
   Fumadocs White Tabbed Command Block matching media_1789298416094.jpg
   ========================================================================== */
.docs-cmd-tabs-card {
  margin: 18px 0 24px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8fafc;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

body.dark .docs-cmd-tabs-card {
  background: #141417;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.docs-cmd-tabs-header {
  padding: 8px 16px 0 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.01);
}

body.dark .docs-cmd-tabs-header {
  border-bottom-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.01);
}

.docs-cmd-tabs-list {
  display: flex;
  align-items: center;
  gap: 18px;
}

.docs-cmd-tab {
  padding: 6px 0 8px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #71717a;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

body.dark .docs-cmd-tab {
  color: #a1a1aa;
}

.docs-cmd-tab:hover {
  color: #09090b;
}

body.dark .docs-cmd-tab:hover {
  color: #ffffff;
}

.docs-cmd-tab.active {
  color: #d97706;
}

body.dark .docs-cmd-tab.active {
  color: #f59e0b;
}

.docs-cmd-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #f59e0b;
  border-radius: 2px;
}

.docs-cmd-tabs-body {
  padding: 12px 16px;
}

.docs-cmd-snippet {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.docs-cmd-snippet.active {
  display: flex;
}

.docs-cmd-snippet code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  line-height: 1.5;
  color: #09090b;
  word-break: break-all;
}

body.dark .docs-cmd-snippet code {
  color: #f4f4f5;
}

.cmd-cli {
  font-style: italic;
  font-weight: 600;
  color: #2563eb;
}

body.dark .cmd-cli {
  color: #60a5fa;
}

.cmd-action, .cmd-flag {
  color: #16a34a;
  font-weight: 500;
}

body.dark .cmd-action, body.dark .cmd-flag {
  color: #4ade80;
}

.cmd-target, .cmd-arg {
  color: #09090b;
}

body.dark .cmd-target, body.dark .cmd-arg {
  color: #f4f4f5;
}

.docs-cmd-copy-btn {
  background: transparent;
  border: none;
  padding: 6px;
  border-radius: 6px;
  color: #71717a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}

body.dark .docs-cmd-copy-btn {
  color: #a1a1aa;
}

.docs-cmd-copy-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #09090b;
}

body.dark .docs-cmd-copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Action Buttons Bar at Top of Article */
.docs-actions-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.docs-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #3f3f46;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

body.dark .docs-pill-btn {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.12);
  color: #d4d4d8;
}

.docs-pill-btn:hover {
  background: #f4f4f5;
  color: #09090b;
}

body.dark .docs-pill-btn:hover {
  background: #27272a;
  color: #ffffff;
}

/* Hero Panel Image 2 */
.docs-hero-panel {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 0;
  margin-bottom: 28px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

body.dark .docs-hero-panel {
  background: #121215;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.docs-hero-panel img {
  width: 100%;
  height: auto;
  display: block;
}


/* ==========================================================================
   Minimalist API Page Layout matching media_1789303525729.jpg
   ========================================================================== */
.docs-api-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 10px 0;
}

.docs-api-method-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.02em;
}

.docs-api-method-badge.get {
  background: #dcfce7;
  color: #16a34a;
}
body.dark .docs-api-method-badge.get {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.docs-api-method-badge.post {
  background: #dbeafe;
  color: #2563eb;
}
body.dark .docs-api-method-badge.post {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.docs-api-method-badge.put {
  background: #fef3c7;
  color: #d97706;
}
body.dark .docs-api-method-badge.put {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.docs-api-method-badge.delete {
  background: #fee2e2;
  color: #dc2626;
}
body.dark .docs-api-method-badge.delete {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.docs-api-path {
  font-size: 18px;
  font-weight: 700;
  color: #3f3f46;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -0.01em;
}
body.dark .docs-api-path {
  color: #e4e4e7;
}

.docs-api-summary {
  font-size: 15px;
  color: #52525b;
  margin: 0 0 16px 0;
  line-height: 1.5;
}
body.dark .docs-api-summary {
  color: #a1a1aa;
}

/* Horizontal Parameter Pills */
.docs-api-pills-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 20px 0;
}

.docs-api-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  color: #3f3f46;
  font-size: 13px;
  font-weight: 500;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
body.dark .docs-api-pill {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.12);
  color: #d4d4d8;
}

.docs-api-pill.required {
  border-color: rgba(239, 68, 68, 0.3);
  color: #dc2626;
}
body.dark .docs-api-pill.required {
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.docs-api-desc {
  font-size: 15px;
  color: #3f3f46;
  line-height: 1.6;
  margin: 0 0 24px 0;
}
body.dark .docs-api-desc {
  color: #d4d4d8;
}

.docs-api-link {
  color: #2563eb;
  text-decoration: underline;
  cursor: pointer;
}
body.dark .docs-api-link {
  color: #60a5fa;
}

/* Response Section */
.docs-api-res-title {
  font-size: 17px;
  font-weight: 700;
  color: #09090b;
  margin: 32px 0 14px 0;
  letter-spacing: -0.01em;
}
body.dark .docs-api-res-title {
  color: #ffffff;
}

.docs-api-res-box {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #f8fafc;
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  line-height: 1.6;
  color: #09090b;
  overflow-x: auto;
}
body.dark .docs-api-res-box {
  background: #121215;
  border-color: rgba(255, 255, 255, 0.08);
  color: #38bdf8;
}


/* ==========================================================================
   Sidebar Drawers - Subtle Opacity & Crisp Readability
   ========================================================================== */
.docs-nav-group-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #71717a;
  opacity: 0.75;
  padding: 6px 10px 2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.dark .docs-nav-group-title {
  color: #a1a1aa;
  opacity: 0.75;
}

.docs-nav-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  font-size: 13.5px;
  font-weight: 450;
  color: #52525b;
  opacity: 0.85;
  border-radius: 7px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}

body.dark .docs-nav-parent {
  color: #a1a1aa;
  opacity: 0.85;
}

.docs-nav-parent:hover {
  color: #09090b;
  opacity: 1;
  background: rgba(0, 0, 0, 0.04);
}

body.dark .docs-nav-parent:hover {
  color: #ffffff;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
}

.docs-parent-chevron {
  transition: transform 0.18s ease;
  width: 15px;
  height: 15px;
  opacity: 0.6;
}

.docs-nav-parent.is-open .docs-parent-chevron {
  transform: rotate(90deg);
}

.docs-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 400;
  color: #71717a;
  opacity: 0.8;
  border-radius: 7px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}

body.dark .docs-nav-item {
  color: #a1a1aa;
  opacity: 0.8;
}

.docs-nav-item:hover {
  color: #09090b;
  opacity: 1;
  background: rgba(0, 0, 0, 0.04);
}

body.dark .docs-nav-item:hover {
  color: #ffffff;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
}

.docs-nav-item.active {
  background: #e4e4e7;
  color: #09090b;
  font-weight: 550;
  opacity: 1;
}

body.dark .docs-nav-item.active {
  background: #27272a;
  color: #ffffff;
  font-weight: 550;
  opacity: 1;
}

/* ==========================================================================
   Clean All-Gray Code Snippet Card matching media_1789303525729.jpg
   ========================================================================== */
.docs-code-gray-card {
  margin: 18px 0 26px 0;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8fafc;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

body.dark .docs-code-gray-card {
  background: #141417;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.docs-code-gray-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark .docs-code-gray-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.docs-code-file-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #3f3f46;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

body.dark .docs-code-file-label {
  color: #d4d4d8;
}

.docs-code-ts-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3178c6;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  letter-spacing: -0.05em;
}

.docs-code-gray-body {
  padding: 14px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.6;
  color: #09090b;
  overflow-x: auto;
}

body.dark .docs-code-gray-body {
  color: #f4f4f5;
}

.docs-code-gray-body pre {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  white-space: pre;
}

.code-kw {
  color: #7c3aed;
  font-weight: 600;
}
body.dark .code-kw {
  color: #c084fc;
}

.code-fn {
  color: #2563eb;
  font-weight: 600;
}
body.dark .code-fn {
  color: #60a5fa;
}

.code-str {
  color: #16a34a;
}
body.dark .code-str {
  color: #4ade80;
}

.code-diff-add {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  margin: 2px -16px;
  padding: 2px 16px;
  color: #15803d;
}
body.dark .code-diff-add {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

/* ==========================================================================
   Developer Specs: What to Send & What to Receive Cards
   ========================================================================== */
.docs-dev-specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0 28px 0;
}

@media (min-width: 768px) {
  .docs-dev-specs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.docs-spec-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #ffffff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.dark .docs-spec-card {
  background: #141417;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-spec-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #09090b;
}

body.dark .docs-spec-card-head {
  color: #ffffff;
}

.docs-spec-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.docs-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.45;
}

.docs-spec-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 600;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

body.dark .docs-spec-key {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.15);
}

.docs-spec-val {
  color: #52525b;
}

body.dark .docs-spec-val {
  color: #a1a1aa;
}

/* ==========================================================================
   Full-Text Search & AI Modal
   ========================================================================== */
.docs-search-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px 20px;
}

.docs-search-modal-backdrop.is-open {
  display: flex;
}

.docs-search-modal {
  width: 100%;
  max-width: 620px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: docsModalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .docs-search-modal {
  background: #141417;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

@keyframes docsModalIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.docs-search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.dark .docs-search-input-row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.docs-search-modal-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  color: inherit;
  outline: none;
}

.docs-search-results-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.docs-search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
}

.docs-search-result-item:hover, .docs-search-result-item.selected {
  background: rgba(0, 0, 0, 0.04);
}

body.dark .docs-search-result-item:hover, body.dark .docs-search-result-item.selected {
  background: rgba(255, 255, 255, 0.06);
}

.docs-search-res-title {
  font-size: 14px;
  font-weight: 600;
  color: #09090b;
}

body.dark .docs-search-res-title {
  color: #f4f4f5;
}

.docs-search-res-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ==========================================================================
   Fumadocs Modern Unified API Layout & White-Gray Palette Styles
   ========================================================================== */

/* Subtab Navigation Item & Method Badge Styling */
.docs-nav-subitems .docs-nav-item {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 5px 8px !important;
  font-size: 12.5px !important;
  color: #52525b !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.12s ease !important;
  width: 100% !important;
}

body.dark .docs-nav-subitems .docs-nav-item {
  color: #a1a1aa !important;
}

.docs-nav-subitems .docs-nav-item:hover {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #09090b !important;
}

body.dark .docs-nav-subitems .docs-nav-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
}

.docs-nav-subitems .docs-nav-item.active {
  background: #e4e4e7 !important;
  color: #09090b !important;
  font-weight: 600 !important;
}

body.dark .docs-nav-subitems .docs-nav-item.active {
  background: #27272a !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

.docs-nav-subitems .docs-api-method-badge {
  flex-shrink: 0 !important;
  min-width: 40px !important;
  width: 40px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.03em !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  border: 1px solid transparent !important;
}

/* Light mode white-gray palette with gentle tint */
.docs-nav-subitems .docs-api-method-badge.get {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.25) !important;
}

.docs-nav-subitems .docs-api-method-badge.post {
  background: #eff6ff !important;
  color: #2563eb !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
}

.docs-nav-subitems .docs-api-method-badge.put,
.docs-nav-subitems .docs-api-method-badge.patch {
  background: #fffbeb !important;
  color: #d97706 !important;
  border-color: rgba(217, 119, 6, 0.25) !important;
}

.docs-nav-subitems .docs-api-method-badge.delete {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border-color: rgba(220, 38, 38, 0.25) !important;
}

/* Dark mode */
body.dark .docs-nav-subitems .docs-api-method-badge.get {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
}

body.dark .docs-nav-subitems .docs-api-method-badge.post {
  background: rgba(59, 130, 246, 0.12) !important;
  color: #60a5fa !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
}

body.dark .docs-nav-subitems .docs-api-method-badge.put,
body.dark .docs-nav-subitems .docs-api-method-badge.patch {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #fbbf24 !important;
  border-color: rgba(245, 158, 11, 0.25) !important;
}

body.dark .docs-nav-subitems .docs-api-method-badge.delete {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #f87171 !important;
  border-color: rgba(239, 68, 68, 0.25) !important;
}

.docs-nav-subitems .docs-nav-item span:not(.docs-api-method-badge) {
  flex: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 12.5px !important;
}

/* Top Pill Header */
.docs-api-top-pill-row {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f4f4f5;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 6px 12px;
  margin-bottom: 20px;
  max-width: 100%;
}

body.dark .docs-api-top-pill-row {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-api-top-pill-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-api-top-path {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  color: #18181b;
}

body.dark .docs-api-top-path {
  color: #f4f4f5;
}

.docs-api-top-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #52525b;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

body.dark .docs-api-top-copy-btn {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.12);
  color: #d4d4d8;
}

.docs-api-top-copy-btn:hover {
  background: #f4f4f5;
  color: #09090b;
}

body.dark .docs-api-top-copy-btn:hover {
  background: #3f3f46;
  color: #ffffff;
}

.docs-api-page-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #09090b;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

body.dark .docs-api-page-title {
  color: #f4f4f5;
}

.docs-api-page-lead {
  font-size: 15px;
  line-height: 1.6;
  color: #71717a;
  margin: 0 0 20px 0;
}

body.dark .docs-api-page-lead {
  color: #a1a1aa;
}

/* Developer Quick Specs Bar */
.docs-api-dev-specs-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  margin-bottom: 24px;
}

body.dark .docs-api-dev-specs-bar {
  background: #16161a;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-api-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}

body.dark .docs-api-spec-chip {
  color: #a1a1aa;
}

.docs-api-spec-chip svg {
  width: 14px;
  height: 14px;
  color: #3b82f6;
  flex-shrink: 0;
}

.docs-api-spec-chip code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid #e2e8f0;
}

body.dark .docs-api-spec-chip code {
  color: #f4f4f5;
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.1);
}

/* Dual-Card Container (White-Gray Color Palette) */
.docs-api-spec-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease;
}

body.dark .docs-api-spec-card {
  background: #111114;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.docs-api-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e4e4e7;
}

body.dark .docs-api-card-header {
  background: #16161a;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.docs-api-card-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-api-card-title-group svg {
  width: 15px;
  height: 15px;
}

.docs-api-card-title-group svg.req {
  color: #2563eb;
}

.docs-api-card-title-group svg.res {
  color: #10b981;
}

.docs-api-card-heading {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1e293b;
}

body.dark .docs-api-card-heading {
  color: #e4e4e7;
}

.docs-api-content-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
}

body.dark .docs-api-content-tag {
  background: #27272a;
  color: #a1a1aa;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-api-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

body.dark .docs-api-status-badge {
  color: #34d399;
}

.docs-api-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.docs-api-card-body {
  padding: 18px;
}

/* Section Subhead With Icons For Visual Rhythm & Spacing */
.docs-api-section-subhead {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin: 18px 0 10px 0;
}

.docs-api-section-subhead:first-child {
  margin-top: 0;
}

.docs-api-section-subhead svg {
  width: 14px;
  height: 14px;
  color: #3b82f6;
  flex-shrink: 0;
}

.docs-api-section-subhead.res-subhead svg {
  color: #10b981;
}

body.dark .docs-api-section-subhead {
  color: #a1a1aa;
}

/* Params & Schema Tables */
.docs-api-params-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

body.dark .docs-api-params-table {
  border-top-color: rgba(255, 255, 255, 0.06);
}

.docs-api-param-row {
  padding: 11px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

body.dark .docs-api-param-row {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.docs-api-param-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.docs-api-param-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

body.dark .docs-api-param-name {
  color: #f4f4f5;
}

.docs-api-param-type {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  color: #64748b;
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 4px;
}

body.dark .docs-api-param-type {
  background: #27272a;
  color: #a1a1aa;
}

.docs-api-param-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.docs-api-param-badge.required {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.docs-api-param-badge.optional {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

body.dark .docs-api-param-badge.required {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.25);
}

body.dark .docs-api-param-badge.optional {
  background: #27272a;
  color: #a1a1aa;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-api-param-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: #475569;
}

body.dark .docs-api-param-desc {
  color: #a1a1aa;
}

/* HTTP Status Codes Table */
.docs-api-status-codes-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.docs-api-status-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
}

body.dark .docs-api-status-item {
  background: #16161a;
  border-color: rgba(255, 255, 255, 0.06);
}

.docs-api-status-code-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.docs-api-status-code-tag.s200 { background: #ecfdf5; color: #059669; border: 1px solid rgba(5, 150, 105, 0.2); }
.docs-api-status-code-tag.s400 { background: #fffbeb; color: #d97706; border: 1px solid rgba(217, 119, 6, 0.2); }
.docs-api-status-code-tag.s401 { background: #fdf2f8; color: #db2777; border: 1px solid rgba(219, 39, 119, 0.2); }
.docs-api-status-code-tag.s404 { background: #fef2f2; color: #dc2626; border: 1px solid rgba(220, 38, 38, 0.2); }
.docs-api-status-code-tag.s500 { background: #f3f4f6; color: #4b5563; border: 1px solid rgba(75, 85, 99, 0.2); }

body.dark .docs-api-status-code-tag.s200 { background: rgba(16, 185, 129, 0.15); color: #34d399; }
body.dark .docs-api-status-code-tag.s400 { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
body.dark .docs-api-status-code-tag.s401 { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
body.dark .docs-api-status-code-tag.s404 { background: rgba(239, 68, 68, 0.15); color: #f87171; }
body.dark .docs-api-status-code-tag.s500 { background: rgba(107, 114, 128, 0.15); color: #9ca3af; }

.docs-api-status-desc {
  font-size: 13px;
  color: #475569;
}

body.dark .docs-api-status-desc {
  color: #a1a1aa;
}

/* Code Snippet Box (Clean White-Gray Color Palette!) */
.docs-api-code-terminal {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  overflow: hidden;
  margin-top: 14px;
}

body.dark .docs-api-code-terminal {
  background: #121215;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-api-code-terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

body.dark .docs-api-code-terminal-header {
  background: #18181b;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.docs-api-terminal-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.docs-api-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.12s ease;
}

.docs-api-tab-btn svg {
  width: 12px;
  height: 12px;
}

.docs-api-tab-btn:hover {
  color: #0f172a;
}

body.dark .docs-api-tab-btn:hover {
  color: #ffffff;
}

.docs-api-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

body.dark .docs-api-tab-btn.active {
  background: #27272a;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.docs-api-terminal-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.dark .docs-api-terminal-copy-btn {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.12);
  color: #d4d4d8;
}

.docs-api-terminal-copy-btn:hover {
  background: #f8fafc;
  color: #0f172a;
}

body.dark .docs-api-terminal-copy-btn:hover {
  background: #3f3f46;
  color: #ffffff;
}

.docs-api-code-terminal-content {
  padding: 14px 16px;
  overflow-x: auto;
}

.docs-api-code-terminal-content pre {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}

.docs-api-code-terminal-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  color: #0f172a;
  white-space: pre;
}

body.dark .docs-api-code-terminal-content code {
  color: #f4f4f5;
}

/* Interactive Test Request Button */
.docs-api-action-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.docs-api-test-req-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #09090b;
  color: #ffffff;
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.dark .docs-api-test-req-btn {
  background: #ffffff;
  color: #09090b;
}

.docs-api-test-req-btn:hover {
  opacity: 0.9;
}

.docs-api-live-test-output {
  margin-top: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: docsModalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark .docs-api-live-test-output {
  background: #141417;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-api-live-test-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
}

body.dark .docs-api-live-test-head {
  color: #a1a1aa;
}


/* ==========================================================================
   EXACT DESIGN STYLING MATCHING media_1789314620588.png
   ========================================================================== */

.docs-photo-page-wrap {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 4px 60px 4px;
}

/* 1. Top GET / API searchbar (optimized) */
.docs-photo-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

body.dark .docs-photo-top-bar {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.docs-photo-top-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
}

.docs-photo-method-badge {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.docs-photo-method-badge.get { color: #16a34a; }
.docs-photo-method-badge.post { color: #2563eb; }
.docs-photo-method-badge.put { color: #d97706; }
.docs-photo-method-badge.delete { color: #dc2626; }
.docs-photo-method-badge.patch { color: #7c3aed; }

body.dark .docs-photo-method-badge.get { color: #22c55e; }
body.dark .docs-photo-method-badge.post { color: #3b82f6; }
body.dark .docs-photo-method-badge.put { color: #f59e0b; }
body.dark .docs-photo-method-badge.delete { color: #ef4444; }
body.dark .docs-photo-method-badge.patch { color: #a855f7; }

.docs-photo-path {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.dark .docs-photo-path {
  color: #f4f4f5;
}

.docs-photo-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.docs-photo-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.dark .docs-photo-search-btn {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
}

.docs-photo-search-btn:hover {
  background: #e5e7eb;
  color: #111827;
}

body.dark .docs-photo-search-btn:hover {
  background: #3f3f46;
  color: #ffffff;
}

.docs-photo-search-btn kbd {
  font-size: 10px;
  font-family: inherit;
  padding: 1px 4px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #4b5563;
}

body.dark .docs-photo-search-btn kbd {
  background: #18181b;
  border-color: #3f3f46;
  color: #d4d4d8;
}

.docs-photo-copy-path-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.dark .docs-photo-copy-path-btn {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
}

.docs-photo-copy-path-btn:hover {
  background: #e5e7eb;
  color: #111827;
}

body.dark .docs-photo-copy-path-btn:hover {
  background: #3f3f46;
  color: #ffffff;
}

/* 2. Action Buttons Row (Clean Modern Minimalist Outline Design - No Gray Fill) */
.docs-photo-btn-bar {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.docs-photo-dual-btn {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

body.dark .docs-photo-dual-btn {
  border-color: rgba(255, 255, 255, 0.1);
  background: #18181b;
  box-shadow: none;
}

.docs-photo-btn-prev,
.docs-photo-btn-next {
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.dark .docs-photo-btn-prev,
body.dark .docs-photo-btn-next {
  color: #f4f4f5;
}

.docs-photo-btn-prev {
  border-right: 1px solid #e2e8f0;
}

body.dark .docs-photo-btn-prev {
  border-right-color: rgba(255, 255, 255, 0.1);
}

.docs-photo-btn-prev:hover,
.docs-photo-btn-next:hover {
  background: #f8fafc;
  color: #0f172a;
}

body.dark .docs-photo-btn-prev:hover,
body.dark .docs-photo-btn-next:hover {
  background: #27272a;
  color: #ffffff;
}

.docs-photo-btn-single {
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.15s ease;
}

body.dark .docs-photo-btn-single {
  color: #f4f4f5;
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.docs-photo-btn-single:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.dark .docs-photo-btn-single:hover {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.docs-photo-btn-more {
  padding: 7px 13px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.15s ease;
}

body.dark .docs-photo-btn-more {
  color: #f4f4f5;
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.docs-photo-btn-more:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.dark .docs-photo-btn-more:hover {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* More Dropdown Menu */
.docs-photo-more-dropdown {
  position: absolute;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 6px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: docsModalIn 0.15s ease;
}

body.dark .docs-photo-more-dropdown {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.docs-photo-more-dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.12s ease;
}

body.dark .docs-photo-more-dropdown button {
  color: #d4d4d8;
}

.docs-photo-more-dropdown button:hover {
  background: #f1f5f9;
  color: #0f172a;
}

body.dark .docs-photo-more-dropdown button:hover {
  background: #27272a;
  color: #ffffff;
}

/* 3. Description Paragraph */
.docs-photo-description {
  margin-top: 26px;
  font-size: 14.5px;
  line-height: 1.68;
  color: #8a929e;
  font-weight: 400;
}

body.dark .docs-photo-description {
  color: #a1a1aa;
}

/* 4. Thin Divider Line */
.docs-photo-divider {
  margin: 28px 0 22px 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}

body.dark .docs-photo-divider {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* 5. Parameters Row (aild* string) */
.docs-photo-params-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.docs-photo-param {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
}

.docs-photo-param-name {
  font-weight: 700;
  color: #0f172a;
}

body.dark .docs-photo-param-name {
  color: #f4f4f5;
}

.docs-photo-param-star {
  color: #ef4444;
  font-weight: 700;
}

.docs-photo-param-type {
  color: #94a3b8;
  font-size: 13.5px;
  font-weight: 400;
}

body.dark .docs-photo-param-type {
  color: #71717a;
}

/* 6. Status Codes List (> 200 application/json) */
.docs-photo-status-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.docs-photo-status-item {
  border-top: 1px solid #f1f5f9;
}

.docs-photo-status-item:last-child {
  border-bottom: 1px solid #f1f5f9;
}

body.dark .docs-photo-status-item {
  border-top-color: rgba(255, 255, 255, 0.06);
}

body.dark .docs-photo-status-item:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.docs-photo-status-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.docs-photo-status-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-photo-status-chev {
  width: 14px;
  height: 14px;
  color: #374151;
  transition: transform 0.2s ease;
}

body.dark .docs-photo-status-chev {
  color: #9ca3af;
}

.docs-photo-status-item.is-open .docs-photo-status-chev {
  transform: rotate(90deg);
}

.docs-photo-status-code {
  font-weight: 700;
  font-size: 14.5px;
  color: #0f172a;
}

body.dark .docs-photo-status-code {
  color: #f4f4f5;
}

.docs-photo-status-mime {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: #64748b;
}

body.dark .docs-photo-status-mime {
  color: #a1a1aa;
}

.docs-photo-status-body {
  padding: 0 0 14px 22px;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

body.dark .docs-photo-status-body {
  color: #cbd5e1;
}

.docs-photo-status-desc {
  margin-bottom: 6px;
}

.docs-photo-schema-mini {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12px;
}

body.dark .docs-photo-schema-mini {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-photo-schema-field code {
  font-weight: 600;
  color: #0f172a;
}

body.dark .docs-photo-schema-field code {
  color: #f4f4f5;
}

/* 7. Codeblock matching photo */
.docs-photo-codeblock {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f3f4f6;
  margin-top: 8px;
}

body.dark .docs-photo-codeblock {
  background: #161619;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-photo-code-header {
  background: #e9edf0;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark .docs-photo-code-header {
  background: #1e1e23;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.docs-photo-code-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-photo-ts-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.docs-photo-ts-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.docs-photo-filename {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 500;
  color: #475569;
}

body.dark .docs-photo-filename {
  color: #d4d4d8;
}

.docs-photo-code-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-photo-code-tab {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.12s ease;
}

body.dark .docs-photo-code-tab {
  color: #a1a1aa;
}

.docs-photo-code-tab.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

body.dark .docs-photo-code-tab.active {
  background: #27272a;
  color: #ffffff;
}

.docs-photo-code-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s ease;
}

body.dark .docs-photo-code-copy {
  color: #a1a1aa;
}

.docs-photo-code-copy:hover {
  color: #0f172a;
}

body.dark .docs-photo-code-copy:hover {
  color: #ffffff;
}

.docs-photo-code-body {
  padding: 16px 18px 20px 18px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12.8px;
  line-height: 1.68;
  color: #1e293b;
}

body.dark .docs-photo-code-body {
  color: #f1f5f9;
}

.docs-photo-code-body pre {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}

/* Syntax Highlighting Colors matching media_1789314620588.png */
.ts-line {
  display: block;
  white-space: pre;
  min-height: 1.68em;
}

.ts-line.ts-add {
  background: rgba(34, 197, 94, 0.12);
  margin: 0 -18px;
  padding: 0 18px;
  border-left: 3px solid #22c55e;
}

body.dark .ts-line.ts-add {
  background: rgba(34, 197, 94, 0.18);
  border-left-color: #4ade80;
}

.ts-sign {
  color: #16a34a;
  font-weight: 700;
  margin-right: 4px;
  user-select: none;
}

body.dark .ts-sign {
  color: #4ade80;
}

.ts-kw {
  color: #9333ea;
  font-weight: 500;
}

body.dark .ts-kw {
  color: #c084fc;
}

.ts-fn {
  color: #2563eb;
  font-style: italic;
}

body.dark .ts-fn {
  color: #60a5fa;
}

.ts-str {
  color: #16a34a;
}

body.dark .ts-str {
  color: #4ade80;
}

.ts-bool {
  color: #ea580c;
}

body.dark .ts-bool {
  color: #fb923c;
}

.ts-num {
  color: #d97706;
}

body.dark .ts-num {
  color: #f59e0b;
}

.ts-type {
  color: #0284c7;
}

body.dark .ts-type {
  color: #38bdf8;
}

.ts-tag {
  color: #2563eb;
}

body.dark .ts-tag {
  color: #60a5fa;
}

.ts-var {
  color: #1e293b;
}

body.dark .ts-var {
  color: #f1f5f9;
}

.ts-comm {
  color: #94a3b8;
  font-style: italic;
}

body.dark .ts-comm {
  color: #71717a;
}

/* Secondary interactive runner */
.docs-photo-test-runner-wrap {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.docs-photo-run-test-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.dark .docs-photo-run-test-btn {
  background: #ffffff;
  color: #0f172a;
}

.docs-photo-run-test-btn:hover {
  opacity: 0.9;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .docs-photo-top-bar {
    padding: 10px 14px;
    border-radius: 14px;
  }
  .docs-photo-search-btn .search-label,
  .docs-photo-search-btn kbd {
    display: none;
  }
  .docs-photo-search-btn {
    padding: 7px;
  }
  .docs-photo-params-row {
    gap: 16px;
  }
}


/* ==========================================================================
   EXACT DESIGN STYLING MATCHING media_1789314620588.png
   ========================================================================== */

.docs-photo-page-wrap {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 4px 60px 4px;
}

/* 1. Top GET / API searchbar (optimized) */
.docs-photo-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

body.dark .docs-photo-top-bar {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.docs-photo-top-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
}

.docs-photo-method-badge {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.docs-photo-method-badge.get { color: #16a34a; }
.docs-photo-method-badge.post { color: #2563eb; }
.docs-photo-method-badge.put { color: #d97706; }
.docs-photo-method-badge.delete { color: #dc2626; }
.docs-photo-method-badge.patch { color: #7c3aed; }

body.dark .docs-photo-method-badge.get { color: #22c55e; }
body.dark .docs-photo-method-badge.post { color: #3b82f6; }
body.dark .docs-photo-method-badge.put { color: #f59e0b; }
body.dark .docs-photo-method-badge.delete { color: #ef4444; }
body.dark .docs-photo-method-badge.patch { color: #a855f7; }

.docs-photo-path {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.dark .docs-photo-path {
  color: #f4f4f5;
}

.docs-photo-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.docs-photo-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.dark .docs-photo-search-btn {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
}

.docs-photo-search-btn:hover {
  background: #e5e7eb;
  color: #111827;
}

body.dark .docs-photo-search-btn:hover {
  background: #3f3f46;
  color: #ffffff;
}

.docs-photo-search-btn kbd {
  font-size: 10px;
  font-family: inherit;
  padding: 1px 4px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #4b5563;
}

body.dark .docs-photo-search-btn kbd {
  background: #18181b;
  border-color: #3f3f46;
  color: #d4d4d8;
}

.docs-photo-copy-path-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.dark .docs-photo-copy-path-btn {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
}

.docs-photo-copy-path-btn:hover {
  background: #e5e7eb;
  color: #111827;
}

body.dark .docs-photo-copy-path-btn:hover {
  background: #3f3f46;
  color: #ffffff;
}

/* 2. Action Buttons Row (Clean Modern Minimalist Outline Design - No Gray Fill) */
.docs-photo-btn-bar {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.docs-photo-dual-btn {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

body.dark .docs-photo-dual-btn {
  border-color: rgba(255, 255, 255, 0.1);
  background: #18181b;
  box-shadow: none;
}

.docs-photo-btn-prev,
.docs-photo-btn-next {
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.dark .docs-photo-btn-prev,
body.dark .docs-photo-btn-next {
  color: #f4f4f5;
}

.docs-photo-btn-prev {
  border-right: 1px solid #e2e8f0;
}

body.dark .docs-photo-btn-prev {
  border-right-color: rgba(255, 255, 255, 0.1);
}

.docs-photo-btn-prev:hover,
.docs-photo-btn-next:hover {
  background: #f8fafc;
  color: #0f172a;
}

body.dark .docs-photo-btn-prev:hover,
body.dark .docs-photo-btn-next:hover {
  background: #27272a;
  color: #ffffff;
}

.docs-photo-btn-single {
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.15s ease;
}

body.dark .docs-photo-btn-single {
  color: #f4f4f5;
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.docs-photo-btn-single:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.dark .docs-photo-btn-single:hover {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.docs-photo-btn-more {
  padding: 7px 13px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.15s ease;
}

body.dark .docs-photo-btn-more {
  color: #f4f4f5;
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.docs-photo-btn-more:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.dark .docs-photo-btn-more:hover {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* More Dropdown Menu */
.docs-photo-more-dropdown {
  position: absolute;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 6px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: docsModalIn 0.15s ease;
}

body.dark .docs-photo-more-dropdown {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.docs-photo-more-dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.12s ease;
}

body.dark .docs-photo-more-dropdown button {
  color: #d4d4d8;
}

.docs-photo-more-dropdown button:hover {
  background: #f1f5f9;
  color: #0f172a;
}

body.dark .docs-photo-more-dropdown button:hover {
  background: #27272a;
  color: #ffffff;
}

/* 3. Description Paragraph */
.docs-photo-description {
  margin-top: 26px;
  font-size: 14.5px;
  line-height: 1.68;
  color: #8a929e;
  font-weight: 400;
}

body.dark .docs-photo-description {
  color: #a1a1aa;
}

/* 4. Thin Divider Line */
.docs-photo-divider {
  margin: 28px 0 22px 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}

body.dark .docs-photo-divider {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* 5. Parameters Row (aild* string) */
.docs-photo-params-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.docs-photo-param {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
}

.docs-photo-param-name {
  font-weight: 700;
  color: #0f172a;
}

body.dark .docs-photo-param-name {
  color: #f4f4f5;
}

.docs-photo-param-star {
  color: #ef4444;
  font-weight: 700;
}

.docs-photo-param-type {
  color: #94a3b8;
  font-size: 13.5px;
  font-weight: 400;
}

body.dark .docs-photo-param-type {
  color: #71717a;
}

/* 6. Status Codes List (> 200 application/json) */
.docs-photo-status-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.docs-photo-status-item {
  border-top: 1px solid #f1f5f9;
}

.docs-photo-status-item:last-child {
  border-bottom: 1px solid #f1f5f9;
}

body.dark .docs-photo-status-item {
  border-top-color: rgba(255, 255, 255, 0.06);
}

body.dark .docs-photo-status-item:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.docs-photo-status-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.docs-photo-status-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-photo-status-chev {
  width: 14px;
  height: 14px;
  color: #374151;
  transition: transform 0.2s ease;
}

body.dark .docs-photo-status-chev {
  color: #9ca3af;
}

.docs-photo-status-item.is-open .docs-photo-status-chev {
  transform: rotate(90deg);
}

.docs-photo-status-code {
  font-weight: 700;
  font-size: 14.5px;
  color: #0f172a;
}

body.dark .docs-photo-status-code {
  color: #f4f4f5;
}

.docs-photo-status-mime {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: #64748b;
}

body.dark .docs-photo-status-mime {
  color: #a1a1aa;
}

.docs-photo-status-body {
  padding: 0 0 14px 22px;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

body.dark .docs-photo-status-body {
  color: #cbd5e1;
}

.docs-photo-status-desc {
  margin-bottom: 6px;
}

.docs-photo-schema-mini {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12px;
}

body.dark .docs-photo-schema-mini {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-photo-schema-field code {
  font-weight: 600;
  color: #0f172a;
}

body.dark .docs-photo-schema-field code {
  color: #f4f4f5;
}

/* 7. Codeblock matching photo */
.docs-photo-codeblock {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f3f4f6;
  margin-top: 8px;
}

body.dark .docs-photo-codeblock {
  background: #161619;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-photo-code-header {
  background: #e9edf0;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark .docs-photo-code-header {
  background: #1e1e23;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.docs-photo-code-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-photo-ts-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.docs-photo-ts-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.docs-photo-filename {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 500;
  color: #475569;
}

body.dark .docs-photo-filename {
  color: #d4d4d8;
}

.docs-photo-code-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-photo-code-tab {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.12s ease;
}

body.dark .docs-photo-code-tab {
  color: #a1a1aa;
}

.docs-photo-code-tab.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

body.dark .docs-photo-code-tab.active {
  background: #27272a;
  color: #ffffff;
}

.docs-photo-code-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s ease;
}

body.dark .docs-photo-code-copy {
  color: #a1a1aa;
}

.docs-photo-code-copy:hover {
  color: #0f172a;
}

body.dark .docs-photo-code-copy:hover {
  color: #ffffff;
}

.docs-photo-code-body {
  padding: 16px 18px 20px 18px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12.8px;
  line-height: 1.68;
  color: #1e293b;
}

body.dark .docs-photo-code-body {
  color: #f1f5f9;
}

.docs-photo-code-body pre {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}

/* Syntax Highlighting Colors matching media_1789314620588.png */
.ts-line {
  display: block;
  white-space: pre;
  min-height: 1.68em;
}

.ts-line.ts-add {
  background: rgba(34, 197, 94, 0.12);
  margin: 0 -18px;
  padding: 0 18px;
  border-left: 3px solid #22c55e;
}

body.dark .ts-line.ts-add {
  background: rgba(34, 197, 94, 0.18);
  border-left-color: #4ade80;
}

.ts-sign {
  color: #16a34a;
  font-weight: 700;
  margin-right: 4px;
  user-select: none;
}

body.dark .ts-sign {
  color: #4ade80;
}

.ts-kw {
  color: #9333ea;
  font-weight: 500;
}

body.dark .ts-kw {
  color: #c084fc;
}

.ts-fn {
  color: #2563eb;
  font-style: italic;
}

body.dark .ts-fn {
  color: #60a5fa;
}

.ts-str {
  color: #16a34a;
}

body.dark .ts-str {
  color: #4ade80;
}

.ts-bool {
  color: #ea580c;
}

body.dark .ts-bool {
  color: #fb923c;
}

.ts-num {
  color: #d97706;
}

body.dark .ts-num {
  color: #f59e0b;
}

.ts-type {
  color: #0284c7;
}

body.dark .ts-type {
  color: #38bdf8;
}

.ts-tag {
  color: #2563eb;
}

body.dark .ts-tag {
  color: #60a5fa;
}

.ts-var {
  color: #1e293b;
}

body.dark .ts-var {
  color: #f1f5f9;
}

.ts-comm {
  color: #94a3b8;
  font-style: italic;
}

body.dark .ts-comm {
  color: #71717a;
}

/* Secondary interactive runner */
.docs-photo-test-runner-wrap {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.docs-photo-run-test-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.dark .docs-photo-run-test-btn {
  background: #ffffff;
  color: #0f172a;
}

.docs-photo-run-test-btn:hover {
  opacity: 0.9;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .docs-photo-top-bar {
    padding: 10px 14px;
    border-radius: 14px;
  }
  .docs-photo-search-btn .search-label,
  .docs-photo-search-btn kbd {
    display: none;
  }
  .docs-photo-search-btn {
    padding: 7px;
  }
  .docs-photo-params-row {
    gap: 16px;
  }
}


/* ==========================================================================
   EXACT DESIGN STYLING MATCHING media_1789314620588.png
   ========================================================================== */

.docs-photo-page-wrap {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 4px 60px 4px;
}

/* 1. Top GET / API searchbar (optimized) */
.docs-photo-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

body.dark .docs-photo-top-bar {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.docs-photo-top-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
}

.docs-photo-method-badge {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.docs-photo-method-badge.get { color: #16a34a; }
.docs-photo-method-badge.post { color: #2563eb; }
.docs-photo-method-badge.put { color: #d97706; }
.docs-photo-method-badge.delete { color: #dc2626; }
.docs-photo-method-badge.patch { color: #7c3aed; }

body.dark .docs-photo-method-badge.get { color: #22c55e; }
body.dark .docs-photo-method-badge.post { color: #3b82f6; }
body.dark .docs-photo-method-badge.put { color: #f59e0b; }
body.dark .docs-photo-method-badge.delete { color: #ef4444; }
body.dark .docs-photo-method-badge.patch { color: #a855f7; }

.docs-photo-path {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.dark .docs-photo-path {
  color: #f4f4f5;
}

.docs-photo-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.docs-photo-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.dark .docs-photo-search-btn {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
}

.docs-photo-search-btn:hover {
  background: #e5e7eb;
  color: #111827;
}

body.dark .docs-photo-search-btn:hover {
  background: #3f3f46;
  color: #ffffff;
}

.docs-photo-search-btn kbd {
  font-size: 10px;
  font-family: inherit;
  padding: 1px 4px;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #4b5563;
}

body.dark .docs-photo-search-btn kbd {
  background: #18181b;
  border-color: #3f3f46;
  color: #d4d4d8;
}

.docs-photo-copy-path-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.dark .docs-photo-copy-path-btn {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
}

.docs-photo-copy-path-btn:hover {
  background: #e5e7eb;
  color: #111827;
}

body.dark .docs-photo-copy-path-btn:hover {
  background: #3f3f46;
  color: #ffffff;
}

/* 2. Action Buttons Row (Clean Modern Minimalist Outline Design - No Gray Fill) */
.docs-photo-btn-bar {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.docs-photo-dual-btn {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

body.dark .docs-photo-dual-btn {
  border-color: rgba(255, 255, 255, 0.1);
  background: #18181b;
  box-shadow: none;
}

.docs-photo-btn-prev,
.docs-photo-btn-next {
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.dark .docs-photo-btn-prev,
body.dark .docs-photo-btn-next {
  color: #f4f4f5;
}

.docs-photo-btn-prev {
  border-right: 1px solid #e2e8f0;
}

body.dark .docs-photo-btn-prev {
  border-right-color: rgba(255, 255, 255, 0.1);
}

.docs-photo-btn-prev:hover,
.docs-photo-btn-next:hover {
  background: #f8fafc;
  color: #0f172a;
}

body.dark .docs-photo-btn-prev:hover,
body.dark .docs-photo-btn-next:hover {
  background: #27272a;
  color: #ffffff;
}

.docs-photo-btn-single {
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.15s ease;
}

body.dark .docs-photo-btn-single {
  color: #f4f4f5;
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.docs-photo-btn-single:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.dark .docs-photo-btn-single:hover {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.docs-photo-btn-more {
  padding: 7px 13px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.15s ease;
}

body.dark .docs-photo-btn-more {
  color: #f4f4f5;
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.docs-photo-btn-more:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.dark .docs-photo-btn-more:hover {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* More Dropdown Menu */
.docs-photo-more-dropdown {
  position: absolute;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 6px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: docsModalIn 0.15s ease;
}

body.dark .docs-photo-more-dropdown {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.docs-photo-more-dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.12s ease;
}

body.dark .docs-photo-more-dropdown button {
  color: #d4d4d8;
}

.docs-photo-more-dropdown button:hover {
  background: #f1f5f9;
  color: #0f172a;
}

body.dark .docs-photo-more-dropdown button:hover {
  background: #27272a;
  color: #ffffff;
}

/* 3. Description Paragraph */
.docs-photo-description {
  margin-top: 26px;
  font-size: 14.5px;
  line-height: 1.68;
  color: #8a929e;
  font-weight: 400;
}

body.dark .docs-photo-description {
  color: #a1a1aa;
}

/* 4. Thin Divider Line */
.docs-photo-divider {
  margin: 28px 0 22px 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}

body.dark .docs-photo-divider {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* 5. Parameters Row (aild* string) */
.docs-photo-params-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.docs-photo-param {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
}

.docs-photo-param-name {
  font-weight: 700;
  color: #0f172a;
}

body.dark .docs-photo-param-name {
  color: #f4f4f5;
}

.docs-photo-param-star {
  color: #ef4444;
  font-weight: 700;
}

.docs-photo-param-type {
  color: #94a3b8;
  font-size: 13.5px;
  font-weight: 400;
}

body.dark .docs-photo-param-type {
  color: #71717a;
}

/* 6. Status Codes List (> 200 application/json) */
.docs-photo-status-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.docs-photo-status-item {
  border-top: 1px solid #f1f5f9;
}

.docs-photo-status-item:last-child {
  border-bottom: 1px solid #f1f5f9;
}

body.dark .docs-photo-status-item {
  border-top-color: rgba(255, 255, 255, 0.06);
}

body.dark .docs-photo-status-item:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.docs-photo-status-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.docs-photo-status-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-photo-status-chev {
  width: 14px;
  height: 14px;
  color: #374151;
  transition: transform 0.2s ease;
}

body.dark .docs-photo-status-chev {
  color: #9ca3af;
}

.docs-photo-status-item.is-open .docs-photo-status-chev {
  transform: rotate(90deg);
}

.docs-photo-status-code {
  font-weight: 700;
  font-size: 14.5px;
  color: #0f172a;
}

body.dark .docs-photo-status-code {
  color: #f4f4f5;
}

.docs-photo-status-mime {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: #64748b;
}

body.dark .docs-photo-status-mime {
  color: #a1a1aa;
}

.docs-photo-status-body {
  padding: 0 0 14px 22px;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

body.dark .docs-photo-status-body {
  color: #cbd5e1;
}

.docs-photo-status-desc {
  margin-bottom: 6px;
}

.docs-photo-schema-mini {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12px;
}

body.dark .docs-photo-schema-mini {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-photo-schema-field code {
  font-weight: 600;
  color: #0f172a;
}

body.dark .docs-photo-schema-field code {
  color: #f4f4f5;
}

/* 7. Codeblock matching photo */
.docs-photo-codeblock {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f3f4f6;
  margin-top: 8px;
}

body.dark .docs-photo-codeblock {
  background: #161619;
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-photo-code-header {
  background: #e9edf0;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark .docs-photo-code-header {
  background: #1e1e23;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.docs-photo-code-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-photo-ts-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.docs-photo-ts-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.docs-photo-filename {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 500;
  color: #475569;
}

body.dark .docs-photo-filename {
  color: #d4d4d8;
}

.docs-photo-code-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-photo-code-tab {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.12s ease;
}

body.dark .docs-photo-code-tab {
  color: #a1a1aa;
}

.docs-photo-code-tab.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

body.dark .docs-photo-code-tab.active {
  background: #27272a;
  color: #ffffff;
}

.docs-photo-code-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s ease;
}

body.dark .docs-photo-code-copy {
  color: #a1a1aa;
}

.docs-photo-code-copy:hover {
  color: #0f172a;
}

body.dark .docs-photo-code-copy:hover {
  color: #ffffff;
}

.docs-photo-code-body {
  padding: 16px 18px 20px 18px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12.8px;
  line-height: 1.68;
  color: #1e293b;
}

body.dark .docs-photo-code-body {
  color: #f1f5f9;
}

.docs-photo-code-body pre {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}

/* Syntax Highlighting Colors matching media_1789314620588.png */
.ts-line {
  display: block;
  white-space: pre;
  min-height: 1.68em;
}

.ts-line.ts-add {
  background: rgba(34, 197, 94, 0.12);
  margin: 0 -18px;
  padding: 0 18px;
  border-left: 3px solid #22c55e;
}

body.dark .ts-line.ts-add {
  background: rgba(34, 197, 94, 0.18);
  border-left-color: #4ade80;
}

.ts-sign {
  color: #16a34a;
  font-weight: 700;
  margin-right: 4px;
  user-select: none;
}

body.dark .ts-sign {
  color: #4ade80;
}

.ts-kw {
  color: #9333ea;
  font-weight: 500;
}

body.dark .ts-kw {
  color: #c084fc;
}

.ts-fn {
  color: #2563eb;
  font-style: italic;
}

body.dark .ts-fn {
  color: #60a5fa;
}

.ts-str {
  color: #16a34a;
}

body.dark .ts-str {
  color: #4ade80;
}

.ts-bool {
  color: #ea580c;
}

body.dark .ts-bool {
  color: #fb923c;
}

.ts-num {
  color: #d97706;
}

body.dark .ts-num {
  color: #f59e0b;
}

.ts-type {
  color: #0284c7;
}

body.dark .ts-type {
  color: #38bdf8;
}

.ts-tag {
  color: #2563eb;
}

body.dark .ts-tag {
  color: #60a5fa;
}

.ts-var {
  color: #1e293b;
}

body.dark .ts-var {
  color: #f1f5f9;
}

.ts-comm {
  color: #94a3b8;
  font-style: italic;
}

body.dark .ts-comm {
  color: #71717a;
}

/* Secondary interactive runner */
.docs-photo-test-runner-wrap {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.docs-photo-run-test-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.dark .docs-photo-run-test-btn {
  background: #ffffff;
  color: #0f172a;
}

.docs-photo-run-test-btn:hover {
  opacity: 0.9;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .docs-photo-top-bar {
    padding: 10px 14px;
    border-radius: 14px;
  }
  .docs-photo-search-btn .search-label,
  .docs-photo-search-btn kbd {
    display: none;
  }
  .docs-photo-search-btn {
    padding: 7px;
  }
  .docs-photo-params-row {
    gap: 16px;
  }
}
