#csl-toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: min(360px, calc(100vw - 2rem));
  pointer-events: none;
}

.csl-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--white);
  color: var(--black);
  font-family: "Ubuntu", sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 12px 28px rgba(11, 11, 11, 0.14);
  pointer-events: auto;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.csl-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.csl-toast.is-leaving {
  opacity: 0;
  transform: translateX(12px);
}

.csl-toast__icon {
  flex-shrink: 0;
  width: 1.25rem;
  text-align: center;
  margin-top: 0.1rem;
}

.csl-toast__message {
  flex: 1;
  margin: 0;
}

.csl-toast__close {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.65;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}

.csl-toast__close:hover {
  opacity: 1;
}

.csl-toast--success {
  border-color: rgba(103, 165, 128, 0.45);
  background: linear-gradient(135deg, rgba(103, 165, 128, 0.12), rgba(255, 255, 255, 0.98));
  color: var(--shiny-shamrock-shade);
}

.csl-toast--success .csl-toast__icon {
  color: var(--shiny-shamrock);
}

.csl-toast--error {
  border-color: rgba(196, 88, 52, 0.45);
  background: linear-gradient(135deg, rgba(196, 88, 52, 0.1), rgba(255, 255, 255, 0.98));
  color: #8a3a1f;
}

.csl-toast--error .csl-toast__icon {
  color: var(--dark-coral);
}

.csl-toast--info {
  border-color: rgba(128, 168, 217, 0.5);
  background: linear-gradient(135deg, rgba(128, 168, 217, 0.14), rgba(255, 255, 255, 0.98));
  color: #2f5f8f;
}

.csl-toast--info .csl-toast__icon {
  color: var(--vista-blue-shade);
}

@media (prefers-reduced-motion: reduce) {
  .csl-toast {
    transition: none;
  }
}
