/* Custom styles for OpenWrt Mesh Network Documentation */

:root {
  --md-code-hl-number-color: #d73a49;
  --md-code-hl-special-color: #6f42c1;
  --md-code-hl-function-color: #6f42c1;
  --md-code-hl-constant-color: #005cc5;
  --md-code-hl-keyword-color: #d73a49;
  --md-code-hl-string-color: #032f62;
}

/* Improve code block readability */
.md-typeset code {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  padding: 0.1em 0.3em;
}

/* Make admonitions stand out */
.md-typeset .admonition {
  border-left-width: 4px;
  border-radius: 4px;
}

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

.md-typeset table:not([class]) th {
  background-color: var(--md-default-fg-color--lightest);
  font-weight: 600;
}

/* Better checkbox styling */
.md-typeset .task-list-indicator::before {
  background-color: var(--md-default-fg-color--lightest);
}

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

/* Custom class for command examples */
.command-example {
  background-color: rgba(0, 0, 0, 0.03);
  border-left: 4px solid var(--md-primary-fg-color);
  padding: 1em;
  margin: 1em 0;
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 0.2em 0.5em;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.85em;
}

.status-badge.success {
  background-color: #28a745;
  color: white;
}

.status-badge.warning {
  background-color: #ffc107;
  color: black;
}

.status-badge.error {
  background-color: #dc3545;
  color: white;
}

.status-badge.info {
  background-color: #17a2b8;
  color: white;
}
