#leaflet-map {
    width: 100%;
    height: 520px;
    border-radius: 0.5rem;
    border: 2px solid #e4e2e2;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* The FontAwesome icon container */
.leaflet-fa-icon {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}


.leaflet-popup-content-wrapper {
    border-radius: 8px; /* Slightly more rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
    margin: 18px 22px;
    font-size: 14px;
    line-height: 1.5;
    /* Make popup wider */
    width: auto !important; /* Let content decide width */
    min-width: 360px; /* Wider minimum width */
    max-width: 400px; /* But not too wide for mobile */
}

.leaflet-popup-content .ck-content {
    max-height: 250px; /* A bit more space for content */
    overflow-y: auto;
    margin-top: 12px;
    margin-bottom: 12px;
    padding-right: 10px; /* space for scrollbar */
}

/* Custom scrollbar for webkit browsers */
.leaflet-popup-content .ck-content::-webkit-scrollbar {
    width: 5px;
}
.leaflet-popup-content .ck-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.leaflet-popup-content .ck-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}
.leaflet-popup-content .ck-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.leaflet-popup-content hr {
    margin-top: 15px;
    margin-bottom: 15px;
    border: 0;
    border-top: 1px solid #e9e9e9;
}

/* Style for the button inside the popup */
.leaflet-popup-content .btn_1 {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
}

.leaflet-popup-content .btn_1.full-width {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
    margin-top: 5px; /* A little space above the button */
}

/* Cluster marker styles */
.cluster-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(7, 42, 70, 0.85); /* Corresponds to the --color-dark-blue */
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}