/* bottom-nav.css — Bottom Navigation, Sprint UI Global (portado de OutfitAI)
 * Solo lo que bottom-nav.js v1 (PhysiqAI) realmente pinta — 5 tabs directos,
 * sin submenús/popups (esa parte de OutfitAI es código muerto en su propio
 * proyecto fuente, no se porta aquí).
 */

#bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  align-items: center;
  justify-content: space-around;
  height: calc(60px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--color-header-bg);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}

@media (max-width: 1023px) {
  #bottom-nav { display: flex; }
  body.has-bnav { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
}

.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  height: 100%;
  color: var(--gray4);
  text-decoration: none;
  font-family: var(--fb);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  transition: color .18s;
}
.bnav-icon { display: flex; }
.bnav-label { font-size: 10px; font-weight: 600; letter-spacing: .3px; }

.bnav-item.bnav-active { color: var(--accent-text); }
.bnav-item.bnav-active::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
