.fair-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a1a1a;
}

.fair-header h1 {
  font-size: 28px;
  margin-bottom: 6px;
}

.fair-header p {
  color: #555;
  line-height: 1.5;
  max-width: 640px;
}

.fair-actions {
  display: flex;
  gap: 12px;
  margin: 20px 0 36px;
}

.btn {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.btn-primary {
  background: #1a5c3a;
  color: white;
}

.btn-secondary {
  background: #eee;
  color: #1a1a1a;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  min-width: 260px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
  padding: 8px 0;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  padding: 8px 16px 4px;
}

.dropdown-item {
  display: block;
  padding: 8px 16px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 14px;
}

.dropdown-item:hover {
  background: #f4f4f4;
}

.fair-docs {
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.fair-docs h2 {
  font-size: 20px;
  margin-bottom: 4px;
}

.base-url-line {
  color: #555;
  margin-bottom: 24px;
}

.base-url-line code {
  background: #f4f4f4;
  padding: 2px 8px;
  border-radius: 4px;
}

.endpoint-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
}

.endpoint-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.method {
  background: #1a5c3a;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.endpoint-header code {
  font-size: 14px;
  background: #f4f4f4;
  padding: 3px 8px;
  border-radius: 4px;
}

.copy-btn {
  margin-left: auto;
  background: #eee;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
}

.copy-btn:hover {
  background: #ddd;
}

.endpoint-card p {
  color: #555;
  font-size: 14px;
  margin: 6px 0;
}

.example {
  background: #1a1a1a;
  color: #d4f4dd;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  overflow-x: auto;
}

.rate-limit-note, .generated-note {
  font-size: 12px;
  color: #999;
  margin-top: 20px;
}
