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

.amap-sug-result {
  z-index: 2015 !important;
}

.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;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 新的加载动画 */
#loader {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
}

#loader div {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1890ff;
  animation: loader 1.2s linear infinite;
}

#loader div:nth-child(1) {
  top: 8px;
  left: 8px;
  animation-delay: 0s;
}

#loader div:nth-child(2) {
  top: 8px;
  left: 32px;
  animation-delay: -0.4s;
}

#loader div:nth-child(3) {
  top: 8px;
  left: 56px;
  animation-delay: -0.8s;
}

#loader div:nth-child(4) {
  top: 32px;
  left: 8px;
  animation-delay: -0.4s;
}

#loader div:nth-child(5) {
  top: 32px;
  left: 32px;
  animation-delay: -0.8s;
}

#loader div:nth-child(6) {
  top: 32px;
  left: 56px;
  animation-delay: -1.2s;
}

#loader div:nth-child(7) {
  top: 56px;
  left: 8px;
  animation-delay: -0.8s;
}

#loader div:nth-child(8) {
  top: 56px;
  left: 32px;
  animation-delay: -1.2s;
}

#loader div:nth-child(9) {
  top: 56px;
  left: 56px;
  animation-delay: -1.6s;
}

@keyframes loader {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* 加载文字样式 */
#loader-wrapper .load_title {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #fff;
  font-size: 20px;
  width: 100%;
  text-align: center;
  z-index: 9999999999999;
  position: relative;
  opacity: 1;
  line-height: 30px;
  font-weight: 500;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#loader-wrapper .load_title span {
  display: block;
  font-weight: normal;
  font-style: normal;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
  position: relative;
}

/* 加载完成后的过渡效果 */
.loaded #loader-wrapper {
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-out;
}

.loaded #loader {
  opacity: 0;
  transition: all 0.3s ease-out;
}

.no-js #loader-wrapper {
  display: none;
}

.no-js h1 {
  color: #222222;
}