/* Confetti animation styles */
.confetti-container {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: gold;
  opacity: 0.7;
  top: -10px;
  border-radius: 0;
  animation: confetti-fall 3s linear forwards;
  transform: rotate(0deg);
}

@keyframes confetti-fall {
  0% {
    top: -10px;
    transform: rotate(0deg);
  }
  100% {
    top: 100%;
    transform: rotate(720deg);
  }
}

/* Balance highlight animation */
.balance-highlight-animation {
  animation: balance-highlight 2s ease;
}

@keyframes balance-highlight {
  0% {
    transform: scale(1);
    color: #0d6efd;
  }
  20% {
    transform: scale(1.2);
    color: #198754;
  }
  100% {
    transform: scale(1);
    color: #0d6efd;
  }
}

/* Success notification styles */
.payment-success-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
  min-width: 300px;
  animation: slide-in 0.5s forwards;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-left: 5px solid #198754;
}

.fade-out {
  animation: fade-out 0.5s forwards;
}

@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
