/* ──────────────────────────────────────────────
   Supreme Dental Docs — Extra Styles
   ────────────────────────────────────────────── */

:root {
  --supreme-blue: #160066;
}


/* --- White header so logo blends naturally --- */
.md-header {
  background-color: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.md-header__inner {
  background-color: #ffffff;
}

/* --- Logo sizing in header --- */
.md-header .md-logo img,
.md-header .md-logo svg {
  width: auto;
  height: 2.2rem;
}

/* --- Bold the "Patient Engagement" nav section --- */
nav .md-nav__item a[href*="PatientCommunicationIntelligence"],
nav .md-nav__item a[href*="PatientEngagementTactics"],
nav .md-nav__item a[href*="DentallyCapabilityReference"] {
  font-weight: 600;
}

/* --- Make the Patient Engagement section label bold --- */
.md-nav__item--section > .md-nav__link {
  font-weight: 700 !important;
  font-size: 0.95rem;
}

/* --- Better table styling --- */
.md-typeset table:not([class]) {
  font-size: 0.85rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.md-typeset table:not([class]) th {
  background-color: var(--supreme-blue);
  color: white;
  font-weight: 600;
  padding: 10px 14px;
}

.md-typeset table:not([class]) td {
  padding: 8px 14px;
}

/* --- Callout / admonition polish --- */
.md-typeset .admonition,
.md-typeset details {
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* --- Code blocks --- */
.md-typeset code {
  border-radius: 4px;
}

/* --- Headings --- */
.md-typeset h1 {
  font-weight: 700;
  color: #212121;
  border-bottom: 2px solid var(--supreme-blue);
  padding-bottom: 0.3rem;
}

.md-typeset h2 {
  font-weight: 600;
  margin-top: 1.8rem;
}

.md-typeset h3 {
  font-weight: 600;
  color: #37474f;
}

/* --- Mermaid diagrams --- */
.mermaid {
  text-align: center;
  margin: 1.5rem 0;
}

/* --- Back-to-top button --- */
.md-top {
  background-color: var(--supreme-blue);
  color: white;
}

/* --- Navigation active page highlight --- */
.md-nav__link--active {
  font-weight: 600;
  color: var(--supreme-blue) !important;
}

/* --- Print-friendly --- */
@media print {
  .md-header, .md-footer, .md-sidebar, .md-top {
    display: none !important;
  }
  .md-content {
    margin: 0 !important;
    padding: 0 !important;
  }
}
