.loading,
.loading-bg {
  position: relative;
  overflow: hidden !important;
}

.loading-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
}

.loading-bg::after,
.loading::after {
  z-index: 101;
  position: absolute;
  top: calc(50% - 14px);
  left: calc(50% - 14px);
  content: '';
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #c41230;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

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