/* Map marker styles */
.map-marker-container {
    cursor: pointer;
    transition: all 0.3s ease;
}

.marker-container {
    position: relative;
    transition: all 0.3s ease;
}

.marker-card {
    width: 30px;
    height: 30px;
    background: #11b4da;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.marker-card .face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

/* Hover states */
.marker-container.hover .marker-card,
.marker-container.highlight .marker-card {
    transform: scale(1.2);
    background: #f1913d;
    box-shadow: 0 4px 15px rgba(241, 145, 61, 0.4);
}

.marker-container.clicked .marker-card {
    transform: scale(1.3);
    background: #e67e22;
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

/* Property popup styles */
.property-popup .mapboxgl-popup-content {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.property-popup .box-house {
    margin: 0;
    border: none;
    box-shadow: none;
}

.property-popup .image-wrap img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.property-popup .infoBox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.property-popup .infoBox-close:hover {
    background: #f8f9fa;
}

/* Cluster styles */
.mapboxgl-cluster {
    background: rgba(81, 187, 214, 0.8);
    border: 3px solid white;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loading state */
.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}