.spinner-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: 999;
    position: fixed;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
  }

.fa-spinner {
    font-size: 3rem;
    color: #007bff;
}

/* LOADING */
.load-spinner {
  margin: 100px auto 0;
  width: 70px;
  text-align: center;
}

.load-spinner > div {
  width: 18px;
  height: 18px;
  background-color: #333;

  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;
}

.load-spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.load-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);
  }
}



#container-spinner {
    position: relative;
    display: inline-block;
}

#spinner-overlay {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    /* Ensure overlay is above inputs */
}

#spinner-loading-message {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 60%;
    /* Position it below the spinner */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    /* Ensure message is above overlay */
    color: #000;
    font-size: 14px;
}

.spinner {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 20;
    /* Ensure spinner is above overlay */
    transform: translate(-50%, -50%);
}

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

    100% {
        transform: rotate(360deg);
    }


}

