@keyframes lds-pacman-1 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  50% {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}
@-webkit-keyframes lds-pacman-1 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  50% {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}
@keyframes lds-pacman-2 {
  0% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  50% {
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  100% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
}
@-webkit-keyframes lds-pacman-2 {
  0% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  50% {
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  100% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
}
@keyframes lds-pacman-3 {
  0% {
    -webkit-transform: translate(190px, 0);
    transform: translate(190px, 0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    -webkit-transform: translate(70px, 0);
    transform: translate(70px, 0);
    opacity: 1;
  }
}
@-webkit-keyframes lds-pacman-3 {
  0% {
    -webkit-transform: translate(190px, 0);
    transform: translate(190px, 0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    -webkit-transform: translate(70px, 0);
    transform: translate(70px, 0);
    opacity: 1;
  }
}

.app-loading {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 10em;
}
.app-loading p {
  display: block;
  font-size: 1.17em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: normal;
  text-align: center;
  color: #0a3959;
  margin-top: 0px;
}

.app-loading .loading-text {
  display: block;
  font-size: 14px;
  margin: 5px 0 0 0;
  font-weight: 600;
  font-family: 'Orbitron', 'Rajdhani', 'Teko', 'Arial Black', sans-serif;
  text-align: center;
  color: #052035;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: text-fade-in 2s ease-in-out infinite alternate;
  text-shadow: 0 0 10px rgba(5, 32, 53, 0.3);
}

@keyframes text-fade-in {
  0% {
    opacity: 0.7;
    transform: translateY(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

.app-loading .loading-text::after {
  content: '...';
  display: inline-block;
  animation: text-dots-pulse 1.4s ease-in-out infinite both;
}

@keyframes text-dots-pulse {
  0%,
  80%,
  100% {
    transform: scale(0.3);
    opacity: 0.3;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Dots Loading Spinner */
.app-loading .lds-dots {
  position: relative;
  margin: auto;
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.app-loading .lds-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0a3959;
  animation: dot-pulse 1.4s ease-in-out infinite both;
}

.app-loading .lds-dots .dot:nth-child(1) {
  animation-delay: -0.64s;
}

.app-loading .lds-dots .dot:nth-child(2) {
  animation-delay: -0.48s;
}

.app-loading .lds-dots .dot:nth-child(3) {
  animation-delay: -0.32s;
}

.app-loading .lds-dots .dot:nth-child(4) {
  animation-delay: -0.16s;
}

.app-loading .lds-dots .dot:nth-child(5) {
  animation-delay: 0s;
}

@keyframes dot-pulse {
  0%,
  80%,
  100% {
    transform: scale(0.3);
    opacity: 0.3;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
