html, body, #container {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", sans-serif;
}
a {
    font-size: 14px;
    text-decoration: none;
    color: black;
}
img {
    margin-right: 0px;
}
button {
    font-size: 14px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    transition: all 0.2s ease;
}
.amap-info-content {
    width: 310px !important;
    max-width: 340px !important;
    min-width: 280px !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    padding: 0 !important;
}
.amap-info-window {
    transition: none !important; /* 禁用过渡动画 */
}
.info-window-container {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.info-title {
    font-weight: bold;
    font-size: 16px;
    color: white;
    width: 100%;
    text-align: left;
    background-color: rgb(0, 112, 192);
    padding: 0 8px;
    margin: 0;
    border-radius: 8px 8px 0 0;
    height: 28px;
    line-height: 28px;
    box-sizing: border-box;
    position: relative;
}
.amap-info-close {
    top: 7px !important;
    right: 7px !important;
    width: 14px;
    height: 14px;
}
.amap-info-close img {
    width: 14px !important;
    height: 14px !important;
}
.info-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}
.info-img {
    flex-shrink: 0;
}
.info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.info-address, .info-tel, .info-action {
    font-size: 14px;
    color: black;
    line-height: 1.5;
}
.nav-btn {
    background-color: transparent;
    color: black;
    font-size: 14px;
    padding: 0px 0px;
    border-radius: 0px;
    border: none;
    cursor: pointer;
    width: 50%;
    text-align: left;
    text-decoration: none;
}
.nav-btn:hover {
    background-color: transparent;
    box-shadow: none;
    text-decoration: none;
}
.notice-btn {
    background-color: #FF7D00;
    color: white;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
}
.notice-btn:hover {
    background-color: #E66A00;
}
.footer-support {
    background-color: #C0C0C0;
    height: 32px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-text {
    color: black;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}
.image-button {
    border-style: none;
    background: none;
    border: 0;
    outline: 0;
    padding: 0;
    cursor: pointer;
}
.control-panel {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 100;
}
.control-panel h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #333;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #2196F3;
}
input:checked + .slider:before {
    transform: translateX(26px);
}

/* 自定义定位按钮样式 */
.custom-locate-btn {
    position: absolute;
    bottom: 50px;
    right: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    color: #17a2b8;
    border: 1px solid #17a2b8;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 100;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.2s;
}
.custom-locate-btn:hover {
    background-color: #e6f7fa;
    transform: scale(1.05);
}

/* 隐藏高德地图默认的右下角定位按钮 */
.amap-controls {
    position: fixed;
    bottom: -15px; 
}

/* 加载提示样式 */
.loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 1000;
    display: none;
}