#interactive-map-component {
  position: relative;
  height: 422px;
  width: 100%;
  overflow: hidden;
}

#interactive-map {
  height: 100%;
  width: 100%;
  min-height: 422px;
  background-color: var(--blue-icon);
}

#js-structure-infos{
  display: none;
}

#js-structure-infos.is-active{
  display: flex;
}

/* Close button for structure infos panel */
#js-structure-infos{
  position: relative;
}
.structure-infos-close{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 16px;
  border: 1px solid #EAEAEA;
  background: #fff;
  color: #333;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.structure-infos-close:hover{
  background: #f6f6f6;
}

@media screen and (min-width: 992px) {
  #interactive-map-component {
    height: 981px;
  }
  #interactive-map{
    min-height: 981px;
  }
}

.custom-map-marker {
  transition: transform 0.2s ease;
}

.custom-map-marker:hover {
  transform: scale(1.1);
  z-index: 1000;
}

#interactive-map-title {
  display: none;
}

/* Contrôles Leaflet */
.leaflet-control-container .leaflet-bottom.leaflet-right {
  bottom: 10%;
  right: 10%;
}

.leaflet-control-container .leaflet-bottom.leaflet-right .leaflet-bar {
  border: white 1px solid;
  border-radius: 12px;
  width: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--blue-icon);
}

.leaflet-control-container .leaflet-bottom.leaflet-right .leaflet-bar a {
  color: var(--white);
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10px;
  background: var(--blue-icon);
}

.leaflet-control-container
  .leaflet-bottom.leaflet-right
  .leaflet-bar
  a:first-of-type {
  border-bottom: 1px solid white;
}

.leaflet-control-container .leaflet-control-attribution {
  display: none;
}

/* ---------------------------------------------------------------- */
/* ---------------------- Popup personnalisé ---------------------- */
/* ---------------------------------------------------------------- */

/* Container principal de la popup */
.leaflet-popup-content-wrapper .leaflet-popup-content{
  padding: 24px;
  margin: 0;
}

.custom-popup .custom-popup-name,
.custom-popup .custom-popup-address{
  text-align: center;
}

.custom-popup .custom-popup-name{
  margin-bottom: 8px;
  font-family: "Open Sans";
  font-weight: 600;
  font-size: 20px;
}
.custom-popup .custom-popup-address{
  margin-bottom: 8px;
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 16px;
  color: #767B81;
}
.custom-popup .custom-popup-more{
  text-align: center;
}
.custom-popup .custom-popup-more a.structure-more-link{
  font-family: "Open Sans";
  font-weight: 600;
  font-size: 16px;
  color: var(--c-primary);
  text-decoration: none;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip{
  border: 1px solid #EAEAEA;
  box-shadow: 0px 8px 52px 0px #0000000D;
}

.leaflet-popup-content-wrapper{
  border-radius: 16px;
}

@media (min-width: 768px) {
  #interactive-map-title {
    display: block;
    position: absolute;
    top: 10%;
    left: 10%;
    z-index: 1000;
    color: var(--white);
  }

  #interactive-map-title h3 {
    margin: 0 0 0 40px;
    font-size: var(--font-size-32);
    font-weight: bold;
    text-transform: uppercase;
    color: var(--white);
  }

  #interactive-map-title p {
    margin: 0;
    font-size: var(--font-size-22);
    font-weight: 400;
  }
}

/* Simple radios used by the simplified map script */
.sinacte-radios label {
  display: block;
  margin: 6px 0;
  cursor: pointer;
}
.sinacte-radios input[type="radio"] {
  margin-right: 8px;
}

/* Small style for the simplified SVG marker */
.simple-custom-marker {
  transition: transform 0.15s ease;
}
.simple-custom-marker:hover { transform: scale(1.08); }
