.listing-price {
    font-size: 14px;
    display: inline-block;
    float: left;
}
.listing-name {
    text-shadow: #000 0px 0px 8px;
}

/* Map View Styles */
#listings-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 0;
}

.leaflet-popup-content {
    margin: 0;
    width: 280px !important;
}

.map-popup {
    padding: 15px;
}

.map-popup img {
    border-radius: 4px;
}

.map-popup h6 a:hover {
    color: #377dff !important;
}

/* View Toggle Button Styles */
#view-list-btn.active,
#view-map-btn.active {
    background-color: #377dff !important;
    color: white !important;
    border-color: #377dff !important;
}

#view-list-btn,
#view-map-btn {
    transition: all 0.3s ease;
}

#view-list-btn:hover,
#view-map-btn:hover {
    background-color: #377dff;
    color: white;
    border-color: #377dff;
}

/* Leaflet marker cluster styles */
.marker-cluster-small {
    background-color: rgba(181, 226, 140, 0.6);
}

.marker-cluster-small div {
    background-color: rgba(110, 204, 57, 0.6);
}

.marker-cluster-medium {
    background-color: rgba(241, 211, 87, 0.6);
}

.marker-cluster-medium div {
    background-color: rgba(240, 194, 12, 0.6);
}

.marker-cluster-large {
    background-color: rgba(253, 156, 115, 0.6);
}

.marker-cluster-large div {
    background-color: rgba(241, 128, 23, 0.6);
}

.marker-cluster {
    background-clip: padding-box;
    border-radius: 20px;
}

.marker-cluster div {
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-top: 5px;
    text-align: center;
    border-radius: 15px;
    font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.marker-cluster span {
    line-height: 30px;
}
