/* ═══════════════════════════════════════════════════════════════════════
   SPICYSHOP · Estilos del Portal de Revendedores
   ═══════════════════════════════════════════════════════════════════════ */

/* Animaciones */
@keyframes popIn {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.animate-pop {
  animation: popIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Tabs de navegación */
.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
  transition: all 0.15s ease;
  background: transparent;
  border: 1px solid transparent;
}
.nav-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.nav-tab.active {
  color: #fff;
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 0 15px -4px rgba(249, 115, 22, 0.3);
}

.tab-badge {
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

/* Filtros de Categoría */
.cat-filter {
  padding: 0.35rem 0.75rem;
  border-radius: 0.6rem;
  color: #94a3b8;
  transition: all 0.15s ease;
}
.cat-filter:hover {
  color: #fff;
}
.cat-filter.active {
  background: #f97316;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
}

/* Tarjetas de Producto */
.product-card {
  background: #0f091c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 16px 32px -12px rgba(249, 115, 22, 0.2);
}

/* Selector de Región */
.region-radio {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.75rem;
  color: #cbd5e1;
}
.region-radio:hover {
  border-color: rgba(249, 115, 22, 0.4);
}
.region-radio.active {
  background: rgba(249, 115, 22, 0.15);
  border-color: #f97316;
  color: #fff;
}

/* Selector de método de recarga */
.topup-method-btn {
  padding: 0.85rem 0.5rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.topup-method-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
}
.topup-method-btn.active {
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.2), rgba(234, 88, 12, 0.05));
  border-color: #f97316;
  color: #fff;
  box-shadow: 0 4px 16px -4px rgba(249, 115, 22, 0.3);
}

/* Scrollbars estilizadas */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(249, 115, 22, 0.5);
}

/* Toasts */
.toast-msg {
  padding: 0.75rem 1.1rem;
  border-radius: 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
  animation: popIn 0.2s ease both;
  backdrop-filter: blur(8px);
}
.toast-success {
  background: rgba(16, 185, 129, 0.95);
  color: #fff;
}
.toast-error {
  background: rgba(239, 68, 68, 0.95);
  color: #fff;
}
.toast-info {
  background: rgba(249, 115, 22, 0.95);
  color: #fff;
}
