/* StarPay Cash — navegacion.css
   Menú inferior/lateral, pestañas y botones de navegación.
   Reglas separadas del CSS original; conserva los nombres de clases existentes.
*/

.bottom-nav{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);background:var(--card);border:1px solid var(--border);display:flex;justify-content:space-around;align-items:center;padding:10px 16px;z-index:100;width:92%;max-width:420px;border-radius:30px;box-shadow:0 10px 40px rgba(0,0,0,.15),0 4px 12px rgba(0,0,0,.08);backdrop-filter:blur(12px)}

@media (min-width:900px) {
.bottom-nav{max-width:1200px}
}

.nav-item{display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;background:none;border:none;padding:4px 8px;border-radius:10px;min-width:48px;color:#5A5A7A;font-size:9px;font-weight:700}

@media (min-width:900px) {
.nav-item{font-size:10px;min-width:64px}
}

.nav-item.active{color:var(--purple)}

.nav-item svg{width:20px;height:20px}

.nav-center{width:48px;height:48px;background:linear-gradient(135deg,#00A8D6,#33C1E8);border-radius:14px;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(0,168,214,.3);margin-top:-14px}

@media (min-width: 1024px) {
.mobile-bottom-nav{
    display: none !important;
  }
}

.historial-red-dot{position:absolute;top:-6px;right:-2px;background:#FF3B5C;color:#fff;font-size:9px;font-weight:900;border-radius:10px;min-width:16px;height:16px;padding:0 4px;display:flex;align-items:center;justify-content:center;line-height:1;box-shadow:0 2px 8px rgba(255,59,92,0.4);animation:pulseRed 1.5s infinite}

.sp-red-badge{ position:absolute; top:-6px; right:-6px; min-width:20px; height:20px; padding:0 5px; background:#FF3B5C; color:#fff; font-size:11px; font-weight:900; border-radius:999px; border:2px solid #fff; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 6px rgba(0,0,0,.25); z-index:5; }

.bottom-nav{
  background:#fff!important;border:2px solid #0F172A!important;border-radius:18px!important;
  box-shadow:4px 4px 0 #0F172A!important;padding:8px 9px!important;
  backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;
}

.bottom-nav .nav-item{
  flex:1 1 0!important;min-width:0!important;height:46px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:5px 3px!important;border:1.5px solid transparent!important;border-radius:12px!important;
  background:#fff!important;color:#64748B!important;font-size:9px!important;font-weight:800!important;
  transition:background .16s ease,border-color .16s ease,transform .16s ease!important;
}

.bottom-nav .nav-item.active{
  background:#EAF8FF!important;border-color:#0F172A!important;color:#0070BA!important;
  box-shadow:2px 2px 0 #0F172A!important;
}

.bottom-nav .nav-item svg{width:18px!important;height:18px!important;flex-shrink:0!important}

.bottom-nav .nav-center{
  width:44px!important;height:44px!important;margin-top:-11px!important;
  background:#00A8D6!important;border:2px solid #0F172A!important;border-radius:14px!important;
  box-shadow:3px 3px 0 #0F172A!important;
}

@media (max-width:380px) {
.bottom-nav{width:94%!important;padding:6px!important;border-radius:15px!important;gap:2px!important}
.bottom-nav .nav-item{height:43px!important;padding:4px 1px!important;font-size:8px!important;border-radius:10px!important}
.bottom-nav .nav-item svg{width:17px!important;height:17px!important}
.bottom-nav .nav-center{width:40px!important;height:40px!important;margin-top:-9px!important}
}

.starpay-paypal-section>.starpay-tab-heading{
  min-height:46px!important;margin:0 0 14px!important;padding:7px 10px!important;
  background:#fff!important;border:2px solid #0F172A!important;border-radius:14px!important;
  box-shadow:3px 3px 0 #0F172A!important;color:#0F172A!important;
}

.starpay-paypal-section>.starpay-tab-heading>button{
  width:30px!important;height:30px!important;flex:0 0 30px!important;
  background:#EFFAFF!important;border:1.5px solid #0F172A!important;border-radius:9px!important;
  box-shadow:2px 2px 0 #0F172A!important;color:#0F172A!important;font-weight:900!important;
}

.starpay-paypal-section>.starpay-tab-heading>div{
  color:#0F172A!important;font-size:14px!important;font-weight:900!important;letter-spacing:-.2px!important;
}

@media (max-width:480px) {
.starpay-paypal-section>.starpay-tab-heading{margin-bottom:12px!important}
}

.starpay-tab-heading{
  display:flex!important;align-items:center!important;gap:8px!important;
  min-height:46px!important;margin:0 0 14px!important;padding:7px 10px!important;
  background:#fff!important;border:2px solid #0F172A!important;
  border-radius:14px!important;box-shadow:3px 3px 0 #0F172A!important;
  color:#0F172A!important;
}

.starpay-tab-heading .starpay-back-button{
  width:30px!important;height:30px!important;min-width:30px!important;flex:0 0 30px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  padding:0!important;background:#EFFAFF!important;color:#0F172A!important;
  border:1.5px solid #0F172A!important;border-radius:9px!important;
  box-shadow:2px 2px 0 #0F172A!important;cursor:pointer!important;
  transition:transform .15s ease,background .15s ease!important;
}

.starpay-tab-heading .starpay-back-button:active{transform:scale(.96)!important}

.starpay-tab-heading .starpay-back-button svg{display:block!important;width:17px!important;height:17px!important}

.starpay-tab-heading>div{
  color:#0F172A!important;font-size:14px!important;font-weight:900!important;
  letter-spacing:-.2px!important;text-transform:capitalize!important;
}

/* ===== CSS original #7; id=fix-final-sidebar-wide ===== */

@media (min-width:701px) {
/* SIDEBAR IZQUIERDA EN COMPU - CHIQUITO, 84px, NO GIGANTE */
html body .bottom-nav{
    position:fixed!important;
    left:12px!important; right:auto!important;
    top:50%!important; bottom:auto!important;
    transform:translateY(-50%)!important;
    width:84px!important; min-width:84px!important; max-width:84px!important;
    flex-direction:column!important;
    justify-content:center!important; align-items:stretch!important;
    gap:8px!important;
    padding:14px 8px!important;
    border-radius:20px!important;
    height:auto!important; max-height:90vh!important;
    overflow-y:auto!important; overflow-x:hidden!important;
    background:#fff!important; border:2px solid #0F172A!important; box-shadow:4px 4px 0 #0F172A!important;
    z-index:100!important;
  }
html body .bottom-nav .nav-item{
    flex:none!important; width:100%!important; min-width:0!important; max-width:100%!important;
    height:56px!important; min-height:56px!important;
    flex-direction:column!important; gap:2px!important;
    font-size:10px!important; padding:6px 2px!important;
  }
html body .bottom-nav .nav-item span{font-size:9px!important; white-space:nowrap!important}
html body .bottom-nav .nav-center{margin-top:0!important; width:48px!important; height:48px!important}
html body .bottom-nav .nav-item svg{width:20px!important; height:20px!important}
/* El nav de móvil no se muestra en compu */
html body .mobile-bottom-nav{display:none!important}
}

@media (max-width:700px) {
html body .bottom-nav{
    left:50%!important; right:auto!important; top:auto!important; bottom:18px!important;
    transform:translateX(-50%)!important;
    width:94%!important; max-width:420px!important; min-width:0!important;
    flex-direction:row!important; gap:2px!important; padding:6px!important; border-radius:15px!important;
    height:auto!important; max-height:none!important;
  }
html body .bottom-nav .nav-item{flex:1 1 0!important; height:43px!important; flex-direction:column!important}
}

/* ===== CSS original #9; id=fix-tabs-svg-3lado ===== */
