
.spinner-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Spinner animation */
.spinner {
  display: flex;
}

.spinner-dot {
  width: 15px;
  height: 15px;
  background-color: red;
  border-radius: 50%;
  margin: 5px;
  animation: spinner-animation 1s infinite ease-in-out;
}

@keyframes spinner-animation {
  0%, 100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}

/* Show the spinner overlay */
.show {
  opacity: 1;
  pointer-events: auto;
}
