/* Custom styling for BGSTM documentation */

:root {
  --md-primary-fg-color: #2196f3;
  --md-accent-fg-color: #03a9f4;
}

/* Logo styling - ensure proper sizing and spacing */
.md-header__button.md-logo {
  padding: 0.2rem;
}

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

/* Improve overall readability */
.md-typeset {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Make code blocks stand out more */
.md-typeset pre > code {
  border-radius: 0.3rem;
}

/* Better table styling */
.md-typeset table:not([class]) {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.3rem;
}

/* Enhance admonitions (callouts) */
.md-typeset .admonition {
  border-radius: 0.3rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,0.05);
}

/* Better navigation hover states */
.md-nav__link:hover {
  opacity: 0.7;
}

/* Improve search results */
.md-search__output {
  border-radius: 0.3rem;
}

/* Professional footer spacing */
.md-footer {
  margin-top: 2rem;
}

/* Make cards more visually appealing */
.md-typeset .grid.cards > ul > li {
  border-radius: 0.5rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}

.md-typeset .grid.cards > ul > li:hover {
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.1);
}
