#toast-container {
  position: fixed;
  top: 70px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#toast-container .toast {
  padding: 10px 10px;
  border-radius: 10px;
  color: white;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeInOut 4s ease forwards;
  opacity: 0;
  transform: translateY(-20px);
  max-width: 300px;
}

#toast-container .toast.success {
  border: 1px solid #507a4c;
  color: #507a4c;
  background-color: #a4d5a6;
}

#toast-container .toast.error {
  border: 1px solid #7a4c4c;
  background-color: #d5a7a4;
  color: #7a4c4c;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  10%,
  90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@media (max-width: 350px) {
  #toast-container .toast {
    max-width: 80vw;
  }
}
