@keyframes ybSpinMove {
  to {
    opacity: 1;
  }
}

@keyframes ybRotate {
  to {
    transform: rotate(405deg);
  }
}

.yb-app-boot-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: opacity 0.2s ease;
}

html[data-theme='dark'] .yb-app-boot-loading {
  background: #141414;
}

.yb-app-boot-loading--fixed {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.yb-app-boot-loading--fill {
  width: 100%;
  min-height: 100vh;
}

.yb-app-boot-loading .yb-boot-spin-dot {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  transform: rotate(45deg);
  animation: ybRotate 1.2s infinite linear;
}

.yb-app-boot-loading .yb-boot-spin-dot i {
  position: absolute;
  display: block;
  width: 14px;
  height: 14px;
  background-color: #1890ff;
  border-radius: 100%;
  transform: scale(0.75);
  opacity: 0.3;
  animation: ybSpinMove 1s infinite linear alternate;
}

.yb-app-boot-loading .yb-boot-spin-dot i:nth-child(1) {
  top: 0;
  left: 0;
}

.yb-app-boot-loading .yb-boot-spin-dot i:nth-child(2) {
  top: 0;
  right: 0;
  animation-delay: 0.4s;
}

.yb-app-boot-loading .yb-boot-spin-dot i:nth-child(3) {
  right: 0;
  bottom: 0;
  animation-delay: 0.8s;
}

.yb-app-boot-loading .yb-boot-spin-dot i:nth-child(4) {
  bottom: 0;
  left: 0;
  animation-delay: 1.2s;
}

.yb-app-boot-loading .yb-boot-title {
  margin-top: 26px;
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.85);
}

html[data-theme='dark'] .yb-app-boot-loading .yb-boot-title {
  color: rgba(255, 255, 255, 0.85);
}

.yb-app-boot-loading .yb-boot-subtitle {
  margin-top: 20px;
  font-size: 1rem;
  color: #888;
}

html[data-theme='dark'] .yb-app-boot-loading .yb-boot-subtitle {
  color: rgba(255, 255, 255, 0.65);
}
