:root {
  --bao-dark: #1f2937;
  --bao-dark-2: #111827;
  --bao-accent: #ffc107;
  --bao-accent-dark: #d39e00;
}

body {
  color: #212529;
}

/* Navbar */
.navbar {
  background-color: var(--bao-dark);
}
.navbar .nav-link {
  color: rgba(255, 255, 255, .85);
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--bao-accent);
}
.navbar-brand {
  color: #fff !important;
}
.navbar-brand .bi {
  color: var(--bao-accent);
}
.dropdown-menu-doc {
  min-width: 46rem;
  max-width: 90vw;
}
@media (max-width: 991.98px) {
  .dropdown-menu-doc { min-width: 100%; }
}
.dropdown-item.small {
  white-space: normal;
  padding-top: .25rem;
  padding-bottom: .25rem;
}

/* Hero */
.hero-bao {
  background: linear-gradient(135deg, var(--bao-dark) 0%, var(--bao-dark-2) 100%);
  color: #fff;
}
.hero-bao .lead {
  color: rgba(255, 255, 255, .85);
}
.hero-screenshot {
  border-radius: .75rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .1);
}

/* Cards */
.card-category {
  border: 1px solid #e9ecef;
  transition: transform .15s ease, box-shadow .15s ease;
  height: 100%;
}
.card-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .08);
}
.card-category .bi {
  color: var(--bao-accent-dark);
}

.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 193, 7, .15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Doc content */
.doc-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}
.doc-content h2:first-child {
  margin-top: 0;
}
.doc-content p {
  line-height: 1.75;
}
.doc-content pre {
  background: var(--bao-dark-2);
  color: #e5e7eb;
  padding: 1rem 1.25rem;
  border-radius: .5rem;
  overflow-x: auto;
  font-size: .85rem;
}
.doc-content code {
  color: var(--bao-accent-dark);
}
.doc-content pre code {
  color: inherit;
}
.doc-content .alert {
  border: none;
  border-left: 4px solid var(--bao-accent);
}
.doc-sidebar .nav-link {
  color: #495057;
  padding: .35rem .75rem;
  border-radius: .375rem;
  font-size: .9rem;
}
.doc-sidebar .nav-link.active {
  background: rgba(255, 193, 7, .18);
  color: #664d03;
  font-weight: 600;
}
.doc-sidebar .nav-link:hover {
  background: #f1f3f5;
}

/* Footer */
.footer-bao {
  background: var(--bao-dark-2);
}
.footer-bao a {
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
}
.footer-bao a:hover {
  color: var(--bao-accent);
}

/* Misc */
.btn-warning {
  color: #212529;
  font-weight: 600;
}
.section-eyebrow {
  color: var(--bao-accent-dark);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  font-size: .8rem;
}
