/* DocsSwitcher: Data API / MCP tabs */

.docs-hero-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 1.25rem;
}

.docs-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0.25rem;
  border: 1px solid var(--ab-border);
  border-radius: 10px;
  background: var(--ab-bg-raised);
}

.docs-copy-md {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--ab-border);
  border-radius: 10px;
  background: var(--ab-bg-raised);
  color: var(--ab-ink-muted);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.docs-copy-md:hover {
  color: var(--ab-ink);
  background: var(--ab-bg-muted);
}

.docs-copy-md.is-copied {
  color: var(--color-green, #1f7a4d);
  border-color: rgba(31, 122, 77, 0.28);
}

.docs-copy-md i {
  font-size: 1rem;
  line-height: 1;
}

.docs-switcher a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 7px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ab-ink-muted);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.docs-switcher a:hover {
  color: var(--ab-ink);
}

.docs-switcher a.is-active {
  color: var(--ab-ink);
  background: var(--ab-bg-muted);
}
