.legend-menu {
    height: 500px;
    overflow: auto;
}

.gras {
    font-weight: 700;
}

.connection-line {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
}

.connection-text {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.language-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e3f2fd;
    color: #1565c0;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 800;
    margin-bottom: 8px;
}

.language-details {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-left: 8px;
}

.detail-badge {
    background: #fff3cd;
    color: #856404;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    border: 1px solid #ffeaa7;
}

.reference-block {
    background: #f8f9fa;
    border-left: 4px solid #28a745;
    padding: 16px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

#sidebar > #Contributions_wrapper > #Contributions{
    overflow-x: scroll;
    max-height: 500px;
    height: 500px;
    display: block;
    border-left: solid 1px lightgray;
 }

 #legend-geojson{
    display: none;
 }

 #map-side-full{
    height: 420px !important;
 }

 .about {
    width: 90%;
 }

 /* Style pour les figures de l'onglet about  */
.thumbnail {
  cursor: pointer;
  transition: 0.3s;
}

.thumbnail:hover {
  opacity: 0.7;
}

/* Style pour la modale */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 20% ;  
  /* top: 0; */
  width: 80%;
  height: 100%;
  overflow: auto;  
  background-color: rgba(0, 0, 0, 0.9);
  padding: 40px;
  box-sizing: border-box;
}

/* Wrapper flex pour centrer */
.modal-content {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close:hover {
  color: #bbb;
}

pre{
  word-break: keep-all;
}

table.features_table{
  margin-left: 15%;
  width: 70%;
}

.features_table > tbody > tr > td {
  vertical-align: middle;
  border: 1px solid black;
}  
.features_table > thead > tr > th {
  text-align: center;
  border: 1px solid black;
  background-color: #f5f5f5;
}

.check_red{
  text-align: center;
  color: red;
}

.check_green{
  text-align: center;
  color: green;
}