#map {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
}

.leaflet-container {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background: radial-gradient(120% 120% at 0% 0%, #f3fbf7 0%, #f0f6ff 40%, #f8fafc 100%);
}

.leaflet-tile {
    filter: saturate(1.28) brightness(1.03) contrast(1.05) hue-rotate(-4deg);
}

.leaflet-control {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.9);
}

.leaflet-bar a,
.leaflet-bar a:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.9);
}

.leaflet-bar a:hover {
    background: #ffffff;
}

.dot-marker {
    box-shadow: none;
}

.map-marker {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: var(--secondary-color-light);
    border: 3px solid var(--primary-color);
    display: block;
    box-shadow: var(--shadow);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-clip: border-box;
    background-origin: border-box;
    overflow: hidden; /* keep Leaflet's white base from peeking through on rounded corners */
}

/* Override Leaflet divIcon defaults that add a white background/border */
.leaflet-marker-icon.map-marker {
    background-color: var(--primary-color);
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
}

.marker-hidden-in-cluster {
    opacity: 0 !important;
    pointer-events: none;
}

.cluster-marker {
    width: 42px;
    height: 42px;
    /*background: linear-gradient(135deg, var(--primary-color) 0%, #ff9f59 100%);*/
    /*background-color: var(--primary-color-light);*/
    background: linear-gradient(to top right, var(--accent-color-one), var(--accent-color-two));
    background: linear-gradient(to top right, var(--accent-color-green-three), var(--accent-color-green-four));
    background: linear-gradient(to top right, var(--accent-color-green-four), var(--accent-color-green-five));
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}

.cluster-marker .cluster-count {
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.marker-cluster-spider-leg {
    stroke: var(--primary-color);
    stroke-width: 2;
}

.user-marker-outer {
    filter: drop-shadow(0 2px 6px rgba(10, 132, 255, 0.35));
}

.user-marker-inner {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}
