/* Light touch on top of Material. Keep overrides small. */

/* Dark navy header so the purple/blue logo stays readable (it washes out on indigo).
   #0f172a is the text color used in the Skyline cloud-logo.svg. */
[data-md-color-primary="indigo"] {
  --md-primary-fg-color: #0f172a;
  --md-primary-fg-color--light: #1e293b;
  --md-primary-fg-color--dark: #020617;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 1.6rem;
  width: auto;
}

/* Wider tables so the flavor/datastore tables don't wrap awkwardly */
.md-typeset table:not([class]) {
  font-size: 0.72rem;
}

/* Screenshots in the docs */
.md-typeset img.screenshot {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.4rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* "Important" callout (!!! important): purple, to stand apart from note, tip and warning */
:root {
  --md-admonition-icon--important: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 13h-2V7h2m0 10h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2Z"/></svg>');
}
.md-typeset .admonition.important,
.md-typeset details.important {
  border-color: rgb(124, 77, 255);
}
.md-typeset .important > .admonition-title,
.md-typeset .important > summary {
  background-color: rgba(124, 77, 255, 0.1);
}
.md-typeset .important > .admonition-title::before,
.md-typeset .important > summary::before {
  background-color: rgb(124, 77, 255);
  -webkit-mask-image: var(--md-admonition-icon--important);
  mask-image: var(--md-admonition-icon--important);
}

/* Outages and Changelog pages: in the table of contents, an entry that has sections under it
   (an outage, a release date) uses the link color, so it stands out from its sections.
   Entries without sections, such as "Summary", keep the normal color. */
body:has(h1:is(#outages, #changelog)) .md-nav--secondary > .md-nav__list > .md-nav__item:has(> .md-nav) > .md-nav__link {
  color: var(--md-typeset-a-color);
}
