/* The old study page's toast (phaseb.css "Toast"): page_toast.js. */

.dk-toast-region {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  pointer-events: none;
}

.dk-toast {
  background: var(--lav-ink, #222);
  color: #fff;
  font-family: var(--lav-ui, inherit);
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  margin-bottom: 8px;
  animation: dk-toast-in 0.3s ease;
  max-width: 360px;
  text-align: center;
  pointer-events: auto;
}

.dk-toast--out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes dk-toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
