.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  z-index: 1000001 !important;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-width: 280px;
  max-width: 90%;
  padding: 14px 20px;

  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;

  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);

  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  transition: opacity 250ms ease, transform 250ms ease;
  pointer-events: none;
}

.toast-msg.toast-msg--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.toast-msg.toast-msg--exiting {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
}

/* Icon container */
.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.2);
}

/* Text */
.toast-text {
  line-height: 1.4;
}

/* Success */
.toast-msg.success {
  background: linear-gradient(135deg, #28a745, #218838);
}

/* Error */
.toast-msg.error {
  background: linear-gradient(135deg, #dc3545, #c82333);
}

/* Info */
.toast-msg.info {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

@media (prefers-reduced-motion: reduce) {
  .toast-msg {
    transform: translateX(-50%);
    transition: opacity 120ms ease;
  }

  .toast-msg.toast-msg--visible,
  .toast-msg.toast-msg--exiting {
    transform: translateX(-50%);
  }
}
