#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
}

.toast {
  background: #333;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-family: sans-serif;
  min-width: 200px;

  animation:
    slideIn 0.3s ease,
    fadeOut 0.3s forwards 2.7s;
}

.toast.success {
  border-left: 5px solid #2ecc71;
}
.toast.error {
  border-left: 5px solid #e74c3c;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(20px);
  }
}
