/* Galenhealth.AI brand gradient header (blue -> purple -> pink) */
.md-header,
.md-tabs {
  background: linear-gradient(90deg, #1d4ed8 0%, #7c3aed 50%, #ec4899 100%);
}

/* Make the search field blend with the gradient instead of showing an indigo block */
.md-search__form {
  background-color: rgba(255, 255, 255, 0.15);
}
.md-search__form:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* ---- Left sidebar navigation ---- */

/* Section label (e.g. site title at top of nav) */
.md-nav__title {
  color: #7c3aed;
  font-weight: 700;
}

/* Hovered nav link */
.md-nav__link:hover {
  color: #ec4899;
}

/* Active / current page link: brand color, weight, and a gradient accent bar */
.md-nav__item .md-nav__link--active {
  color: #7c3aed;
  font-weight: 600;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #1d4ed8, #7c3aed, #ec4899) 1;
  padding-left: 0.6rem;
  background: linear-gradient(
    90deg,
    rgba(124, 58, 237, 0.08),
    rgba(124, 58, 237, 0)
  );
}

/* Expand/collapse arrow for nested sections (e.g. Releases) */
.md-nav__icon {
  color: #7c3aed;
}

/* ---- Dark mode (slate): lighter brand tints for contrast ---- */
[data-md-color-scheme="slate"] .md-nav__title {
  color: #a78bfa;
}

[data-md-color-scheme="slate"] .md-nav__link:hover {
  color: #f472b6;
}

[data-md-color-scheme="slate"] .md-nav__item .md-nav__link--active {
  color: #c4b5fd;
  border-image: linear-gradient(180deg, #60a5fa, #a78bfa, #f472b6) 1;
  background: linear-gradient(
    90deg,
    rgba(167, 139, 250, 0.16),
    rgba(167, 139, 250, 0)
  );
}

[data-md-color-scheme="slate"] .md-nav__icon {
  color: #a78bfa;
}
