/* ============================================================
   MENÚ INFERIOR TIPO APP — ORB NEÓN GLASS AZUL
   ============================================================ */

.bt-bottom-nav{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  height: 64px;
  padding: 6px 10px;
  padding-bottom: env(safe-area-inset-bottom, 0); /* notch iPhone */

  /* Menos transparente + glass azul */
  background: rgba(18,27,46,0.68);
  border-top: 1px solid rgba(56,189,248,0.55);

  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);

  display: flex;
  justify-content: space-around;
  align-items: center;

  z-index: 1400;

  box-shadow:
    0 -4px 14px rgba(56,189,248,0.20),
    0 0 20px rgba(56,189,248,0.14);
}

.bt-bottom-item{
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 11px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;

  padding-top: 4px;
  position: relative;

  transition:
    color 0.18s ease,
    transform 0.14s ease,
    text-shadow 0.18s ease;
}

/* Iconos Bootstrap */
.bt-bottom-item i{
  font-size: 22px;
  color: var(--text-secondary);

  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}

/* Hover general */
.bt-bottom-item:hover{
  color: var(--orb-blue-light);
  transform: translateY(-2px);
}
.bt-bottom-item:hover i{
  color: var(--orb-blue-light);
  text-shadow: 0 0 12px rgba(56,189,248,0.75);
}

/* -------- ACTIVO (resaltado azul neón) -------- */
.bt-bottom-item.is-active{
  color: var(--orb-blue-light);
  font-weight: 600;
}
.bt-bottom-item.is-active i{
  color: var(--orb-blue-light);
  text-shadow:
    0 0 8px rgba(56,189,248,0.9),
    0 0 14px rgba(56,189,248,0.45);
}

/* Línea superior glow */
.bt-bottom-item.is-active::before{
  content: "";
  position: absolute;
  top: 0;
  width: 38px;
  height: 3px;
  border-radius: 999px;

  background: linear-gradient(90deg, var(--orb-blue), var(--orb-purple));
  box-shadow:
    0 0 8px rgba(56,189,248,0.6),
    0 0 14px rgba(139,92,246,0.35);
}

/* -------- BADGE NOTIFICACIONES -------- */
.bt-has-badge{
  position: relative;
  display: inline-block; /* ✅ evita “saltos” del badge */
}

.bt-badge{
  position: absolute;
  top: -5px;
  right: -12px;

  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;

  background: var(--orb-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;

  box-shadow:
    0 0 10px rgba(239,68,68,0.7),
    0 0 16px rgba(239,68,68,0.45);
}

/* -------- DESKTOP -------- */
@media (min-width: 992px){
  .bt-bottom-nav{
    max-width: 960px;
    margin: 0 auto;
    border-radius: 18px 18px 0 0;

    background: rgba(18,27,46,0.60);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-top: 1px solid rgba(56,189,248,0.55);

    box-shadow:
      0 -6px 22px rgba(15,23,42,0.85),
      0 0 28px rgba(56,189,248,0.20);
  }
}