#donation-toast-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  pointer-events: none;
}

.donation-toast {
  width: 330px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  color: #222;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  padding: 16px 18px;
  font-family: Arial, sans-serif;
  opacity: 0;
  transform: translateY(20px);
  animation: donationToastIn 0.45s ease forwards;
  pointer-events: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.donation-toast.hide {
  animation: donationToastOut 0.35s ease forwards;
}

.donation-toast__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.donation-toast__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffe9ef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.donation-toast__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.donation-toast__label {
  display: inline-block;
  margin-top: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #666;
  font-size: 11px;
  font-weight: 600;
}

.donation-toast__text {
  font-size: 14px;
  line-height: 1.45;
  color: #444;
}

.donation-toast__amount {
  font-weight: 700;
  color: #1f8f4d;
}

.donation-toast__close {
  position: absolute;
  top: 9px;
  right: 11px;
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #999;
}

.donation-toast__close:hover {
  color: #222;
}

@keyframes donationToastIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes donationToastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
}

@media (max-width: 600px) {
  #donation-toast-root {
    left: 12px;
    right: 12px;
    bottom: 14px;
  }

  .donation-toast {
    width: auto;
  }
}