/* Mobile bottom navigation — only visible on small screens, only when logged in */
@import url('tokens.css');

.bottom-nav {
  display: none;
}

@media (max-width: 760px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-2) var(--space-2) calc(var(--space-2) + env(safe-area-inset-bottom, 0));
    justify-content: space-around;
    align-items: stretch;
  }
  body.has-bottom-nav { padding-bottom: 88px; }
}

.bottom-nav a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 11px; font-weight: var(--font-semibold);
  letter-spacing: -0.01em;
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.bottom-nav a svg {
  width: 22px; height: 22px;
  stroke: currentColor; stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--transition-fast);
}
.bottom-nav a:hover { color: var(--text-secondary); }
.bottom-nav a.active {
  color: var(--brand-primary);
}
.bottom-nav a.active svg { transform: scale(1.1); }
.bottom-nav a:active { transform: scale(0.95); }
