/* CourseOS · Bottom Navigation
   Fixed to the bottom of every screen.
   Six items: Today, Schedule, Courses, Library, Assistant, More */

#bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--bg-primary);
  border-top: 2px solid var(--gray-100);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 10000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 500;
  color: var(--gray-300);
  cursor: pointer;
  min-width: 44px;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.nav-item:active {
  opacity: 0.7;
  transform: scale(0.95);
}

.nav-item.active {
  color: var(--color-red);
}

.nav-item svg {
  width: 22px;
  height: 22px;
}
