  body {
   margin: 0;
   font-family: Arial, Helvetica, sans-serif;
  }

  .lang-warning {
  margin-top: 8px;
  background-color: #fff3cd;
  padding: 10px;
  border-left: 5px solid #ffc107;
  color: #856404;
  border-radius: 6px;
  font-size: 0.95em;
  }

  #lang-message:empty {
    display: none;
  }

  .topnav {
   overflow: hidden;
   background-color: #333;
  }

  .topnav a {
   float: left;
   display: block;
   color: #f2f2f2;
   text-align: center;
   padding: 14px 16px;
   text-decoration: none;
   font-size: 17px;
   border-radius: 10px 10px 10px 10px;
  }

  .topnav a:hover {
   background-color: #ddd;
   color: black;
  }

  .topnav a {
   background-color: #04AA6D;
   color: white;
  }

  .topnav .icon {
   display: none;
  }

/*début recherche dans blog*/
.topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.topnav-search-form {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 10px;
}

.topnav-search-form input[type="text"] {
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 3px 0 0 3px;
  outline: none;
  width: 200px;
  margin-top: 13px;
  margin-right: 0px;
  border-radius: 10px 0px 0px 10px;
}

.topnav-search-form button {
  padding: 5px 8px;
  border: 1px solid #ccc;
  background-color: #eee;
  border-left: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
}
/*fin recherche dans blog*/

  @media screen and (max-width: 600px) {
   .topnav a:not(:first-child) {
    display: none;
   }

   .topnav a.icon {
    float: right;
    display: block;
   }
  }

  @media screen and (max-width: 600px) {
   .topnav.responsive {
    position: relative;
   }

   .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
   }

   .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
   }
  }

/*topbar*/
/* Responsive : empile sur petit écran */
@media screen and (max-width: 600px) {
  .topbar {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5em;
  }
}


.topbar {
  background: #f1f1f1;
  padding: 0.5em 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95em;
  border-bottom: 1px solid #ccc;
  flex-wrap: wrap;
}

.btn-topbar {
  background-color: #2c3e50;
  color: white;
  text-decoration: none;
  padding: 0.4em 0.8em;
  border-radius: 5px;
  font-size: 0.9em;
}

.btn-topbar:hover {
  background-color: #34495e;
}

.btn-topbar.connected {
  background-color: #27ae60;
  color: white;
  font-weight: bold;
  cursor: default;
}

.btn-topbar:hover {
  opacity: 0.9;
}

/*infos du jour */
.infos-jour {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  align-items: center;
  font-size: 0.9em;
  color: #2c3e50;
  /*font-weight: bold;*/
}



.infos-jour span {
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 2px;
}

@media screen and (max-width: 600px) {
  .infos-jour {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
  }
}
/*fin topbar*/  

