@keyframes rotate {
  100% {
    transform: rotate(180deg);
  }
}
.loading-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.loading-modal .loading {
  height: 40px;
  width: 40px;
  position: relative;
  margin: 0 auto;
}
.loading-modal .loading::before {
  position: absolute;
  content: "";
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top: 3px solid #1890ff;
  border-left: 3px solid #1890ff;
  transform: rotate(-180deg);
  animation: rotate 1s infinite ease-out;
}
.loading-modal .loading::after {
  position: absolute;
  content: "";
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 7px solid transparent;
  transform: rotate(-180deg);
  animation: rotate 1s infinite ease-out;
}

.loading-modal .loading-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: #fff;
  width: 180px;
  height: 120px;
  border-radius: 8px;
}
.loading-modal .text {
  padding: 20px 0 10px;
  color: #8c8c8c;
}
