.loading-status {
    color: #337ab7;
    font-weight: bold;
}
/* 可选：添加旋转动画 */
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@keyframes spin {
    from { -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); -moz-transform: rotate(360deg); transform: rotate(360deg); }
}
.loading-status i.fa-spin {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
    vertical-align: text-top;
    -webkit-animation: spin 1s infinite linear;
    -moz-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}
/* 模态框背景 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* 半透明黑色背景 */
}

/* 模态框内容 */
.modal-content {
    background-color: #fff; /* 白色背景 */
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%; /* 可根据需要调整 */
    max-width: 600px;
    box-shadow: 0px 0px 15px #acffd5;
}

/* 动画效果 */
.show-modal {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* 模态框项 */
.modal-item {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333; /* 深灰色字体 */
}

/* 关闭按钮 */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 确保模态框的内容有独立的滚动条 */
#mapInfoModal .modal-content {
    max-height: 80vh; /* 设置最大高度为视口高度的80% */
    overflow-y: auto; /* 启用垂直滚动 */
}

/* 确保模态框背景不可滚动 */
#mapInfoModal.show-modal {
    overflow: hidden;
}
