/* NV Gestor v5.8 · arreglos · UX-01 contenedor de avisos (toast) */
.nv58-toasts {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 30000; display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  width: max-content; max-width: min(380px, calc(100vw - 32px)); pointer-events: none;
}
.nv58-toast {
  pointer-events: auto; cursor: pointer; display: flex; align-items: center; gap: 9px;
  min-height: 40px; max-width: 100%; box-sizing: border-box; padding: 9px 14px 9px 11px;
  border-radius: 13px; border: 1px solid var(--border2, rgba(255,255,255,.14));
  background: var(--bg4, var(--bg3, #1c1c28)); color: var(--text, #f2f2f7);
  box-shadow: 0 12px 32px rgba(0,0,0,.38), 0 1px 0 rgba(255,255,255,.04) inset;
  font: 600 13px/1.35 var(--nv-font-ui, inherit); letter-spacing: -.005em;
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  animation: nv58In .26s cubic-bezier(.34, 1.4, .64, 1) both;
}
.nv58-toast-i { flex: none; color: var(--accent, #7c83ff); }
.nv58-toast-t { min-width: 0; overflow-wrap: anywhere; }
.nv58-toast-n { flex: none; font: 700 11px/1 var(--nv-font-num, inherit); color: var(--text3, #9a9ab0); }
.nv58-toast--success .nv58-toast-i { color: var(--green, #34d399); }
.nv58-toast--warning { border-color: color-mix(in srgb, var(--amber, #f59e0b) 40%, var(--border2, transparent)); }
.nv58-toast--warning .nv58-toast-i { color: var(--amber, #f59e0b); }
.nv58-toast--error { border-color: color-mix(in srgb, var(--red, #ef4444) 45%, var(--border2, transparent)); }
.nv58-toast--error .nv58-toast-i { color: var(--red2, var(--red, #f87171)); }
.nv58-toast.is-bump { animation: nv58Bump .22s cubic-bezier(.34, 1.4, .64, 1); }
.nv58-toast.is-out { animation: nv58Out .17s ease both; }
@keyframes nv58In { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes nv58Out { to { opacity: 0; transform: translateY(6px) scale(.97); } }
@keyframes nv58Bump { 50% { transform: scale(1.03); } }
@media (max-width: 640px) {
  .nv58-toasts {
    right: auto; left: 50%; transform: translateX(-50%); bottom: auto;
    top: calc(10px + env(safe-area-inset-top, 0px)); align-items: center;
    width: calc(100vw - 32px); max-width: none; flex-direction: column-reverse;
  }
  .nv58-toast { font-size: 12.5px; min-height: 38px; }
  @keyframes nv58In { from { opacity: 0; transform: translateY(-10px) scale(.96); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .nv58-toast, .nv58-toast.is-bump, .nv58-toast.is-out { animation: none !important; }
}
