/* Common Toast component — single unified light-theme style. */

.ui-toast-host {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100001;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  pointer-events: none;
}

.ui-toast {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 360px;
  padding: 0.65rem 0.9rem;
  border-radius: 0.7rem;
  background: var(--white-color, #ffffff);
  color: var(--text-color-primary, #0f172a);
  border: 1px solid var(--color-gray-200, #e5e7eb);
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  box-shadow:
    0 14px 32px -10px rgba(15, 23, 42, 0.18),
    0 2px 6px rgba(15, 23, 42, 0.05);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition:
    opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}
.ui-toast--in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.ui-toast--out {
  opacity: 0;
  transform: translateY(-4px) scale(0.98);
}

.ui-toast strong {
  font-weight: 700;
  color: var(--primary-color-deep, #08493c);
}

.ui-toast-msg {
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.ui-toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(var(--primary-color-rgb), 0.15);
  color: var(--primary-color-deep, #08493c);
}
