/**
 * Cluster marker styles
 * Similar to the React ClusterMarker component styles
 */

.cluster-marker {
    position: relative;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: opacity 0.1s ease-in-out; /* Add smooth transition for opacity changes during scroll */
}

.cluster-marker .cluster-rim {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
}

.cluster-marker .cluster-center {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    z-index: 2;
}

.cluster-marker .cluster-count {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 40px;
    height: 40px;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    z-index: 3;
    line-height: 40px;
    text-align: center;
}

/* Individual marker styles */
.map-marker {
    width: 36px;
    height: 50px;
    cursor: pointer;
    filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.2));
}

.map-marker.marker-active {
    filter: invert(1) drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.2));
    z-index: 10;
}
