

.position-container {
    display: flex;
    flex-wrap: wrap;
    min-height: 500px;
}


.map-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

.map-whole-container {
    flex: 1;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-height: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-container {
    /* width: 100%;
    height: 100%; */
    min-width: 500px;
    height: 800px;
}

/* 垂直工具欄 */
.vertical-toolbar {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: white;
    padding: 8px 6px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toolbar-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.toolbar-group:last-child {
    border-bottom: none;
}

.toolbar-group-title {
    font-size: 10px;
    color: #666;
    padding: 0 4px 4px;
    text-align: center;
}

.tool-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e8e8e8;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.2s;
}

.tool-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
    background: #f0f8ff;
}

.tool-btn.active {
    background: #1890ff;
    color: white;
    border-color: #1890ff;
}

.tool-btn i {
    font-size: 16px;
}

.output-container {
    flex: 0 0 250px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.output-container h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #333;
}

.geojson-output {
    flex: 1;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 11px;
    padding: 10px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: #fafafa;
    resize: none;
    min-height: 0;
    line-height: 1.4;
}

.instructions {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(255,255,255,0.95);
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    border-left: 4px solid #1890ff;
}

.coordinate-display {
    background: #f6ffed;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 10px;
    font-size: 11px;

}

.point-label {
    position: absolute;
    background: white;
    color: #1890ff;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 2px;
    font-weight: bold;
    z-index: 1001;
}

.circle-center {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #f5222d;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    z-index: 1000;
}

.rect-corner {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #1890ff;
    border: 2px solid white;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    z-index: 1000;
}

.measure-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #52c41a;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    z-index: 1000;
}



