/* ── antcrew brand override for MkDocs Material ─────────────────────────── */

/* Primary: indigo-800 header — matches antcrew brand identity */
[data-md-color-primary="custom"] {
  --md-primary-fg-color:             #ffffff;
  --md-primary-fg-color--light:      rgba(255, 255, 255, 0.7);
  --md-primary-fg-color--dark:       rgba(255, 255, 255, 0.54);
  --md-primary-bg-color:             #3730a3;
  --md-primary-bg-color--light:      rgba(55, 48, 163, 0.54);
}

/* Accent: indigo-400 (#818cf8) — the antcrew brand accent */
[data-md-color-accent="custom"] {
  --md-accent-fg-color:              #818cf8;
  --md-accent-fg-color--transparent: rgba(129, 140, 248, 0.1);
  --md-accent-bg-color:              #fff;
  --md-accent-bg-color--light:       rgba(255, 255, 255, 0.7);
}

/* Light mode links */
.md-typeset a {
  color: #4338ca;
}
.md-typeset a:hover {
  color: #818cf8;
}

/* Dark mode links */
[data-md-color-scheme="slate"] .md-typeset a {
  color: #a5b4fc;
}
[data-md-color-scheme="slate"] .md-typeset a:hover {
  color: #c7d2fe;
}

/* Inline code: brand-tinted */
.md-typeset :not(pre) > code {
  background-color: #eef2ff;
  color: #3730a3;
  border-radius: 3px;
}
[data-md-color-scheme="slate"] .md-typeset :not(pre) > code {
  background-color: #1e1b4b;
  color: #c7d2fe;
}

/* Sidebar active item: accent colour */
.md-nav__item .md-nav__link--active {
  color: #818cf8;
}

/* Mermaid diagram container: subtle brand border */
.md-typeset .mermaid {
  border-left: 3px solid #818cf8;
  padding-left: 1rem;
  margin: 1.5rem 0;
}

/* Admonition "note" → brand color */
.md-typeset .admonition.note,
.md-typeset details.note {
  border-color: #818cf8;
}
.md-typeset .note > .admonition-title,
.md-typeset .note > summary {
  background-color: rgba(129, 140, 248, 0.08);
}
