/* Fleet Decision Platform - Custom Styles */

/* Hero section styling */
.md-typeset h1 {
  font-weight: 700;
  color: var(--md-primary-fg-color);
}

/* Card grid improvements */
.md-typeset .grid.cards > ul > li {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.md-typeset .grid.cards > ul > li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Code block styling */
.md-typeset pre > code {
  border-radius: 0.4rem;
}

/* Admonition improvements */
.md-typeset .admonition {
  border-radius: 0.4rem;
}

/* Table styling */
.md-typeset table:not([class]) {
  border-radius: 0.4rem;
  overflow: hidden;
}

.md-typeset table:not([class]) th {
  background-color: var(--md-primary-fg-color);
  color: var(--md-primary-bg-color);
}

/* Tab styling */
.md-typeset .tabbed-labels > label {
  font-weight: 600;
}

/* Mermaid diagram styling */
.mermaid {
  background: transparent !important;
}

/* KPI dashboard styling */
.kpi-dashboard {
  font-family: 'JetBrains Mono', monospace;
  background: var(--md-code-bg-color);
  padding: 1rem;
  border-radius: 0.4rem;
  overflow-x: auto;
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.mvp {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-badge.phase2 {
  background: #fff3e0;
  color: #ef6c00;
}

.status-badge.phase3 {
  background: #e3f2fd;
  color: #1565c0;
}

.status-badge.phase4 {
  background: #f3e5f5;
  color: #7b1fa2;
}

/* Progress bar */
.progress-bar {
  height: 0.5rem;
  background: var(--md-default-fg-color--lightest);
  border-radius: 0.25rem;
  overflow: hidden;
}

.progress-bar .progress {
  height: 100%;
  background: var(--md-primary-fg-color);
  transition: width 0.3s;
}

/* Feature comparison table */
.feature-table {
  width: 100%;
}

.feature-table .check {
  color: #4caf50;
  font-size: 1.2rem;
}

.feature-table .cross {
  color: #f44336;
  font-size: 1.2rem;
}

/* Code annotations */
.md-typeset .md-annotation__index {
  background: var(--md-primary-fg-color);
}

/* Footer improvements */
.md-footer {
  margin-top: 2rem;
}

/* Search improvements */
.md-search__form {
  border-radius: 0.4rem;
}

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

/* Mobile improvements */
@media screen and (max-width: 76.1875em) {
  .md-nav__source {
    background-color: var(--md-primary-fg-color--dark);
  }
}

/* Print styles */
@media print {
  .md-sidebar,
  .md-tabs,
  .md-search,
  .md-header__button {
    display: none;
  }
}
