/* Toast notification component */
.toast-container {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  width: min(90vw, 400px);
}

@media (min-width: 900px) {
  .toast-container {
    left: auto;
    right: 24px;
    top: 24px;
    bottom: auto;
    transform: none;
    align-items: flex-end;
  }
}

.toast {
  pointer-events: auto;
  padding: 12px 20px;
  border-radius: var(--radius-md, 10px);
  font-size: var(--text-sm, 14px);
  line-height: 1.4;
  color: #fff;
  background: #1a1a1a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 100%;
  text-align: center;
}

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

.toast--error {
  background: #d32f2f;
}

.toast--success {
  background: #2e7d32;
}

.toast--info {
  background: #1a1a1a;
}
