/* apidocs.cargouse.com — Redoc üstü marka katmanı (2026-09-15). Lacivert #0C2349, mint #81D3AA. */
:root { --cu-navy: #0C2349; --cu-navy-2: #123262; --cu-mint: #81D3AA; --cu-ink: #0f1a2e; }
html, body { margin: 0; padding: 0; background: #fff; }
body { font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--cu-ink); }

.cu-topbar {
  position: sticky; top: 0; z-index: 50; height: 56px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px;
  background: var(--cu-navy); color: #fff; border-bottom: 2px solid var(--cu-mint);
}
.cu-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.cu-brand img { height: 26px; width: auto; display: block; }
.cu-brand-sep { width: 1px; height: 22px; background: rgba(255,255,255,.28); }
.cu-brand-title { font-weight: 600; font-size: 15px; letter-spacing: .01em; }
.cu-version { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--cu-mint); color: var(--cu-navy); font-size: 11.5px; font-weight: 700; vertical-align: 1px; }
.cu-links { display: flex; gap: 6px; }
.cu-links a { color: #e6eaf2; text-decoration: none; font-size: 13.5px; font-weight: 500; padding: 6px 10px; border-radius: 6px; }
.cu-links a:hover { background: rgba(255,255,255,.08); color: #fff; }
.cu-links a:focus-visible { outline: 2px solid var(--cu-mint); outline-offset: 2px; }

/* Redoc ince ayarlar */
#redoc { min-height: calc(100vh - 56px); }
#redoc .menu-content { border-right: 1px solid #dbe4f0; }
#redoc .menu-content img { max-height: 46px; }
/* Redoc varsayılan 'API docs by Redocly' alt bağlantısı gizli (MIT lisans; marka sayfası) */
#redoc a[href*="redocly.com"], #redoc a[href*="redoc.ly"] { display: none !important; }
#redoc [role="navigation"] label[role="menuitem"] { font-weight: 500; }
#redoc h1 { font-weight: 700; letter-spacing: -.01em; }
#redoc h2 { font-weight: 700; }
#redoc table { border-collapse: collapse; }
#redoc .api-info a { color: var(--cu-navy-2); }
#redoc code { border-radius: 4px; }
/* Sağ panel: örnek başlıkları ve dil sekmeleri */
#redoc [class*="react-tabs__tab-list"] { margin-bottom: 8px; }
#redoc .react-tabs__tab--selected { background: rgba(129,211,170,.16) !important; color: var(--cu-mint) !important; border-color: transparent !important; }
#redoc .react-tabs__tab { color: #c9d2e3; }
/* Mobil */
@media (max-width: 50rem) {
  .cu-topbar { padding: 0 12px; }
  .cu-brand-title { display: none; }
  .cu-links a { padding: 6px 7px; font-size: 12.5px; }
}

/* Rehber bölümleri: orta panel + sağ örnek sütunu (relocateGuideSamples). Genişlikler Redoc temasıyla aynı (sağ %42). */
#redoc .cu-row { display: flex; width: 100%; align-items: flex-start; }
#redoc .cu-row > :first-child { flex: 0 0 58%; max-width: 58%; box-sizing: border-box; }
#redoc .cu-right { flex: 0 0 42%; max-width: 42%; box-sizing: border-box; padding: 0 40px; color: #e6eaf2; }
#redoc .cu-sample { margin: 0 0 16px; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; overflow: hidden; background: #081831; }
#redoc .cu-sample-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.08); }
#redoc .cu-sample-lang { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .08em; color: var(--cu-mint); }
#redoc .cu-copy { background: transparent; border: 1px solid rgba(255,255,255,.18); color: #c9d2e3; border-radius: 5px; font: 500 11.5px "Inter Tight", system-ui, sans-serif; padding: 2px 8px; cursor: pointer; }
#redoc .cu-copy:hover { border-color: var(--cu-mint); color: #fff; }
#redoc .cu-right-md pre { margin: 0 !important; border-radius: 0 !important; background: #081831 !important; padding: 14px 16px !important; font-size: 12.5px !important; line-height: 1.55 !important; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
#redoc .cu-right-md pre code { color: #e6eaf2; }
#redoc .cu-right-md pre .token.comment { color: #8aa2c4; }
#redoc .cu-right-md pre .token.string { color: #a3dfc1; }
#redoc .cu-right-md pre .token.number { color: #ffd479; }
#redoc .cu-right-md pre .token.keyword { color: #c3b1ff; }
#redoc .cu-right-md pre .token.property { color: #9ecbff; }
@media (max-width: 75rem) {
  #redoc .cu-row { flex-direction: column; }
  #redoc .cu-row > :first-child, #redoc .cu-right { flex-basis: auto; max-width: 100%; width: 100%; }
  #redoc .cu-right { background: #0a1d3d; padding: 20px 40px 8px; margin-top: 16px; }
}
