
/*---------------------------------
     Payment Loader CSS
-----------------------------------*/
.payment-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 20000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader-container {
  position: relative;
  width: 256px;
  height: 256px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  position: absolute;
  border-radius: 50%;
  animation: rotateRing 1.2s linear infinite;
}

.ring-1 {
  width: 160px;
  height: 160px;
  border: 4px solid transparent;
  border-top: 4px solid #009247;
  border-right: 4px solid #009247;
  animation-duration: 1.2s;
}

.ring-2 {
  width: 200px;
  height: 200px;
  border: 3px solid rgba(0, 146, 71, 0.3);
  animation: rotateRingReverse 2s linear infinite;
  animation-duration: 2s;
}

.ring-3 {
  width: 240px;
  height: 240px;
  border: 2px solid transparent;
  border-bottom: 2px solid #00d97f;
  border-left: 2px solid #00d97f;
  opacity: 0.6;
  animation-duration: 1.8s;
}

.loader-logo {
  position: relative;
  z-index: 10;
  width: 128px;
  height: 128px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseLogo 1.4s ease-in-out infinite;
}



.loader-text {
  display: flex;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #009247;
  text-transform: uppercase;
  margin-top: 48px;
}

.loader-text span {
  animation: textBounce 1.2s ease-in-out infinite;
  display: inline-block;
}

.loader-text span:nth-child(1) { animation-delay: 0s; }
.loader-text span:nth-child(2) { animation-delay: 0.1s; }
.loader-text span:nth-child(3) { animation-delay: 0.2s; }
.loader-text span:nth-child(4) { animation-delay: 0.3s; }
.loader-text span:nth-child(5) { animation-delay: 0.4s; }
.loader-text span:nth-child(6) { animation-delay: 0.5s; }
.loader-text span:nth-child(7) { animation-delay: 0.6s; }

.loader-dots {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}

.loader-dots span {
  width: 8px;
  height: 8px;
  background: #009247;
  border-radius: 50%;
  animation: pulseDot 1.2s ease-in-out infinite;
}

.loader-dots span:nth-child(1) { animation-delay: 0s; }
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

.loader-status {
  margin-top: 32px;
  color: #666;
  text-align: center;
  max-width: 300px;
  font-size: 16px;
  line-height: 1.6;
}

.loader-status .text-sm {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotateRingReverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pulseLogo {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes textBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

@keyframes imagePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}
