@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #AEC80A #d1d1d1;
  font-family: "Outfit", sans-serif;
}
p{
  font-family: "Outfit", sans-serif;
}
h1 {
  display: flex;
  font-family: "Outfit", sans-serif;
  width: 70%;
  justify-content: center;
  font-size: 30px;
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 10;
  margin: 0;
  text-align: center;
}

h3 { 
  border-radius: 5px;
  font-size: 22px;
  font-family: "Outfit", sans-serif;
  height: 50px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #AEC80A
}

h4 {
  margin: 5px;
  font-family: "Outfit", sans-serif;

}

#map {
  height: 78vh;
  width: 50%;
  margin: 1%;
  border-radius: 10px;
}

.slider {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  background-color: white;
  z-index: 10;
  font-size: 20px;
  justify-content: center;
}

p {
  margin: 1px;
}

.PR {
  width: 48%;
  margin: 1%;
  height: 77vh;
  overflow-y: auto;
  /* Allow scrolling */
}

.choix_vue {
  width: 100%;
  height: 5vh;
  display: flex;
  justify-content: space-between;
  position: sticky;
  top: 0px;
  background-color: white;
  z-index: 10;
}

.choix_1 {
  width: 48%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  border: 1px solid black;
}

.parent_vue {

  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}

.table-container {
  width: 95%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chart-container {
  display: flex;
  width: 95%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.horizontal-tables {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.arrange {

  display: flex;
  flex-direction: column;
  align-items: center;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid black;
  padding: 8px;
  text-align: center;
}

#toggle-button {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 1000;
  background: white;
  padding: 10px;
  border: 1px solid #ccc;
  cursor: pointer;
}

#toggle-button1 {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background: white;
  padding: 10px;
  border: 1px solid #ccc;
  cursor: pointer;
}
#toggle-epci-btn{
  position: absolute;
  width: 180px;
  bottom: 10px;
  right: 10px;
  z-index: 1000;
  background: #ffffffbf;
  padding: 10px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.legend {
  left: -10px;
  width: 155px;
  border-radius: 5px;
  position: absolute;
  bottom: 10px;

  background: white;
  padding: 10px;
  border: 1px solid #ccc;
  z-index: 1000;
}

.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
}

.content {
  display: none;

}

.active {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
}

.button {
  margin: 5px;
  padding: 10px;
  cursor: pointer;
}

.active-button {
  background-color: #AEC80A;
}

#toggle-button1 {
  display: none;
}

.legend1 {
  position: absolute;
  bottom: 30px;
  left: 10px;
  background: white;
  padding: 10px;
  border: 1px solid #ccc;
  z-index: 1000;
}

.legend1 i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
}

.select-container {
  display: flex;
  position: sticky;
  padding-top: 3%;
  top: 29px;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  background-color: #fff;
  flex-wrap: wrap;
  z-index: 100;
}

#departement-select {
  width: 40%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  appearance: none;
  background-color: #fff;
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#departement-select:hover {
  border-color: #888;
}

#departement-select:focus {
  border-color: #555;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  outline: none;
}

.departement-select::after {
  content: '▼';
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #888;
  font-size: 18px;
}

.departement-select:hover::after {
  color: #555;
}

.departement-select:focus-within::after {
  color: #333;
}

#selected-department {
  width: 40%;
  font-size: 18px;
  text-align: center;

}

.line {
  margin-top: 10px;
  height: 1px;
  background-color: #33333350;
  width: 50%;
}

.status-depose {
  background-color: #ffcccc;
  /* Red pastel */
}

.status-en-cours {
  background-color: #ffd966;
  /* Orange pastel */
}

.status-pris-en-compte {
  background-color: #fff2cc;
  /* Yellow pastel */
}

.status-resolu {
  background-color: #d9ead3;
  /* Green pastel */
}

.highlight {
  background-color: rgba(66, 66, 66, 0.178) !important;
}

.context-menu {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #0a0a0a;
  z-index: 1000;
  width: 200px;
  max-height: 200px;
  overflow-y: scroll;
  padding: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.context-menu-item {
  font-size: 12px;
  padding: 3px 2px;
  cursor: pointer;
}

.context-menu-item:hover {
  background-color: #f1f1f1;
}

.filter-checkbox {
  margin-right: 8px;
}

#total-signalements-france,
#total-signalements-france2 {
  margin: 2%;
}

.choix_vue {
  cursor: pointer;
}

.toggle-legend button {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 6px 10px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}
.legend2 {
  padding: 6px 8px;
  font: 14px Arial, sans-serif;
  background: white;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  line-height: 24px;
  color: #333;
}
.leaflet-top {
  top: 0px;
}
.noUi-connect{
  background: #AEC80A;
}
.affiche_resp{
  width: 100%;
}
.basic-button {
  background-color: #AEC80A; /* Couleur de fond verte */
  border: none; /* Aucune bordure */
  color: rgb(0, 0, 0); /* Texte blanc */
  padding: 6px 5px;; /* Padding autour du texte */
  text-align: center; /* Texte centré */
  text-decoration: none; /* Pas de soulignement du texte */
  display: inline-block; /* Affichage en ligne */
  font-size: 16px; /* Taille de police */
  margin: 4px 2px; /* Marge autour du bouton */
  cursor: pointer; /* Curseur en forme de pointeur */
  border-radius: 5px;
}

.basic-button:hover {
  background-color: #bebebe; /* Changement de couleur au survol */
}
.legend-item{
  display: flex;
}
.legend-section{
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
thead {
  position: sticky;
  top: 0;
  background: white;
}
table{
  font-size: 12px;
}    #moncompte {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}
.account-menu {
  position: absolute;
  align-items: flex-start;
  top: 0%;
  right: 1%;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 2%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  padding: 10px;
  z-index: 1001;
  align-items: center;
}
.account-menu .avatar {
  width: 50px;
  height: 50px;
  background-color: #007bff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  margin-bottom: 10px;
}
.account-menu .welcome {
  font-size: 1em;
  margin-bottom: 10px;
}
.account-menu a {
  text-decoration: none;
  color: #AEC80A;
  margin-bottom: 5px;
}
.account-menu a:hover {
  text-decoration: underline;
}
.entete_page{
  display: flex; justify-content: center;align-items: flex-end; width: 100%;
}
.compte_bulle{
  right: 1px; z-index: 1000;top:-30px
}
.Seconde_page{
  display: flex; height: 80vh
}
@media (min-width: 1300px) {
  .entete_page{
      display: flex; justify-content: center;align-items: flex-end;height: 12vh; width: 100%;
  }
  h1{
    font-size: 27px;
  }
  .compte_bulle{
    top: -9px;
  }
  .Seconde_page{
      display: flex; height: 88vh;
  }
  #map {
      height: 85vh;
  }
  .PR {
      width: 48%;
      margin: 1%;
      height: 85vh;
  }
  .select-container {
    display: flex;
    position: sticky;
    padding-top: 3%;
    top: 47px;
  }
  
}
.departement-section{
  overflow: overlay;
height: 139px;
}

