/* Scoping all styles to the #appPvMapSimple container to prevent conflicts with parent (e.g., WordPress) styles. */
#appPvMapSimple {
  font-family: helvetica, sans-serif;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* Standalone page structural styles */
#appPvMapSimple #mapSimpled3js {
  width: 100%;
  /* The height calculation might need adjustment depending on the final toolbar height */
  height: calc(100% - 70px); 
}

#appPvMapSimple .country {
  fill: #456;
}
#appPvMapSimple .municipality{
  fill: #777;
  cursor: pointer;
}

#appPvMapSimple .canton-boundaries {
  fill: none;
  stroke: #fff;
  stroke-width: 1;
}

#appPvMapSimple .municipality-boundaries {
  fill: none;
  stroke: #fff;
  stroke-width: .3;
}

#appPvMapSimple div#mapSimpleTooltip.tooltip {
  position: absolute;
  text-align: center;
  font-size: 12px !important;
  width: 170px;
  height: 70px;
  padding: 10px;
  font-size: 10px;
  background: #FFF;
  border: solid 1px #999;
  border-radius: 8px;
  pointer-events: none;
}

/* Reduce font size for warning text inside the map's tooltip */
#appPvMapSimple .tooltip-warning {
  font-size: 11px;
}

#appPvMapSimple .legend {
  font-size: 12px;
}

#appPvMapSimple #mapSimplegroupLegend{
  font-size: 12px;
}

/* styles du barchart */
/*
#appPvMapSimple .axis path, #appPvMapSimple .axis line {
   fill: none;
   stroke: #000;
   shape-rendering: crispEdges;
 }

#appPvMapSimple .bar {
   fill: steelblue;
 }

#appPvMapSimple .y.axis path {
   display: none;
 }

#appPvMapSimple .supplierName{
   font-size: 80%;
 }
*/
  /* styles du panneau des blocs de mise en page */
 #appPvMapSimple #mapSimpletopToolBar2{
  font-size: 80%;
  padding: 15px;
  display: flex;
  flex-wrap:wrap;
  justify-content:flex-start;
 }

 #appPvMapSimple #mapSimpleblocInputYear {
  display: flex;
  align-items: center;
  gap: 8px;
 }

 #appPvMapSimple #mapSimpleblocInputYear label {
  flex-shrink: 0; /* Prevent label from shrinking */
 }

 #appPvMapSimple #mapSimpleyearfSelect {
  /* Reset appearance to allow custom styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* Modern styling */
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  padding: 8px 40px 8px 12px; /* Right padding for arrow */
  border: 1px solid #c2c9d6; /* Using a color from your theme variables */
  border-radius: 8px;
  background-color: #fff;
  min-height: 40px;
  box-sizing: border-box;
  cursor: pointer;

  /* Custom dropdown arrow */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%235e636e' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
 }

#appPvMapSimple #mapSimpled3js{
  position: relative; /* This is crucial for positioning the absolute child #mapSimplesuppliersInfos */
  position: relative;
}

 #appPvMapSimple #mapSimpleleftColumn{
   flex-basis: 100%; /* Take up full width of the flex container */
   position: relative; /* This is crucial for positioning the absolute child info panel */
   margin: 0;
/* padding-top: 50px;*/
/* height: 600px;*/
 }

 #appPvMapSimple #mapSimplerightColumn{
/* float: left;
 width: 20%;*/
   margin: 0;
   /*border: solid 1px #e4e4e4;*/
   /*position: absolute;
   background-color: ghostwhite;*/
/* height: 600px;*/
 }

 /* styles du panneau d'affiche des infos sur les fournisseurs */


 #appPvMapSimple #mapSimplezoomControllerReset{
/*  position: relative;
    z-index: -1;
   top: 6px;
   left: 10px;
   width: 125px;
   height: 30px;
   background: transparent url("icon_zoom_retours_de.png") 50% 50% no-repeat;*/
    display: none;
  }
  #appPvMapSimple #mapSimpleblocZoomController{
    margin-left: 10px;
  }

/*  Classe de wp que l'on aimerait comme référence pour le positionnement des éléments en absolute*/
  .entry-content{
    position: relative;
  }


#appPvMapSimple #mapSimpleLoading{
  width: 90px;
  height: 90px;
  margin: auto;
  padding-top: 50px;
  display: block;
}
