/* Loading Overlay Styles */
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  /* Hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

/* Large Spinner for the Overlay */
.spinner-large {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #555;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader {
  position: relative;
  width: fit-content; /* Adjust based on logo size */
  height: fit-content;
}

.loader img {
  width: 100px;
  height: auto;
  display: block;
}

/* Small circular light effect */
.loader::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -20%;
  width: 40px; /* Size of the light circle */
  height: 40px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 10%, rgba(255, 255, 255, 0) 50%);
  border-radius: 50%;
  transform: translateY(-50%);
  animation: moveLight 1s infinite linear;
}

@keyframes moveLight {
  0% {
      left: -20%;
  }
  100% {
      left: 80%;
  }
}
