#map {
    width: 100%;
    height: 450px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Popup styling improvements */
.ol-popup {
    background: white;
    border: 2px solid #0066cc;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    max-width: 300px;
    font-size: 14px;
}

.ol-popup h4 {
    margin: 0 0 10px 0;
    color: #0066cc;
}

.ol-popup hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 8px 0;
}

/* Loading state */
#datatable {
    min-height: 100px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 10px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    #map {
        height: 300px;
    }
    
    .table-responsive {
        font-size: 12px;
    }
}
.legend-table {
    margin-top: 10px;
}
.legend-table th, .legend-table td {
    padding: 4px 8px;
    text-align: left;
}