.toast-container {
  position: fixed;
  z-index: 2147483000;
  top: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.toast-message {
  pointer-events: auto;
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  background: #17271f;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
  font: 500 14px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
}

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

.toast-success { background: #157347; }
.toast-error { background: #b42318; }
.toast-info { background: #1d4ed8; }
.toast-warning { background: #b45309; }

@media (max-width: 575px) {
  .toast-container {
    left: 14px;
    right: 14px;
    top: 14px;
    max-width: none;
  }
}
