/* Astronomy theme customizations */

:root {
  --md-primary-fg-color: #1a1a2e;
  --md-accent-fg-color: #ffd700;
}

/* Dark mode (default for astronomy) */
[data-md-color-scheme="slate"] {
  --md-default-bg-color: #0d1117;
  --md-default-fg-color: #c9d1d9;
  --md-primary-fg-color: #161b22;
  --md-primary-bg-color: #c9d1d9;
  --md-accent-fg-color: #ffd700;
  --md-typeset-a-color: #58a6ff;
  --md-code-bg-color: #161b22;
}

/* Admonition styling for astronomy */
[data-md-color-scheme="slate"] .md-typeset .admonition,
[data-md-color-scheme="slate"] .md-typeset details {
  background-color: #161b22;
  border-color: #30363d;
}

/* Code blocks */
[data-md-color-scheme="slate"] .md-typeset code {
  background-color: #21262d;
}

/* Header styling */
.md-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Navigation */
[data-md-color-scheme="slate"] .md-nav__link:hover {
  color: #ffd700;
}

/* Highlighted text */
[data-md-color-scheme="slate"] .md-typeset mark {
  background-color: rgba(255, 215, 0, 0.3);
}

/* Tables */
[data-md-color-scheme="slate"] .md-typeset table:not([class]) th {
  background-color: #21262d;
}

/* Mermaid diagrams */
[data-md-color-scheme="slate"] .mermaid {
  background-color: transparent !important;
}

/* Footer */
.md-footer {
  background-color: #0d1117;
}
