/******************************************************************************/
/* Toasts                                                                     */
/******************************************************************************/

.toast-root {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2000;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  max-width: 360px;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  font-size: 12.5px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  cursor: default;
}

.toast--visible { opacity: 1; transform: translateY(0); }

.toast--success { border-left: 4px solid var(--success); }
.toast--error { border-left: 4px solid var(--danger); }
.toast--info { border-left: 4px solid var(--brand); }

@media (prefers-reduced-motion: reduce) {
  .toast { transition: none; }
}
