.loading-spinner-container {
  height: 4em;
}

#loading-spinner {
  color: $anca-blue;
  position: relative;
  font-size: 0.5em;
  background: $anca-blue;
  animation: escaleY 1s infinite ease-in-out;
  width: 1em;
  height: 1em;
  animation-delay: -0.16s;
  top: 2em;
}
#loading-spinner:before,
#loading-spinner:after {
  content: '';
  position: absolute;
  top: 0;
  left: 2em;
  background: #3f8abf;
  width: 1em;
  height: 1em;
  animation: escaleY 1s infinite ease-in-out;
}
#loading-spinner:before {
  left: -2em;
  animation-delay: -0.32s;
}

@keyframes escaleY {
  0%, 80%, 100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

h4.modal-title:has(#loading-title) {
  width: 100%;
}
