/* Toast container (top-right) */
#toast-container {
  position: fixed;
  top: 50px;
  left: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999999; /* higher than any modal overlay */
  pointer-events: none;
}

/* Toast card */
.toast {
  pointer-events: auto;
  min-width: 260px;
  max-width: 380px;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast .toast-msg {
  flex: 1;
}

.toast .toast-close {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
}

/* Types */
.toast.success { background: #16a34a; }
.toast.error   { background: #dc2626; }
.toast.info    { background: #2563eb; }
.toast.warn    { background: #d97706; }
