/* 白色圆角地图容器 */
.map-container {
  position: absolute;
  top: 10%;
  left: 4.5%;
  width: 90%;
  height: 55%;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 1;
}

/* 调整地图大小以适应容器 */
#map {
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

/* 调整按钮位置以适应新容器 */
#location-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 10;
}

#navigation-btn {
  position: absolute;
  bottom: 15px;
  right: 70px;
  z-index: 10;
}

/* 调整信息框位置 */
#map-msg {
  position: absolute;
  bottom: 5%;
  left: 5%;
  width: 80%;
}

.map-container {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #ffd700, #ff6b6b) border-box;
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.05),
    0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.05),
    0 12px 30px rgba(0, 0, 0, 0.2);
}

.text-frame {
  background: rgba(255, 255, 255, 0.3);
}

#loading-mask {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #e2ecf5;
  z-index: 99;
}

.loading-box {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -150px;
  margin-top: -150px;
  display: block;
  width: 300px;
  height: 300px;
  border-radius: 3px;
  font-size: 30px;
  color: rgba(64, 158, 255, .5);
  text-align: center;
}

.loading-box p {
  font-size: 16px;
  margin: 16px 0;
}

.loading:before,
.loading:after,
.loading {
  display: inline-block;
  width: 1em;
  height: 1em;
  color: inherit;
  vertical-align: middle;
  pointer-events: none;
  border-radius: 50%;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: loading 1.8s infinite ease-in-out;
  animation: loading 1.8s infinite ease-in-out;
}

.loading {
  color: currentcolor;
  position: relative;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
  top: -1em;
}

.loading:before {
  right: 100%;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loading:after {
  left: 100%;
}

.loading:before,
.loading:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  width: inherit;
  height: inherit;
}

@-webkit-keyframes loading {
  0%, 80%, 100% {
    box-shadow: 0 1em 0 -1em;
  }
  40% {
    box-shadow: 0 1em 0 -.2em;
  }
}

@keyframes loading {
  0%, 80%, 100% {
    box-shadow: 0 1em 0 -1em;
  }
  40% {
    box-shadow: 0 1em 0 -.2em;
  }
}

.load-img {
  visibility: hidden;
}

/* 修改导航按钮的CSS样式 */
#navigation-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 45px;
  height: 45px;
  background-color: rgba(221, 118, 50, 0.8);
  border-radius: 50%;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

#navigation-btn span {
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}