   /* =========================================================
   🌌 ESTILOS PRINCIPALES — iT@pyz0n-e Web Panel
   Estructura modular y escalable
   ========================================================= */

/* ===== 1️⃣ BASE GENERAL ===== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f8fbff;
  color: #0f172a;
}

/* ===== 2️⃣ SPLASH SCREEN ===== */
#splash-screen {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, #00304a 0%, #00121e 100%);
  z-index: 9999;
  transition: opacity 1s ease;
}

#splash-logo {
  width: 45vw;
  max-width: 420px;
  filter: drop-shadow(0 0 25px rgba(0, 224, 255, 0.7));
  animation: pulse 2s infinite ease-in-out;
  border-radius: 25px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

#splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* ===== 3️⃣ NAVBAR PRINCIPAL ===== */
.navbar {
  background: linear-gradient(90deg, #08122d, #0a1a3f, #102a6b);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.navbar-brand {
  font-size: 1.4rem;
  font-weight: 600;
  color: #00e0ff !important;
  text-shadow: 0 0 6px rgba(0, 224, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.navbar-brand img {
  max-height: 60px;
  width: auto;
  cursor: pointer;
}

/* ===== 4️⃣ BOTÓN RECARGAR ===== */
#btn-refresh {
  background: linear-gradient(90deg, #007BFF, #00E0FF);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

#btn-refresh:hover {
  background: linear-gradient(90deg, #005fcc, #00b4ff);
  transform: scale(1.05);
}

/* ===== 5️⃣ ICONO AJUSTES ===== */
.dropdown-toggle::after {
  display: none;
}

.settings-icon {
  font-size: 1.3rem;
  color: #00e0ff;
  cursor: pointer;
  transition: 0.3s;
}

.settings-icon:hover {
  transform: scale(1.4);
  color: #00b4ff;
}

/* ===== 6️⃣ BARRA DE BÚSQUEDA ===== */
.search-bar {
  width: 350px;
}

@media (max-width: 992px) {
  .search-bar {
    width: 100%;
    margin-top: 10px;
  }
}

/* ===== 7️⃣ TABLA INVENTARIO ===== */
table img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  table img {
    width: 60px;
    height: 60px;
  }
}

/* ===== 🎛 NAVBAR ===== */
.navbar {
  background: linear-gradient(90deg, #08122d, #0a1a3f, #102a6b);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  padding-top: 8px;
  padding-bottom: 8px;
}

/* ===== 🏷️ TÍTULO CENTRAL ===== */
.navbar-brand {
  font-size: 1.6rem;
  font-weight: 600;
  color: #00e0ff !important;
  text-shadow: 0 0 6px rgba(0, 224, 255, 0.4);
  text-align: center;
  white-space: nowrap;
}


/* 🔁 Animación de rebote */
@keyframes floatBounce {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(-58%); }
}

/* ===== 📱 Responsive ===== */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.2rem;
    white-space: normal;
    line-height: 1.3;
  }

  .float-bubble {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .float-bubble.left { left: 10px; }
  .float-bubble.right { right: 10px; }
}


/* ===== 9️⃣ MODAL NEÓN (TIMELINE) ===== */
.neon-fade .modal-dialog {
  animation: neonFadeIn 0.6s ease forwards;
}

@keyframes neonFadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; box-shadow: 0 0 25px rgba(0,224,255,0.3); }
}

.neon-border {
  box-shadow: 0 0 20px rgba(0,224,255,0.25), inset 0 0 10px rgba(0,224,255,0.15);
  border: 1px solid rgba(0,224,255,0.4);
  transition: box-shadow 0.5s ease;
}

.neon-border:hover {
  box-shadow: 0 0 30px rgba(0,224,255,0.4), inset 0 0 15px rgba(0,224,255,0.25);
}

/* ===== 🔟 EFECTO LOGO ===== */
.neon-logo:active {
  animation: logoFlash 0.4s ease;
}

@keyframes logoFlash {
  0% { filter: drop-shadow(0 0 0px #00e0ff); }
  50% { filter: drop-shadow(0 0 20px #00e0ff) brightness(1.6); transform: scale(1.1); }
  100% { filter: drop-shadow(0 0 0px #00e0ff); transform: scale(1); }
}

/* ===== 1️⃣1️⃣ RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.1rem !important;
    white-space: normal !important;
    line-height: 1.2;
    text-align: left;
  }

  .navbar-brand img {
    height: 40px !important;
    width: auto !important;
  }

  .telegram-float-top {
    width: 45px !important;
    height: 45px !important;
    font-size: 22px !important;
    top: 85px !important;
    right: 15px !important;
  }
}
/* ===== 1️⃣2️⃣ AJUSTE PERFECTO DE LOGO + ICONO + TEXTO ===== */

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.logo-box:hover {
  transform: scale(1.05);
}

.icon-box {
  font-size: 1.6rem;
  margin-right: 6px;
  margin-top: 1px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1; /* línea base más compacta */
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
}

.brand-line1,
.brand-line2 {
  color: #00E0FF;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(0, 224, 255, 0.6);
  line-height: 1; /* refuerzo extra */
}

/* Primera línea */
.brand-line1 {
  font-size: 1.4rem;
}

/* Segunda línea */
.brand-line2 {
  font-size: 1.1rem;
  margin-top: -2px; /* se acerca a la primera línea */
}

/* ===== 📱 Responsive ===== */
@media (max-width: 768px) {
  .logo-box {
    width: 55px;
    height: 55px;
  }

  .icon-box {
    font-size: 1.3rem;
    margin-top: 0;
  }

  .brand-line1 {
    font-size: 1.1rem;
  }

  .brand-line2 {
    font-size: 0.95rem;
    margin-top: -4px; /* reduce aún más el hueco */
  }

  .brand-text {
    line-height: 0.95;
  }
}

@media (max-width: 480px) {
  .brand-line1 {
    font-size: 1rem;
  }

  .brand-line2 {
    font-size: 0.9rem;
    margin-top: -5px;
  }

  .brand-text {
    line-height: 0.9;
  }
}



/* ===== 👇 BOTÓN MENÚ ANIMADO ===== */
.custom-toggler {
  background: linear-gradient(90deg, #007BFF, #00E0FF);
  color: #ffffff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 224, 255, 0.5);
  transition: all 0.3s ease;
  animation: bounceGlow 2s infinite ease-in-out;
}

/* Efecto al pulsar */
.custom-toggler:active {
  transform: scale(0.9);
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.9);
}

/* ✨ Animación: rebote + brillo */
@keyframes bounceGlow {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(0, 224, 255, 0.6);
  }
  50% {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.9);
  }
}

/* En pantallas muy pequeñas, ajusta tamaño */
@media (max-width: 576px) {
  .custom-toggler {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}
/* 🔁 Ajuste en pantallas pequeñas */
@media (max-width: 768px) {
  .float-top-whatsapp {
    top: 80px;   /* la acercamos un poco al borde */
    left: 15px;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}
/* ===== 💬 BARRA DE CONTACTO ===== */
.contact-bar {
  position: fixed;
  bottom: 30px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
}

/* ===== 🔘 BOTONES ===== */
.contact-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 🟢 WhatsApp (fijo) */
.contact-btn.whatsapp {
  background: linear-gradient(90deg, #25D366, #128C7E);
  position: relative;
}

/* 🔵 Telegram (fijo) */
.contact-btn.telegram {
  background: linear-gradient(90deg, #007BFF, #00E0FF);
  position: relative;
}

/* ✋ Manita flotante */
.contact-btn.hand {
  background: radial-gradient(circle, #FFD700, #FFAA00);
  color: #fff;
  font-size: 30px;
  animation: floatUpDown 2.5s ease-in-out infinite;
}

/* ✨ Hover sutil */
.contact-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* 🔁 Animación flotante solo para la manita */
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .contact-bar {
    right: 10px;
    bottom: 20px;
    gap: 10px;
  }

  .contact-btn {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
}
