body {
    background-color: #f8f9fa;
    padding: 2rem 0;
}

.map-picker-tool {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.map-picker-tool h2 {
    margin-bottom: 0.5rem;
    color: #333;
}

/* 地图容器 */
.map-container {
    position: relative;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#map {
    width: 100%;
    height: 500px;
}

.map-controls {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    z-index: 100;
}

.search-box {
    display: flex;
    width: 300px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-box input {
    border: none;
    border-radius: 8px 0 0 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.search-box button {
    border-radius: 0 8px 8px 0;
    padding: 0.5rem 1rem;
}

.map-actions {
    display: flex;
    gap: 0.5rem;
}

.map-actions button {
    background: white;
    border-color: #e0e0e0;
    color: #666;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.map-actions button:hover {
    background: #f8f9fa;
    border-color: #d0d0d0;
}

/* 坐标信息面板 */
.coordinates-panel {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.panel-header h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.panel-actions {
    display: flex;
    gap: 0.5rem;
}

.coordinates-info {
    margin-bottom: 1.5rem;
}

.empty-state {
    text-align: center;
    padding: 2rem 0;
    color: #999;
}

.empty-state i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.coordinates-table {
    margin-bottom: 1.5rem;
}

.coordinates-table table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.coordinates-table th {
    background: #f0f0f0;
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
}

.coordinates-table td {
    vertical-align: middle;
    font-size: 0.9rem;
}

.coordinates-table .coord-value {
    font-family: monospace;
    color: #333;
}

.coordinates-table .coord-copy {
    background: none;
    border: none;
    color: #0066cc;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
}

.coordinates-table .coord-copy:hover {
    color: #004c99;
    background: #e6f7ff;
    border-radius: 4px;
}

/* 地址信息 */
.address-info {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.address-info h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

#addressText {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* 历史记录 */
.history-panel {
    margin-top: 1.5rem;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.history-header h4 {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.history-list {
    max-height: 300px;
    overflow-y: auto;
}

.history-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.history-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.history-item-time {
    font-size: 0.8rem;
    color: #999;
}

.history-item-coords {
    font-family: monospace;
    font-size: 0.9rem;
    color: #333;
}

.history-item-address {
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empty-history {
    text-align: center;
    padding: 1rem 0;
    color: #999;
    font-size: 0.9rem;
}

/* 复制提示 */
.copy-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-tooltip.show {
    opacity: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .map-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-box {
        width: 100%;
    }
    
    .map-actions {
        width: 100%;
    }
    
    .map-actions button {
        flex: 1;
    }
} 