.api-docs-container {
  min-height: 100vh;
  background: white;
}

.docs-header {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.docs-header h1 {
  font-size: 36px;
  margin-bottom: 12px;
  color: #1f2937;
  font-weight: 700;
}

.docs-header p {
  font-size: 16px;
  color: #6b7280;
}

.docs-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.docs-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.docs-nav h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
  margin-top: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.docs-nav h3:first-child {
  margin-top: 0;
}

.docs-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.docs-nav a {
  color: #6b7280;
  font-size: 13px;
  transition: color 0.3s ease;
  display: block;
  padding: 6px 0;
}

.docs-nav a:hover {
  color: #2563eb;
}

.docs-main {
  min-height: 100vh;
}

.doc-section {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #e5e7eb;
}

.doc-section:last-child {
  border-bottom: none;
}

.doc-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #1f2937;
  font-weight: 700;
}

.doc-section h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 12px;
  color: #1f2937;
  font-weight: 600;
}

.doc-section p {
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 14px;
}

.doc-section ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.doc-section li {
  color: #6b7280;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.code-block {
  background: #1f2937;
  color: #e5e7eb;
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 16px;
  border: 1px solid #374151;
}

.code-block pre {
  margin: 0;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .docs-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .docs-sidebar {
    position: static;
  }

  .docs-header h1 {
    font-size: 24px;
  }

  .doc-section h2 {
    font-size: 20px;
  }
}
