.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column-reverse; /* новые сверху */
  gap: 10px;
  z-index: 9999;
}

.toast {
  background: #7e1e1f;
  color: #fff;
  padding: 12px 40px 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  min-width: 220px;
  max-width: 320px;
  position: relative;

  opacity: 0;
  transform: translateY(20px);
  transition: 0.3s;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-close, .toast-close:hover {
  background: transparent;
  position: absolute;
  top: 0px;
  right: 0px;
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  box-shadow: none;
}