/* ==========================================================================
   HUB CENTRAL DE SISTEMAS - PREMIUM DARK DESIGN SYSTEM
   Paleta: Slate / Cyan (#38bdf8) / Yellow Pastel (#fef08a) / Emerald (#10b981)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
  --hub-bg-main: #090d16;
  --hub-bg-surface: #0f172a;
  --hub-bg-card: rgba(30, 41, 59, 0.65);
  --hub-bg-card-hover: rgba(30, 41, 59, 0.95);
  --hub-border-subtle: rgba(255, 255, 255, 0.08);
  --hub-border-glow: rgba(56, 189, 248, 0.35);
  
  --hub-cyan: #38bdf8;
  --hub-cyan-glow: rgba(56, 189, 248, 0.2);
  --hub-cyan-dark: #0284c7;
  
  --hub-text-main: #f8fafc;
  --hub-text-muted: #94a3b8;
  --hub-text-data: #fef08a; /* Amarillo pastel para datos clave */
  --hub-text-label: #64748b; /* Gris slate para etiquetas */

  --hub-emerald: #10b981;
  --hub-emerald-bg: rgba(16, 185, 129, 0.12);
  --hub-amber: #f59e0b;
  --hub-rose: #f43f5e;
  --hub-purple: #a855f7;

  --hub-radius-sm: 8px;
  --hub-radius-md: 14px;
  --hub-radius-lg: 20px;
  --hub-radius-pill: 9999px;

  --hub-shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --hub-shadow-glow: 0 0 25px rgba(56, 189, 248, 0.15);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--hub-bg-main);
  color: var(--hub-text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(168, 85, 247, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.04) 0%, transparent 35%);
  background-attachment: fixed;
}

/* ==========================================================================
   TOP BAR & BANNER RIBBONS (Dinámico del CMS)
   ========================================================================== */
.hub-top-ribbon {
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.95), rgba(16, 185, 129, 0.95));
  color: #ffffff;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1050;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hub-top-ribbon.ribbon-warning {
  background: linear-gradient(90deg, #d97706, #b45309);
}

.hub-top-ribbon.ribbon-danger {
  background: linear-gradient(90deg, #e11d48, #be123c);
}

.hub-top-ribbon .btn-ribbon-cta {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--hub-radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
}

.hub-top-ribbon .btn-ribbon-cta:hover {
  background: #ffffff;
  color: #0f172a;
}

/* ==========================================================================
   NAVBAR PRINCIPAL
   ========================================================================== */
.hub-navbar {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hub-border-subtle);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: all 0.3s ease;
}

.hub-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.hub-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.hub-brand-text {
  display: flex;
  flex-direction: column;
}

.hub-brand-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hub-brand-title span {
  color: var(--hub-cyan);
}

.hub-brand-subtitle {
  font-size: 0.72rem;
  color: var(--hub-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-link-custom {
  color: var(--hub-text-muted);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 16px !important;
  border-radius: var(--hub-radius-pill);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link-custom:hover {
  color: var(--hub-cyan);
  background: rgba(56, 189, 248, 0.08);
}

.nav-link-custom.active {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.15);
  font-weight: 600;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hub-hero {
  padding: 60px 0 40px;
  position: relative;
}

.hub-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--hub-cyan);
  padding: 6px 14px;
  border-radius: var(--hub-radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hub-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hub-hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--hub-cyan) 80%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hub-hero-lead {
  font-size: 1.15rem;
  color: var(--hub-text-muted);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* ==========================================================================
   BARRA DE BÚSQUEDA Y FILTRADO INTERACTIVO
   ========================================================================== */
.search-container {
  position: relative;
  max-width: 580px;
  margin-bottom: 32px;
}

.search-input-custom {
  width: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hub-border-subtle);
  border-radius: var(--hub-radius-pill);
  padding: 14px 20px 14px 48px;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-input-custom:focus {
  outline: none;
  border-color: var(--hub-cyan);
  box-shadow: 0 0 0 4px var(--hub-cyan-glow), 0 8px 24px rgba(0, 0, 0, 0.3);
  background: rgba(15, 23, 42, 0.95);
}

.search-icon-pos {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hub-text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.search-shortcut {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.75rem;
  color: var(--hub-text-muted);
  font-weight: 600;
  pointer-events: none;
}

/* Category Filter Tabs */
.hub-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.btn-filter-tab {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--hub-border-subtle);
  color: var(--hub-text-muted);
  padding: 8px 18px;
  border-radius: var(--hub-radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-filter-tab:hover {
  color: var(--hub-cyan);
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
}

.btn-filter-tab.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.8), rgba(56, 189, 248, 0.8));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25);
}

/* ==========================================================================
   CARDS DE SISTEMAS EN PRODUCCIÓN (Vitrina Comercial)
   ========================================================================== */
.card-premium {
  background: var(--hub-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--hub-border-subtle);
  border-radius: var(--hub-radius-lg);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.card-premium:hover {
  background: var(--hub-bg-card-hover);
  border-color: var(--hub-border-glow);
  transform: translateY(-5px);
  box-shadow: var(--hub-shadow-card), var(--hub-shadow-glow);
}

.card-top-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.project-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(56, 189, 248, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--hub-cyan);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.project-badge-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.badge-status {
  padding: 4px 10px;
  border-radius: var(--hub-radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-status.status-operativo {
  background: var(--hub-emerald-bg);
  color: var(--hub-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-status.status-mantenimiento {
  background: rgba(245, 158, 11, 0.12);
  color: var(--hub-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-status.status-desarrollo {
  background: rgba(168, 85, 247, 0.12);
  color: var(--hub-purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.project-slogan {
  font-size: 0.85rem;
  color: var(--hub-text-data); /* Amarillo pastel para datos destacados */
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.4;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--hub-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.project-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  font-size: 0.82rem;
  color: var(--hub-text-muted);
}

.project-features-list li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-features-list li i {
  color: var(--hub-cyan);
  font-size: 0.9rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--hub-text-label);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
}

.card-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
  gap: 10px;
}

/* Botones Personalizados */
.btn-launch-system {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: var(--hub-radius-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
  transition: all 0.25s ease;
  flex-grow: 1;
  justify-content: center;
}

.btn-launch-system:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45);
  transform: scale(1.02);
}

.btn-details-link {
  background: rgba(255, 255, 255, 0.06);
  color: var(--hub-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: var(--hub-radius-pill);
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-details-link:hover {
  background: rgba(56, 189, 248, 0.15);
  color: var(--hub-cyan);
  border-color: var(--hub-cyan);
}

/* ==========================================================================
   BANNER HERO PROMOS (Slider / Destacado CMS)
   ========================================================================== */
.hero-promo-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--hub-border-glow);
  border-radius: var(--hub-radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.hero-promo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15), transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.hub-footer {
  margin-top: auto;
  background: #060910;
  border-top: 1px solid var(--hub-border-subtle);
  padding: 40px 0 24px;
  font-size: 0.88rem;
  color: var(--hub-text-label);
}

.hub-footer a {
  color: var(--hub-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hub-footer a:hover {
  color: var(--hub-cyan);
}

.footer-social-icons {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hub-text-muted);
  transition: all 0.2s ease;
}

.footer-social-btn:hover {
  background: var(--hub-cyan);
  color: #0f172a;
  transform: translateY(-2px);
}

/* ==========================================================================
   FORMULARIOS Y BOTÓN TOGGLE PASSWORD (COMPARTIDOS)
   ========================================================================== */
.form-control-admin, .form-select-admin {
  background-color: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #f8fafc !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 0.92rem !important;
  transition: all 0.2s ease;
}

.form-control-admin:focus, .form-select-admin:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
  outline: none;
}

.form-label-admin {
  font-size: 0.84rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
}

.btn-toggle-pass {
  background-color: rgba(2, 6, 23, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-left: none !important;
  color: #fef08a !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.btn-toggle-pass:hover {
  color: #38bdf8 !important;
  background-color: rgba(56, 189, 248, 0.1) !important;
}

.input-pass-left {
  border-radius: 10px 0 0 10px !important;
}

/* ==========================================================================
   BOTÓN DE VIDEO INFORMATIVO EN CARDS Y DRAWER LATERAL (OFFCANVAS)
   ========================================================================== */
.btn-video-card {
  width: 38px;
  height: 38px;
  border-radius: var(--hub-radius-pill);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--hub-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-video-card:hover {
  background: var(--hub-cyan);
  color: #0f172a !important;
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.hub-video-drawer {
  background: rgba(15, 23, 42, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  border-left: 1px solid rgba(56, 189, 248, 0.25) !important;
  width: 480px !important;
  max-width: 100vw !important;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6) !important;
}

.hub-video-drawer .offcanvas-header {
  background: rgba(2, 6, 23, 0.5);
}

.drawer-video-wrapper {
  background-color: #000000;
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.drawer-video-wrapper iframe,
.drawer-video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
}

/* Pulso animado para el botón de play en Nosotros */
.btn-play-pulse {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.45, 0, 0, 1);
  transition: transform 0.2s ease;
}

.btn-play-pulse:hover {
  transform: scale(1.1);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(56, 189, 248, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP CORPORATIVO
   ========================================================================== */
.hub-floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1050;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
}

.hub-floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.6);
  color: #ffffff !important;
}

.hub-floating-whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.hub-floating-whatsapp:hover .hub-floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 576px) {
  .hub-floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  .hub-floating-whatsapp-tooltip {
    display: none;
  }
}

/* ==========================================================================
   OPTIMIZACIONES PÚBLICAS PARA SMARTPHONES & TABLETS
   ========================================================================== */

/* Tablets & iPads (768px - 991.98px) */
@media (max-width: 991.98px) {
  .hub-hero {
    padding: 40px 0 30px;
  }
  
  .hub-hero-title {
    font-size: 2.2rem !important;
  }
}

/* Teléfonos y Pantallas Táctiles (< 768px) */
@media (max-width: 767.98px) {
  .hub-hero {
    padding: 30px 0 20px;
    text-align: center;
  }

  .hub-hero-title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
  }

  .hub-hero-subtitle {
    font-size: 0.95rem !important;
    margin-left: auto;
    margin-right: auto;
  }

  /* Píldoras de categorías con touch-scroll horizontal */
  .category-filter-container,
  .hub-category-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 10px !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important;
  }

  .category-filter-container::-webkit-scrollbar,
  .hub-category-pills::-webkit-scrollbar {
    height: 4px;
  }

  .category-filter-container::-webkit-scrollbar-thumb,
  .hub-category-pills::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.2);
    border-radius: 4px;
  }

  .hub-category-pill {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* Offcanvas video en smartphones */
  .offcanvas-video-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  /* Formulario de búsqueda en móviles */
  .hub-search-box {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .hub-search-box button {
    width: 100% !important;
  }
}

/* ==========================================================================
   SWEETALERT2 — TEMA OSCURO PREMIUM GLASSMORPHIC (CST HUB CENTRAL)
   ========================================================================== */
div.swal2-container.swal2-backdrop-show {
  background: rgba(5, 8, 16, 0.8) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.swal2-popup.hub-swal-popup,
div.swal2-popup {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(56, 189, 248, 0.15) !important;
  border-radius: 18px !important;
  padding: 1.85rem !important;
  color: #f8fafc !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.swal2-title.hub-swal-title,
div.swal2-title {
  color: #f8fafc !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  padding: 0 0 0.5rem 0 !important;
}

.swal2-html-container.hub-swal-text,
div.swal2-html-container {
  color: #94a3b8 !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  margin: 0.75rem 0 1.25rem 0 !important;
}

.swal2-actions.hub-swal-actions,
div.swal2-actions {
  gap: 12px !important;
  margin-top: 1rem !important;
}

.hub-swal-confirm-btn {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35) !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  cursor: pointer !important;
}

.hub-swal-confirm-btn:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5) !important;
  transform: translateY(-1px) !important;
}

.hub-swal-cancel-btn {
  background: rgba(30, 41, 59, 0.9) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  cursor: pointer !important;
}

.hub-swal-cancel-btn:hover {
  background: rgba(51, 65, 85, 0.95) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Iconos de SweetAlert2 con borde refinado */
div.swal2-icon.swal2-warning {
  border-color: rgba(245, 158, 11, 0.6) !important;
  color: #f59e0b !important;
}

div.swal2-icon.swal2-error {
  border-color: rgba(239, 68, 68, 0.6) !important;
  color: #ef4444 !important;
}

div.swal2-icon.swal2-success {
  border-color: rgba(16, 185, 129, 0.6) !important;
  color: #10b981 !important;
}

div.swal2-icon.swal2-info {
  border-color: rgba(56, 189, 248, 0.6) !important;
  color: #38bdf8 !important;
}
