#atelier-map{
  width: 100%;
}

.map-layout {
    display: flex;
    gap: 0;
}

.map-sidebar {
    width: 320px;
    max-height: 600px;
    overflow-y: auto;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
}

.map-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: 0.2s;
}

.map-item:hover,
.map-item.active {
    background: #f3f3f3;
}

#atelier-map .leaflet-popup-content-wrapper a{
  color: var(--e-global-color-accent);
}

.map-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.map-legend {
    background: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

@media screen and (max-width:768px){
  .map-layout{
    flex-direction: column-reverse; 
  }

  .map-sidebar {
    width: 100%;
  }
}