body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Courier New', monospace;
    background-color: #dcdcdc;
}

#controls.vintage-box {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background: #fffbe6;
    padding: 12px;
    border: 3px double #333;
    box-shadow: 2px 2px 0 #999;
    width: 340px;
}

#selectionLabel {
    margin-bottom: 4px;
    font-size: 14px;
}

#wktInput {
    width: 100%;
    height: 520px;
    margin-bottom: 8px;
    padding: 6px;
    font-size: 14px;
    box-sizing: border-box;
    resize: vertical;
    background: #f7f7f7;
    border: 2px inset #555;
    color: #222;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.button-row button {
    flex: 1 1 45%;
    padding: 6px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    border: 2px outset #555;
    background: #007bff;
    color: white;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.button-row button:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

#map {
    height: 100%;
}

.leaflet-interactive.selected {
    stroke: red !important;
    fill: #ffcccc !important;
    fill-opacity: 0.6 !important;
}

.shape-label {
    pointer-events: none;
}

.leaflet-draw-actions a[title="Finish drawing"] {
    display: none !important;
}