/* Bottom Navigation Bar - shared styles */
:root {
  --nav-bg-start: #161b22;
  --nav-bg-end: #0d1117;
  --nav-border: rgba(48, 54, 61, 0.8);
  --nav-text: #6e7681;
  --nav-text-hover: #8b949e;
  --nav-accent: #00d4aa;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(180deg, var(--nav-bg-start) 0%, var(--nav-bg-end) 100%);
  border-top: 1px solid var(--nav-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0 max(16px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 70px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--nav-text);
  padding: 8px 0;
  border-radius: 12px;
  transition: color 0.15s ease;
  width: 20%;
  height: 46px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.nav-item:hover { color: var(--nav-text-hover); }
.nav-item.active { color: var(--nav-accent); }

.nav-item::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--nav-accent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.nav-item.active::before {
  opacity: 1;
}

.nav-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.nav-label {
  font-size: 10px;
  font-weight: 500;
}
