/* ════════════════════════════════════════════════════════════════
   SCHOONGENOEG — BOTTOM NAV MASTER v2.0
   Vaste 42px hoogte. Geen safe-area opblaas. Knoppen gecentreerd.
   #bottomNav ID-selector wint altijd.
   ════════════════════════════════════════════════════════════════ */

/* ── 1. BALK: exact 42px, geen extra ruimte eronder ─────────── */
#bottomNav {
  position:      fixed !important;
  bottom:        0 !important;
  left:          0 !important;
  right:         0 !important;
  height:        42px !important;
  min-height:    42px !important;
  max-height:    42px !important;
  padding:       0 !important;
  margin:        0 !important;
  overflow:      hidden !important;
  display:       flex !important;
  flex-direction:row !important;
  align-items:   stretch !important;
  box-sizing:    border-box !important;
  z-index:       200 !important;
  background:    #ffffff !important;
  border-top:    1px solid #e2e8f0 !important;
  box-shadow:    0 -2px 8px rgba(0,0,0,.06) !important;
}

/* ── 2. KNOPPEN: vullen balk volledig, icoon+label gecentreerd ─ */
#bottomNav .bottom-nav-btn {
  flex:            1 !important;
  height:          42px !important;
  min-height:      42px !important;
  max-height:      42px !important;
  display:         flex !important;
  flex-direction:  column !important;
  align-items:     center !important;
  justify-content: center !important;
  gap:             2px !important;
  padding:         0 !important;
  margin:          0 !important;
  box-sizing:      border-box !important;
  position:        relative !important;
  overflow:        visible !important;
  background:      none !important;
  border:          none !important;
  cursor:          pointer !important;
  font-family:     inherit !important;
  -webkit-tap-highlight-color: transparent;
}

/* ── 3. ICONEN ────────────────────────────────────────────────── */
#bottomNav .bottom-nav-btn > i {
  font-size:   .9rem !important;
  line-height: 1 !important;
  display:     block !important;
  flex-shrink: 0 !important;
  color:       #9ca3af !important;
}

/* ── 4. LABELS ────────────────────────────────────────────────── */
#bottomNav .bottom-nav-btn > span:not(.badge) {
  font-size:      .55rem !important;
  font-weight:    600 !important;
  line-height:    1 !important;
  display:        block !important;
  white-space:    nowrap !important;
  flex-shrink:    0 !important;
  color:          #9ca3af !important;
  letter-spacing: -.01em !important;
}

/* ── 5. ACTIEF ────────────────────────────────────────────────── */
#bottomNav .bottom-nav-btn.active > i,
#bottomNav .bottom-nav-btn.active > span:not(.badge) {
  color:       var(--wl-primary, #e30613) !important;
  font-weight: 700 !important;
}
#bottomNav .bottom-nav-btn.active {
  background: transparent !important;
}

/* ── 6. BADGE ─────────────────────────────────────────────────── */
#bottomNav .bottom-nav-btn > span.badge {
  position:        absolute !important;
  top:             1px !important;
  right:           4px !important;
  display:         none !important;
  font-size:       .48rem !important;
  line-height:     1 !important;
  min-width:       14px !important;
  height:          14px !important;
  padding:         0 3px !important;
  border-radius:   7px !important;
  align-items:     center !important;
  justify-content: center !important;
  font-weight:     800 !important;
  border:          1.5px solid #ffffff !important;
  pointer-events:  none !important;
}
#bottomNav .bottom-nav-btn > span.badge:not(.hidden) {
  display: flex !important;
}

/* ── 7. TIKANMATIE ────────────────────────────────────────────── */
@keyframes bnBounce {
  from { transform: scale(.75) translateY(2px); }
  to   { transform: scale(1)   translateY(0);   }
}
#bottomNav .bottom-nav-btn.active > i {
  animation: bnBounce .28s cubic-bezier(.34,1.56,.64,1) both;
}
#bottomNav .bottom-nav-btn:active {
  transform: scale(.88) !important;
  transition: transform .1s ease !important;
}

/* ── 8. DARK MODE ─────────────────────────────────────────────── */
html.sg-theme-dark #bottomNav {
  background:  #111827 !important;
  border-top:  1px solid rgba(255,255,255,.07) !important;
  box-shadow:  0 -4px 16px rgba(0,0,0,.3) !important;
}
html.sg-theme-dark #bottomNav .bottom-nav-btn > i,
html.sg-theme-dark #bottomNav .bottom-nav-btn > span:not(.badge) {
  color: #6b7280 !important;
}
html.sg-theme-dark #bottomNav .bottom-nav-btn.active > i,
html.sg-theme-dark #bottomNav .bottom-nav-btn.active > span:not(.badge) {
  color: var(--wl-primary, #e30613) !important;
}
html.sg-theme-dark #bottomNav .bottom-nav-btn > span.badge:not(.hidden) {
  border-color: #111827 !important;
}

/* ── 9. SPECIALE ICOONKLEUREN ────────────────────────────────── */
#bottomNavNotitieBtn > i {
  color: #8b5cf6 !important;
}
html.sg-theme-dark #bottomNavNotitieBtn > i {
  color: #a78bfa !important;
}
#bottomNavNotitieBtn:active {
  transform: scale(.90) !important;
}
