.svg-container {
  width: 100%;
  height: auto;
}
#svg-carte-france {
  width: 100%;
  height: auto;
  display: block;
}
.num_departement {
  font-family: Arial, sans-serif;
  /*font-size: 1em;*/
  fill: white;
  text-anchor: middle;
  /*pointer-events: none;*/
  font-weight: bold;
  /*text-shadow: 1px 1px 2px black;*/
}

/*perme d'afficher le modal au milieu de l'écran*/
.in {
  padding-top: 200px;
  position: fixed !important;
}
.popover {
  margin-top: 0 !important;
  padding-top: 0 !important;
  font-size: 14px;
}
.popover-header {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}


/*Css du popover*/
.popover {
    /*max-width: 300px; /* Taille maximale du popover */
    /*width: 300px;     /* Taille fixe */
    /*word-wrap: break-word; /* Assurez que le texte se coupe correctement */
    /*margin: 50px;*/
}
.popover .popover-content {
    /*font-size: 14px; /* Taille de la police du contenu */
}
.popover .popover-title {
    font-weight: bold; /* Titre en gras */
    text-align: center; /* Centrer le titre */
}

/*CSS du loading*/
.overlay {
    display: none; /* Caché par défaut */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 34, 34, 0.9);
    z-index: 9999 !important;
}
.overlay__inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.spinner {
    width: 75px;
    height: 75px;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.05);
    border-top-color: #fff;
    animation: spin 1s infinite linear;
    border-radius: 100%;
    border-style: solid;
}
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/*Légende des cartes*/
.legend-container {
  /*display: flex;*/
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding:10px;
  max-width: 500px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-size: 0.8em;
}

.legend-item {
  display: inline-flex;
 /* display: flex;*/
  align-items: center;
  gap: 10px;
  padding: 0px 10px 0px 0px;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.legend-label {
  font-family: "Segoe UI", sans-serif;
  font-size: 14px;
  color: #333;
}