.app-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #f8f9fa;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

.loading-circle {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 8px solid transparent;
  border-top-color: #3e8acc;
  border-bottom-color: #3e8acc;
  animation: spin 1.8s linear infinite;
}

.loading-circle-inner {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 8px solid transparent;
  border-left-color: #5b9bd5;
  border-right-color: #5b9bd5;
  animation: spin-reverse 1.2s linear infinite;
}

.logo-container {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.jhipster-logo {
  width: 60px;
  height: 60px;
  background-image: url('/content/images/logo-goschool.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  animation: pulse 2s ease-in-out infinite;
}

.loading-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.loading-dot {
  width: 12px;
  height: 12px;
  margin: 0 6px;
  border-radius: 50%;
  background-color: #3e8acc;
  opacity: 0.6;
}

.loading-dot:nth-child(1) {
  animation: dot-fade 1.5s ease-in-out infinite;
}

.loading-dot:nth-child(2) {
  animation: dot-fade 1.5s ease-in-out 0.5s infinite;
}

.loading-dot:nth-child(3) {
  animation: dot-fade 1.5s ease-in-out 1s infinite;
}

.loading-text {
  font-size: 16px;
  color: #5a5a5a;
  margin-top: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

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

@keyframes spin-reverse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes dot-fade {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
