/* Custom CSS for MkDocs Material */

:root {
  --md-primary-fg-color: #284b63;
  --md-accent-fg-color: #84a59d;
}

/* Custom styling for code blocks */
.highlight {
  border-radius: 0.5em;
}

/* Improve table styling */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
}

th, td {
  border: 1px solid var(--md-default-fg-color--lightest);
  padding: 0.6em 1em;
}

th {
  background-color: var(--md-default-fg-color--lightest);
  font-weight: 600;
}

/* Mermaid diagram styling */
.mermaid {
  text-align: center;
  margin: 2em 0;
}

/* Custom admonition colors */
.admonition.tip {
  border-left-color: #00bfa5;
}

.admonition.warning {
  border-left-color: #ff9100;
}

.admonition.danger {
  border-left-color: #ff5252;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Code copy button enhancement */
.md-clipboard {
  transition: opacity 0.25s;
}

/* Footer customization */
.md-footer__link {
  display: flex;
  align-items: center;
}

/* Navigation improvements */
.md-nav__item--active > .md-nav__link {
  font-weight: 600;
}

/* Search result highlighting */
.md-search-result__article--document {
  background-color: var(--md-default-bg-color);
}
