/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(10px);
  min-width: 260px;
  max-width: 90vw;
  padding: 12px 14px;
  border-radius: 12px;

  /* theme-aware */
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-main);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  font-size: 14px;
  line-height: 1.3;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* States */
.toast.success {
  border-color: rgba(46, 204, 113, 0.6);
}

.toast.error {
  border-color: rgba(231, 76, 60, 0.6);
}

.toast.info {
  border-color: rgba(120, 170, 255, 0.6);
}

/* Optional: slightly different shadow in dark mode (matches your other dark overrides) */
[data-theme="dark"] .toast {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}


