
.animSpinnerIndeterminate, .btnLoading::before {
  will-change: transform;
  animation: spinner-indeterminate 0.8S linear infinite;
}

@keyframes spinner-indeterminate {  0% {
    transform: rotate(0deg);
  }

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

.btnLoading {
  overflow: hidden;
}

.btnLoading::before {
  border-style: solid;
  border-width: 2px;
  border-radius: 50%;
  bottom: 0;
  content: "";
  display: block;
  height: 22px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateZ(0);
  width: 22px;
}

.btnPrimary.btnLoading::before {
  border-color: #fff;
  border-left-color: transparent;
  border-style: solid;
}

.btnSecondary.btnLoading::before {
  border-color: #006fcf;
  border-left-color: transparent;
  border-style: solid;
}

.btnTertiary.btnLoading::before {
  border-color: #006fcf;
  border-left-color: transparent;
  border-style: solid;
}

.btnContextual.btnLoading::before {
  border-color: #006fcf;
  border-left-color: transparent;
  border-style: solid;
}

.btnWhite:not(.btnContextual).btnLoading::before {
  border-color: #006fcf;
  border-left-color: transparent;
  border-style: solid;
}

.btnWhiteSecondary.btnLoading::before {
  border-color: #006fcf;
  border-left-color: transparent;
  border-style: solid;
}

.btnWhiteTertiary.btnLoading::before {
  border-color: #006fcf;
  border-left-color: transparent;
  border-style: solid;
}