/* toast.css — Minimal newsroom-grade text-only notifications */

.toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  max-width: 420px;
  padding: 10px 18px;
  border-radius: 6px;
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #111; /* black text */
  background: #fff; /* white background */
  border: 1px solid #e5e5e5; /* thin white border */
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: all;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Optional subtle color hint (border only) */
.toast.success { border-color: #16a34a; }
.toast.error { border-color: #dc2626; }
.toast.info { border-color: #2563eb; }
.toast.warning { border-color: #ca8a04; }

.toast-text {
  text-align: center;
  color: #111;
}

@keyframes toastSlideOut {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-15px); }
}

@media (max-width: 600px) {
  .toast {
    width: 90%;
    font-size: 14px;
    padding: 8px 14px;
  }
}
