.toast-container {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  padding: 12px 8px;
  border-radius: 8px;
  color: white;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: toastIn 0.5s ease-out;
  pointer-events: auto;
  min-width: 280px;
  max-width: 90vw;
  text-align: center;
  will-change: opacity, transform;
}

.toast.success {
  background: linear-gradient(135deg, #4caf50, #45a049);
}

.toast.error,
.toast.warning {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}

.toast.info {
  background: linear-gradient(135deg, #2196f3, #1976d2);
}

.toast.fadeOut {
  animation: toastOut 0.5s ease-in forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}
