/* Centered flash toasts (market, admin, auth) */
.zm-flash-toast-container {
  position: fixed;
  inset: 0;
  z-index: 10900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  pointer-events: none;
  padding: max(1rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}
.zm-flash-toast {
  pointer-events: auto;
  width: min(22rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  padding: 0.9rem 1.05rem;
  border-radius: 12px;
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.18);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  animation: zmFlashToastIn 0.38s ease;
  background: #fff;
  border: 1px solid #e8e8ec;
}
.zm-flash-toast--success { border-top: 3px solid #16a34a; }
.zm-flash-toast--danger { border-top: 3px solid #dc2626; }
.zm-flash-toast--warning { border-top: 3px solid #d97706; }
.zm-flash-toast__body {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #1e293b;
  font-weight: 500;
  text-align: center;
}
.zm-flash-toast__close {
  flex-shrink: 0;
  border: none;
  background: transparent;
  opacity: 0.55;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0 0.15rem;
  margin: -0.15rem 0 0;
  color: #64748b;
}
.zm-flash-toast__close:hover { opacity: 1; }
@keyframes zmFlashToastIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .zm-flash-toast { animation: none; }
}
