html,
body,
#app {
  height: 100%;
  margin: 0px;
  padding: 0px;
}

/* BUG-06：视觉隐藏类（仅供屏幕阅读器读取，不影响视觉布局） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url('/loading-bg.jpg') no-repeat 50%/cover;
}

#loader-wrapper .logo-img {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
}

#loader-wrapper .title {
  font-weight: 500;
  font-size: 28px;
  color: var(--el-color-primary);
  margin-bottom: 30px;
}

#loader-wrapper .progress-bar {
  width: 330px;
  height: 8px;
  background: #DAE2F0;
  border-radius: 6px 6px 6px 6px;
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
}

#loader-wrapper .progress-bar .progress-inner {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 140px;
  background: linear-gradient(90deg, #0066FD 0%, #00B7FF 50%, #0066FD 100%);
  border-radius: 6px 6px 6px 6px;
  -moz-animation: progressMove 0.8s ease-in-out infinite;
  -o-animation: progressMove 0.8s ease-in-out infinite;
  -ms-animation: progressMove 0.8s ease-in-out infinite;
  -webkit-animation: progressMove 0.8s ease-in-out infinite;
  animation: progressMove 0.8s ease-in-out infinite;
}

@keyframes progressMove {
  0% {
    left: 0;
  }

  100% {
    left: 190px;
  }
}

#loader-wrapper .load_title {
  font-weight: 400;
  font-size: 18px;
  color: #333333;
  line-height: 26px;
  text-align: center;
  margin-top: 44px;
}

.loaded #loader-wrapper {
  display: none;
}
