.local-map-container {
    margin: 0 auto;
}

.local-map-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.local-map-filter, #keyword-search {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: unset;
    padding: 5px 10px;  
    min-height: 40px;
}

.local-map-button {
    padding: 1px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.local-map-button:hover {
    background-color: #135e96;
}

.local-map-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.locations-list {
    margin-top: 20px;
}

.location-item {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}

.location-item h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.location-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.location-meta div {
    flex: 1;
    min-width: 200px;
}

.loading-spinner {
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #2271b1;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-results {
    text-align: center;
    padding: 20px;
    color: #666;
}

@media (max-width: 768px) {
    .local-map-filters {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
}
.local-map-results.row {
    display: flex;
    flex-wrap: nowrap;
    max-width: 1230px;
    margin-left: 0px !important;
}
.location-item p{
    font-size: 14px;
    margin-bottom: 5px;
}
.location-meta {
    font-size: 13px;
}
.leaflet-popup-content h3{
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 5px;
}
.leaflet-popup-content p{
    margin: 3px 0;
    font-size: 13px;
}
.locations-list.col.large-4 {
    max-height: 550px;
    overflow-y: scroll;
}
/* Admin Column Styles */
.column-coordinates {
    width: 200px;
}

.column-address {
    width: 250px;
}

.column-phone {
    width: 150px;
}

/* Quick edit/actions */
.row-actions .local-map-test-coordinates {
    color: #2271b1;
}

.row-actions .local-map-test-coordinates:hover {
    color: #135e96;
}