/* ====================================================================
   BOTTOM-NAV.CSS — persistent footer nav, shared across index.html,
   trip-history.html, cost-log.html. Injected by js/bottom-nav.js.
   Minimal, text-only, no icons, no ornamentation — matches approved
   mockup: cream background, blue accent on active tab, square corners.
   ==================================================================== */

#cws-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: flex;
  background: var(--card);
  border-top: 1.5px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
#cws-bottom-nav a {
  flex: 1;
  padding: 14px 4px;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
#cws-bottom-nav a:not(:last-child) {
  border-right: 1px solid var(--line);
}
#cws-bottom-nav a.active {
  color: var(--stub);
  font-weight: 700;
}

/* Reserve space at the bottom of each page's main scroll container so
   content doesn't sit underneath the fixed nav bar. */
body.has-bottom-nav main.pv-shell {
  padding-bottom: 56px;
}
body.has-bottom-nav #map-area {
  padding-bottom: 56px;
}
