/* Popcorn Loading Animation */
.popcorn-loader {
  position: relative;
  width: 85px;
  height: auto;
  margin: 20px auto;
}

.popcorn-loader svg {
  width: 100%;
  height: auto;
}

/* Popcorn kernels animation */
circle.popcorn-kernel {
  fill: #FFE477;
  transform-origin: center;
  animation: popcorn-pop 1.5s cubic-bezier(.49,.05,.32,1.04) infinite alternate;
}

/* Different delays for each kernel */
circle.popcorn-kernel:nth-child(1) {
  animation-delay: 0s;
}

circle.popcorn-kernel:nth-child(2) {
  animation-delay: 0.2s;
}

circle.popcorn-kernel:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes popcorn-pop {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Loading container styling */
.popcorn-loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 40px 20px;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.loading-text {
  margin-top: 20px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 300;
  opacity: 0.9;
  text-align: center;
  font-family: 'Cairo', sans-serif;
}
