/* Acme API Documentation Portal Styles */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #24292f;
  background: #f6f8fa;
  line-height: 1.6;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background: #24292f;
  color: #f6f8fa;
  padding: 24px 0;
  overflow-y: auto;
  border-right: 1px solid #d0d7de;
}
.sidebar-header {
  padding: 0 24px 16px 24px;
  border-bottom: 1px solid #444c56;
  margin-bottom: 16px;
}
.sidebar-header h2 {
  margin: 0;
  font-size: 20px;
  color: #ffffff;
}
.sidebar-subtitle {
  margin: 4px 0 0 0;
  font-size: 12px;
  color: #adbac7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-links {
  display: flex;
  flex-direction: column;
}
.nav-links a {
  color: #adbac7;
  text-decoration: none;
  padding: 10px 24px;
  border-left: 3px solid transparent;
  font-size: 14px;
  transition: all 0.15s ease;
}
.nav-links a:hover {
  background: #2d333b;
  color: #ffffff;
}
.nav-links a.active {
  background: #2d333b;
  color: #ffffff;
  border-left-color: #4493f8;
  font-weight: 600;
}

.content {
  margin-left: 240px;
  padding: 40px 48px;
  max-width: 960px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  margin-top: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #d0d7de;
}
h2 {
  font-size: 22px;
  margin-top: 40px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eaeef2;
}
h3 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #57606a;
}
p { margin: 12px 0; }
a { color: #0969da; }

.endpoint {
  background: #ffffff;
  border: 1px solid #d0d7de;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.endpoint-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid #eaeef2;
  margin-bottom: 12px;
}
.endpoint-header code {
  font-size: 15px;
  font-weight: 600;
  color: #24292f;
  background: none;
  padding: 0;
}

.method {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 64px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.method-get    { background: #1a7f37; }  /* green */
.method-post   { background: #0969da; }  /* blue */
.method-put    { background: #bc4c00; }  /* orange */
.method-patch  { background: #8250df; }  /* purple */
.method-delete { background: #cf222e; }  /* red */

.description {
  font-size: 15px;
  color: #24292f;
  margin: 8px 0 16px 0;
}

.param-list {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  overflow: hidden;
  background: #f6f8fa;
}
.param-list li {
  padding: 10px 14px;
  border-bottom: 1px solid #eaeef2;
  font-size: 14px;
}
.param-list li:last-child { border-bottom: none; }
.param-list code { background: #eaeef2; padding: 2px 6px; border-radius: 3px; }
.param-none {
  color: #57606a;
  font-style: italic;
  padding: 10px 14px;
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  border-radius: 6px;
}

pre, code {
  font-family: "SF Mono", Monaco, Menlo, Consolas, "Liberation Mono", monospace;
}
code {
  background: #eaeef2;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 13px;
}
pre {
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  padding: 16px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.5;
  color: #24292f;
}
pre code {
  background: none;
  padding: 0;
  font-size: 13px;
}

.welcome {
  background: #ddf4ff;
  border-left: 4px solid #0969da;
  padding: 16px 20px;
  border-radius: 4px;
  margin: 20px 0;
}

.section-list {
  list-style: none;
  padding: 0;
}
.section-list li {
  background: #ffffff;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 10px 0;
}
.section-list a {
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.section-list .count {
  color: #57606a;
  font-size: 13px;
  margin-left: 8px;
}

/* Search */
#search-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  margin-bottom: 20px;
  background: #ffffff;
}
#search-input:focus {
  outline: none;
  border-color: #0969da;
  box-shadow: 0 0 0 3px rgba(9,105,218,0.2);
}
.search-results {
  list-style: none;
  padding: 0;
  margin: 0;
}
.search-results li {
  background: #ffffff;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 8px 0;
}
.search-results a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.search-results a:hover { background: #f6f8fa; }
.search-results .result-desc {
  color: #57606a;
  font-size: 13px;
  margin-top: 6px;
}
.search-results .result-section {
  float: right;
  font-size: 12px;
  color: #57606a;
  background: #eaeef2;
  padding: 2px 8px;
  border-radius: 10px;
}
.no-results {
  color: #57606a;
  font-style: italic;
  padding: 16px;
  text-align: center;
}

.excluded-list {
  list-style: none;
  padding: 0;
  font-size: 13px;
  color: #57606a;
}
.excluded-list li {
  padding: 6px 0;
}
