/* Map clustering and pagination styles */

/* Cluster styles */
.cluster-marker {
    color: #fff;
    background: #1978c8;
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #1978c8;
}

/* Different colors for different cluster sizes */
.cluster-marker-small {
    background: #41b6c4;
    box-shadow: 0 0 0 2px #41b6c4;
}

.cluster-marker-medium {
    background: #7fcdbb;
    box-shadow: 0 0 0 2px #7fcdbb;
}

.cluster-marker-large {
    background: #c7e9b4;
    box-shadow: 0 0 0 2px #c7e9b4;
    color: #333;
}

/* Pagination controls */
#map-pagination {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    padding: 5px 10px;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pagination-info {
    font-size: 0.9rem;
    color: #555;
}

/* Loading indicator */
#map-loading {
    display: none;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    padding: 10px 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Field info window */
.field-info {
    padding: 5px;
    max-width: 250px;
}

.field-info h5 {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.field-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* Map preview enhancements */
.map-preview {
    height: 400px !important;
    width: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#mini-map {
    height: 100%;
    width: 100%;
}

.map-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
}
