.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: toastSlideIn 0.3s ease, toastFadeOut 0.3s ease 2.7s;
  z-index: 10000;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 200px;
  max-width: 400px;
}

.toast-success {
  background-color: hsl(142, 76%, 36%);
  color: white;
}

.toast-error {
  background-color: hsl(0, 84%, 60%);
  color: white;
}

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

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

@media (max-width: 640px) {
  .toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}
