/* 全局基础重置 */
html {
    font-size: 12px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
    line-height: 1.5;
}

/* 高德地图容器（不遮挡弹窗） */
#container {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
}

/* 右下角按钮组 —— 白底 固定右下角 */
.input-card {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
}

/* 按钮样式 */
.btn {
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: #2d8cf0;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
}
.btn:active {
    background: #1b74d1;
}

/* ======================
   弹窗：全屏风格 + 大关闭按钮
====================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999 !important;
    display: none;
    justify-content: center;
    align-items: center;
}

/* 弹窗盒子：全屏风格 */
.modal-box {
    background: #fff;
    width: 96%;
    height: 94vh;
    border-radius: 12px;
    position: relative;
    padding: 20px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* 超大关闭按钮（右上角） */
.modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 40px;
    height: 40px;
    font-size: 24px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    z-index: 10;
}
.modal-close:hover {
    background: #ff6b6b;
    color: #fff;
}

/* 弹窗标题 */
.modal-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 25px;
    color: #2d8cf0;
}

/* 表格标题 */
.table-title {
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0 10px;
    color: #333;
}

/* 信息表格 */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}
.info-table th, .info-table td {
    border: 1px solid #eee;
    padding: 12px 15px;
    text-align: left;
}
.info-table th {
    background: #f9f9f9;
    width: 140px;
    font-weight: 500;
}

/* 高德版权样式 */
.amap-copyright{
    box-sizing: content-box;
}

.location-switch {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}
.location-switch:focus {
    border-color: #2d8cf0;
}

/* 顶部搜索条 */
.top-search-bar {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    height: 44px;
    display: flex;
    z-index: 9998;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* 搜索输入框 */
#search_input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 15px;
    font-size: 14px;
    color: #333;
}

/* 搜索按钮 */
#search_btn {
    width: 70px;
    border: none;
    background: #2d8cf0;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
#search_btn:active {
    background: #1b74d1;
}

.batch-modal {
    max-width: 450px;
    height: auto;
    padding-bottom: 25px;
}
#batch_table {
    width: 100%;
    font-size: 13px;
}
#batch_table th {
    background: #f5f5f5;
    padding: 8px;
}
#batch_table td {
    padding: 8px;
}
