body {
    font-family: 'Inter', sans-serif;
    background: #f1f5f9;
  }
  
  .dark body {
    background: #0f172a !important;
    color: white !important;
  }
  
  .card {
    background: white;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 8px;
    border: 1px solid #e2e8f0;
    transition: all .15s ease;
  }
  
  .card:hover {
    transform: scale(1.01);
  }
  
  .dark .card {
    background: #1e293b !important;
    border-color: #334155 !important;
  }
  
  .fadein {
    animation: fade .3s ease-in;
  }
  
  @keyframes fade {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .modal-backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
  }
  
  .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
  }

  /* Toast con botón mejorado */
#toastContainer > div {
  min-width: 320px;
  max-width: 400px;
}

@media (max-width: 640px) {
  #toastContainer {
    left: 1rem;
    right: 1rem;
  }
  
  #toastContainer > div {
    min-width: auto;
    width: 100%;
  }
}
/* ===== CHIP DE DESCUENTO (animación sutil) ===== */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.04); }
}

.animate-pulse-subtle {
  animation: pulse-subtle 2.5s ease-in-out infinite;
}
