#toast-container {
  position: fixed;
  top: 1em;
  left: 50%;
  transform: translate(-50%, 0);
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  background-color: #222;
  color: #fff;
  font-family: monospace;
  font-size: 0.85em;
  padding: 0.75em 1em;
  border-radius: 6px;
  border: 1px solid #555;
  opacity: 0.95;
  animation: fadeOut 5s forwards;
  pointer-events: auto;
}

.toast.error { border-left: 4px solid #ff4c4c; }
.toast.warn  { border-left: 4px solid #ffaa00; }
.toast.info  { border-left: 4px solid #036afe; }

@keyframes fadeOut {
  0%   { opacity: 0.95; }
  80%   { opacity: 0.95; }
  100% { opacity: 0;}
}