/* Wide header logo support */
.md-header__button.md-logo {
  margin: 0;
  padding: 0;
}

.md-header__button.md-logo img {
  height: 2rem;
  width: auto;
}

/* Hide site name text (logo has it) */
.md-header__topic:first-child {
  font-size: 0;
  overflow: hidden;
  width: 0;
}

/* Hide site name text in mobile navigation drawer */
.md-nav--primary > .md-nav__title {
  font-size: 0;
}
.md-nav--primary > .md-nav__title .md-nav__button {
  font-size: 1rem;
}

/* Hide "Home" title on homepage (logo serves as header) */
.md-content h1:first-child {
  display: none;
}

/* Center figures on home page */
figure {
  text-align: center;
}

figure img {
  display: inline-block;
}

/* Fix list formatting */

/* Ensure proper spacing between list items */
.md-content ul li,
.md-content ol li {
  margin-bottom: 0.5em;
}

/* Fix nested list indentation */
.md-content ul ul,
.md-content ol ol,
.md-content ul ol,
.md-content ol ul {
  margin-left: 1.5em;
  margin-top: 0.5em;
}

/* Ensure list items don't run together */
.md-content ul,
.md-content ol {
  margin-bottom: 1em;
}

/* Progress bar styling for deployment plan */
.progress {
  border-radius: 4px;
  margin: 1em 0;
  background-color: rgba(255, 255, 255, 0.1);
  height: 1.5em;
  position: relative; /* Positioning context for label */
}

.progress > .progress-bar {
  border-radius: 4px;
  height: 100%;
  background-color: #7c4dff; /* Default purple */
  overflow: visible; /* Allow label to extend beyond fill bar */
}

.progress .progress-label {
  position: absolute;
  left: 0.5em;
  width: 100%;              /* Span full container width */
  margin: 0;
  line-height: 1.5em;       /* Match container height for vertical centering */
  font-size: 0.85em;
  font-weight: 500;
  white-space: nowrap;
}

/* Phase-specific progress bar colors */
.progress.phase-planning > .progress-bar {
  background-color: #7c4dff; /* Purple - planning */
}

.progress.phase-hardware > .progress-bar {
  background-color: #00bcd4; /* Cyan - acquisition */
}

.progress.phase-infrastructure > .progress-bar {
  background-color: #ff9800; /* Orange - deployment */
}

.progress.phase-onboarding > .progress-bar {
  background-color: #4caf50; /* Green - users */
}

.progress.phase-testing > .progress-bar {
  background-color: #2196f3; /* Blue - testing */
}

.progress.phase-web > .progress-bar {
  background-color: #e91e63; /* Pink - web */
}
