.demo-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 40px);
  padding: 14px 18px;
  border-radius: 14px;
  background: #541313;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 99999;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.demo-toast.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.demo-toast--error {
  background: #8a2424;
}

.demo-toast__icon {
  font-size: 20px;
  flex-shrink: 0;
}

.demo-toast__text {
  flex: 1;
  min-width: 0;
}

.demo-toast__close {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease;
}

.demo-toast__close:hover {
  background: rgba(255, 255, 255, 0.3);
}
