/* ==========================================================================
   Glassmorphic Navigation Bar — GP-DESIGN-002-A2
   Bottom nav: 4 tabs, glass blur, 56dp min tap zones
   Uses CSS variables from design-tokens.css (A1)
   ========================================================================== */

/* --- Bottom Nav Bar --- */
.glass-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 12px calc(env(safe-area-inset-bottom, 0px) + 16px);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: 0 -12px 32px -4px rgba(45, 52, 53, 0.06);
  z-index: 100;
}

/* --- Nav Item (tab button) --- */
.glass-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 16px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  border: none;
  background: none;
  color: var(--on-surface-variant);
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 600;
  min-height: 56px;
  min-width: 56px;
  transition: background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Active tab */
.glass-nav__item.active {
  background: rgba(133, 199, 255, 0.3);
  color: var(--primary);
}

/* Tap feedback */
.glass-nav__item:active {
  transform: scale(0.92);
}

/* Material Symbols icon inside nav item */
.glass-nav__item .material-symbols-outlined {
  font-size: 24px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Filled icon variant (active state) */
.glass-nav__item.active .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- Content padding to avoid overlap with fixed nav --- */
.app-content--with-nav {
  padding-bottom: 100px;
}
