/* ==========================================================================
   AIRH Mobile Bottom Navigation — Futuristic Neumorphism
   ========================================================================== */

.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: var(--color-bg-primary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: none;
  z-index: var(--z-sticky);
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -4px 14px var(--neu-shadow-dark);
}

.bottom-nav__list {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  height: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-1);
  cursor: pointer;
  position: relative;
  color: var(--color-text-tertiary);
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.bottom-nav__item:hover {
  color: var(--color-text-secondary);
  text-decoration: none;
}

.bottom-nav__item.is-active {
  color: var(--color-accent);
}

.bottom-nav__item.is-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-accent), #6366f1);
}

.bottom-nav__icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition-fast);
}

.bottom-nav__item.is-active .bottom-nav__icon {
  transform: scale(1.1);
}

.bottom-nav__icon-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-size: 9px;
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

.bottom-nav__label {
  font-size: 10px;
  font-weight: var(--weight-medium);
  line-height: 1;
  white-space: nowrap;
}

.bottom-nav__item.is-active .bottom-nav__label {
  font-weight: 700;
}

@media (max-width: 1023px) {
  .bottom-nav {
    display: block;
  }
}

@media (max-width: 360px) {
  .bottom-nav__label {
    display: none;
  }
}
