.holder {
  position: relative;
  inset: 0;
  background-color: #1e2a36; /* Updated background */
  overflow: hidden;
}

/* Spinner inspired by @tobiasahlin */
.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Fully centered */
  width: 90px; /* Slightly wider for better spacing */
  text-align: center;
}

.spinner > div {
  width: 20px; /* Increased size */
  height: 20px;
  margin: 0 5px; /* Better spacing between dots */
  background-color: #00BCD4; /* Updated color */
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  transition: background-color 0.3s ease;
}

.spinner > div:hover {
  background-color: #FF4081; /* Hover color */
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0); }
  40% { -webkit-transform: scale(1.0); }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}
