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

.toast {
  padding: 12px 16px;
  border-radius: 4px;
  min-width: 250px;
  max-width: 300px;
  color: white;
  font-size: 14px;
  transform: translateY(100px);
  opacity: 0;
  transition:
    transform 150ms ease-out,
    opacity 150ms ease-out;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.toast-success {
  background-color: #3498db;
}

.toast-error {
  background-color: #e74c3c;
}

@media screen and (max-width: 768px) {
  .toast-container {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 20px;
    width: calc(100vw - 40px);
    max-width: 350px;
  }

  .toast {
    min-width: 0;
    max-width: none;
    width: 100%;
    text-align: center;
  }
}
