body {
      font-family: "myriad pro", tahoma, verdana, arial, sans-serif;
      font-size: 14px;
      margin: 0px;
      padding: 0px;
      
   }

#content {
  margin: 40px;}

#container {
  display: flex;
  width: 100%;
  margin: 0;
  padding-left: 10px;
  padding-right: 100px; /* Ajouter 100px de padding à droite */
  height: 100px;
  align-items: center;
  box-sizing: border-box;
}

#logo {
  width: 20%;
  min-width: 150px; /* Largeur minimale pour éviter l'écrasement */
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Empêcher le rétrécissement */
}

#menu {
  width: 70%;
  height: 100px;
  display: flex;
  align-items: center;
  min-width: 0; /* Permettre le rétrécissement si nécessaire */
  overflow: hidden; /* Éviter le débordement */
}

#line {
  width: 100%;
  height: 10px;
  background-color: #30783A;
  padding-left: 10px; /* Même décalage que le container */
  box-sizing: border-box;
}

#header {
  font: italic normal 230%'Arial', Times, serif;
  font-color: #fff;
  text-shadow: 3px 2px black;
  margin: 0;
  padding: 15px 10px 15px 20px;
  no-repeat center;
  background-size: cover; }

#header a:hover {color: #fff; opacity: 0.5;}
#header a:link { color: #fff; text-decoration: none; }
#header a:visited { color: #fff; text-decoration: none; }

#description {
  font: italic normal 100%'Arial', Times, serif;
  color: #fff;
  font-size: 35px;
}


/* NAVIGATION */
nav {
  width: 100%;
  margin: 0;
  background: #fff;
  padding: 10px 0;
  font-size: 20px;
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Répartir l'espace uniformément */
  list-style: none;
  text-color: #000000;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  flex-wrap: nowrap;
}

nav ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  flex: 1 1 auto; /* Permettre l'expansion et la contraction */
  white-space: nowrap;
  max-width: 180px; /* Limiter la largeur max pour éviter les chevauchements */
}

nav ul li:last-child {
  flex: 0 0 180px; /* Augmenter de 150px à 180px */
  justify-content: flex-end;
  margin-left: 0;
  min-width: 180px; /* Même valeur */
}

nav ul li a {
  display: block;
  padding: 8px 12px; /* Padding réduit */
  text-decoration: none;
  color: #000000;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  width: auto; /* Largeur automatique */
  min-width: 60px;
  text-align: center;
  position: relative;
  transition: all .5s;
  white-space: nowrap;
  box-sizing: border-box;
  font-size: 20px; /* Taille de police légèrement réduite */
}

nav ul li a:hover {
  color: #000000;
  opacity: 0.5;
}

/* Styles spécifiques pour le sélecteur d'année */
nav ul li.year-selector .year-label {
  font-weight: 800;
  text-transform: uppercase;
  margin-right: 8px; /* Marge réduite */
  font-size: 20px;
  color: #000000;
}

nav ul li.year-selector select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  min-width: 100px; /* Augmenter de 80px à 100px */
  width: auto; /* Permettre l'expansion automatique */
  text-align: center;
}

nav ul li.year-selector select:focus {
  outline: 2px solid #30783A;
  border-color: #30783A;
}

/* stroke effect */
nav.stroke ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #333;
  height: 1px;
  transition: all .5s;
}

/* Media queries pour les petits écrans */
@media screen and (max-width: 1200px) {
  nav ul {
    gap: 5px; /* Réduire l'espacement */
  }
  
  nav ul li a {
    padding: 8px 10px; /* Réduire le padding */
    font-size: 16px; /* Réduire la taille de police */
  }
  
  nav ul li.year-selector .year-label {
    font-size: 16px; /* Réduire la taille du label */
  }
}

@media screen and (max-width: 900px) {
  #logo {
    width: 25%; /* Augmenter légèrement la largeur du logo */
  }
  
  #menu {
    width: 75%; /* Réduire la largeur du menu */
  }
  
  nav ul li a {
    min-width: 60px; /* Réduire la largeur minimale */
    padding: 5px 8px;
  }
}

content {
  margin-left: 10px;
  max-width: 90%;
   }

th {
   background-color: lightgrey;
   word-wrap: break-word;
   overflow: hidden;

}

td {
   height: 20px;
   font-size: 16px;
   padding: 5px;
   word-wrap: break-word;
   overflow:hidden;
   white-space:nowrap;
   text-overflow: ellipsis;
}


input
{
    height: 30px;
    font-size: 20px;
    border: 1px solid grey;
    transition: 0.2s all linear;
}

label {
  margin-right: -20px;
  margin-left: -80px;
  line-height: 32px;
}

.btn {
    background: #1f913b;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: #30783A;
}

.auth-section {
    background-color: #f8f9fa;
    padding: 10px;
    text-align: right;
    border-bottom: 1px solid #dee2e6;
}

.auth-section .user-info {
    margin-right: 15px;
}

.logout-btn {
    background: none;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}
