/* Toast notifications — slide in from the top-right, auto-dismiss. */

.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(360px, calc(100vw - 2rem));
}

.app-toast {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateX(120%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.app-toast.show { opacity: 1; transform: translateX(0); }

.app-toast.success { background: #16a34a; }
.app-toast.error   { background: #dc2626; }
.app-toast.warning { background: #d97706; }
.app-toast.info    { background: #2563eb; }
