.plot-map-search-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
}

.plot-search-controls {
    background: #f8f9fa;
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

#plot-search-input {
    flex: 1;
    min-width: 200px;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

#plot-search-button {
    padding: 8px 16px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

#plot-search-button:hover {
    background: #005a87;
}

.zoom-controls {
    display: flex;
    gap: 5px;
}

.zoom-controls button {
    padding: 8px 12px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.zoom-controls button:hover {
    background: #545b62;
}

.plot-map-wrapper {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.plot-map-container {
    width: 100%;
    height: 100%;
    cursor: move;
}

#plot-map-svg {
    display: block;
}

.plot-rectangle {
    transition: all 0.3s ease;
}

.plot-rectangle:hover {
    stroke: #007cba;
    stroke-width: 3;
}

.plot-rectangle.highlighted {
    stroke: #ff0000;
    stroke-width: 4;
    fill: rgba(255, 0, 0, 0.1);
}

.plot-pin {
    cursor: pointer;
    transition: all 0.3s ease;
}

.plot-pin circle {
    transition: all 0.3s ease;
}

.plot-pin:hover circle {
    fill: #007cba;
    transform: scale(1.1);
}

.plot-pin.highlighted circle {
    fill: #ff0000;
    transform: scale(1.2);
}

.search-results {
    padding: 15px;
    border-top: 1px solid #dee2e6;
    max-height: 200px;
    overflow-y: auto;
}

.results-list h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.result-item {
    padding: 10px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.result-item:hover {
    background-color: #f8f9fa;
    border-color: #007cba;
}

.result-item strong {
    color: #007cba;
}

.result-item small {
    color: #6c757d;
    font-size: 12px;
}

/* Responsive design */
@media (max-width: 768px) {
    .plot-search-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    #plot-search-input {
        min-width: auto;
    }
}