/* Toast messages at the bottom of the screen. */
.toast {
  position: fixed;
  left: 50%;
  bottom: var(--space-5);
  transform: translateX(-50%);
  background: var(--color-text);
  color: var(--color-bg);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base);
  max-width: calc(100% - 2 * var(--space-4));
  z-index: 200;
}

.toast.is-visible {
  opacity: 1;
}
