/*
    Copyright (c) European Space Agency, 2025.

    This file is subject to the terms and conditions defined in file 'LICENCE.txt', which
    is part of this source code package. No part of the package, including
    this file, may be copied, modified, propagated, or distributed except according to
    the terms contained in the file 'LICENCE.txt'.
*/
[data-md-color-scheme="slate"] {
  color-scheme: dark;
  --md-primary-fg-color:        #003247;
  --md-primary-fg-color--light: #0b435d;
  --md-primary-fg-color--dark:  #001824;
  --md-accent-fg-color:         #00ae9d;
  --md-accent-fg-color--light:  #5fe0d1;
  --md-accent-fg-color--dark:   #007f73;
  --md-default-bg-color:        #08202c;
  --md-default-bg-color--light: #0b435d;
  --md-default-bg-color--dark:  #001824;
  --md-default-fg-color:        #f6f5f0;
  --md-default-fg-color--light: #ffffff;
  --md-typeset-a-color:         #5fe0d1;
  --md-code-bg-color:           #0b2d3d;
  --md-code-fg-color:           #f6f5f0;
  --md-code-hl-color:           rgba(0, 174, 157, 0.12);
}

[data-md-color-scheme="slate"] .md-typeset {
  font-feature-settings: "kern", "liga", "calt";
}

[data-md-color-scheme="slate"] .md-typeset a,
[data-md-color-scheme="slate"] .md-nav__link--active,
[data-md-color-scheme="slate"] .md-tabs__link--active {
  color: #5fe0d1;
}

[data-md-color-scheme="slate"] .md-typeset code:not(pre code) {
  background: rgba(95, 224, 209, 0.1);
  border-radius: 0.25rem;
  color: #f6f5f0;
  padding: 0.05rem 0.28rem;
}

[data-md-color-scheme="slate"] .md-typeset .highlight,
[data-md-color-scheme="slate"] .md-typeset pre {
  background: #0b2d3d;
  border: 1px solid rgba(95, 224, 209, 0.08);
  border-radius: 0.25rem;
  box-shadow: none;
}

[data-md-color-scheme="slate"] .md-typeset .highlighttable {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

[data-md-color-scheme="slate"] .md-typeset .highlight span.filename,
[data-md-color-scheme="slate"] .md-typeset .highlighttable th.filename span.filename,
[data-md-color-scheme="slate"] .md-typeset .highlighttable .linenos,
[data-md-color-scheme="slate"] .md-typeset .highlighttable .linenodiv {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

[data-md-color-scheme="slate"] .md-typeset .highlight span.filename {
  border-bottom: 1px solid rgba(95, 224, 209, 0.08);
  margin-top: 0;
}

[data-md-color-scheme="slate"] .md-typeset .highlighttable {
  margin: 1em 0;
}

[data-md-color-scheme="slate"] .md-typeset .highlighttable > tbody,
[data-md-color-scheme="slate"] .md-typeset .highlighttable > tbody > tr,
[data-md-color-scheme="slate"] .md-typeset .highlighttable > tbody > tr > td,
[data-md-color-scheme="slate"] .md-typeset .highlighttable > tbody > tr > td > div,
[data-md-color-scheme="slate"] .md-typeset .highlighttable > tbody > tr > td > div > pre,
[data-md-color-scheme="slate"] .md-typeset .highlighttable > tbody > tr > td > div > pre > code {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

[data-md-color-scheme="slate"] .md-typeset .highlighttable > tbody > tr > td > div > pre {
  margin: 0;
}

[data-md-color-scheme="slate"] .md-typeset pre > code {
  background: transparent;
  color: #f6f5f0;
}

[data-md-color-scheme="slate"] .md-header,
[data-md-color-scheme="slate"] .md-tabs {
  background: #003247;
}

[data-md-color-scheme="slate"] .md-header__title .md-header__topic:first-child {
  opacity: 1;
  transform: none;
  position: static;
}

[data-md-color-scheme="slate"] .md-header__title .md-header__topic[data-md-component="header-topic"] {
  display: none;
}

[data-md-color-scheme="slate"] .md-header__title--active .md-header__topic:first-child,
[data-md-color-scheme="slate"] .md-header__title--active .md-header__topic[data-md-component="header-topic"] {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  z-index: 0;
}

[data-md-color-scheme="slate"] body,
[data-md-color-scheme="slate"] .md-container {
  background: #08202c;
}

[data-md-color-scheme="slate"] .md-main {
  background: transparent;
}

[data-md-color-scheme="slate"] .md-content,
[data-md-color-scheme="slate"] .md-sidebar {
  background: #08202c;
}

[data-md-color-scheme="slate"] .md-typeset {
  background: #08202c;
}
