   html, body {
      height: auto;
       margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;font-family: 'Bad Script', cursive;
    }

    #map {
      height: 100vh;
      width: 100%;
      font-size: 2em;
    }

    #content {line-height: auto; margin:0; padding:0;
       background-color: #54abc1; color: #fff;
      box-sizing: border-box;
font-family: 'Bad Script', cursive;  position:fixed;bottom : 0;opacity:70%;
      font-size: 1em;z-index:888; margin: 0; /* Ajoutez cette ligne pour supprimer la marge */
  padding: 0; width:100%;
    }

h1.titre { font-size:1.5em ;   margin:0; padding:0; padding-left:0.5em; font-family: 'Fredericka the Great', serif;font-weight:normal}


    #site-description {margin:0; padding:0;
      text-align: justify;padding-left : 1em;padding-right:1em;
      font-size: 1em; /* Taille de police plus grande pour la description */z-index:888; 
    }

    footer {
      background-color: transparent;
      padding: 0;
      text-align: left;
       font-family: 'Bad Script', cursive;
      font-size: 1m; /* Taille de police plus grande pour le pied de page */
      color: #888;z-index:888; 
	    margin-left:1em;
    }

 footer a{text-decoration:none}
 footer a:hover{}
   #cible {
    position: fixed;
    bottom: 5em;
    left: 1em;
    cursor: pointer;
    z-index: 800; /* Assurez-vous que l'image reste au-dessus des autres éléments */
    width: 3em;  /* Vous pouvez ajuster la taille si nécessaire */
}

    /* Taille de police plus petite pour l'attribution */
    .leaflet-control-attribution {
      font-size: 0.5em;
    }


   
/* Styles pour le message contextuel personnalisé */
.custom-position {
    font-size: 0.6em; /* Ajustez la taille de la police selon vos préférences */
    /* Autres styles CSS au besoin */
    color:red;
}


.marker-tooltip {
  background-color: transparent;
  padding: 0px !important;
  border-radius: 15px;
  font-size: 0.6em;
  margin-top: 0px;
  margin-right: 30px;
  font-family: 'Bad Script', cursive;
  cursor: pointer;
  pointer-events: auto !important;
}

/* Masquer les étiquettes quand la carte est dézoomée (zoom ≤ 11) */
#map.masquer-tooltips .leaflet-tooltip {
  display: none !important;
}

.popup-content {
  font-family: 'Bad Script', cursive;
  font-size: 0.5em;
  color: #54abc1;
}

/* Style pour la modal beachModal */

.modalbeach {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.35);
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}



/* Style pour le contenu de la modal beachModal */
.beachmodal-content {
  background-color: rgba(5, 150, 181, 0.7);
  opacity: 100%; color: #fff; font-size: 1.1em;
  font-family: 'Montserrat', sans-serif;
  margin: auto;
  padding: 20px;
  border: 0px solid #ccc;
  border-radius: 15px;
  max-width: 70vw;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}


/* Style pour le bouton de fermeture de la modal */
.beachmodal-content button.close-button {
    background-color: #f44336;
   
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    float: right;
}

/* Style pour le bouton de fermeture de la modal au survol */
.beachmodal-content button.close-button:hover {
    background-color: #d32f2f;
}

/* Styles pour le bouton personnalisé */
.custom-button {
  background-color: #fff; /* Couleur de fond du bouton */
  color: #54abc1; /* Couleur du texte du bouton */
  padding: 0.3em; /* Espacement intérieur du bouton (haut/bas gauche/droite) */
  border: none; /* Supprime la bordure du bouton */
  font-size:1em;font-weight:bold;
  border-radius: 15px; /* Coins arrondis */
  cursor: pointer; /* Curseur de type main au survol */
   font-family: 'Bad Script', cursive;
}

/* Styles au survol du bouton */
.custom-button:hover {
  background-color: #1a87b4;color:#fff /* Changement de couleur de fond au survol */
}


.fondtransp{border-radius: 15px; padding:0.5em; background-color: rgba(0, 0, 0, 0.2);}



#beachImage {
    max-width: 100%; /* L'image occupe toute la largeur de la modal */

	    display: block; /* Pour centrer horizontalement */
    margin: 0 auto; /* Pour centrer horizontalement */
	border-radius:15px;
}

#beachName{font-family: 'Bad Script', cursive;font-size:1.5em}

#beachCredit {
    font-size: 0.8em; /* Taille du texte */
 
    color: #fff; /* Couleur du texte */
    text-align:right;
}


/* Justifier le texte dans la beachmodal */
#beachDescription {
    text-align: justify;
}


/* Styliser les liens <a> à l'intérieur de beachDescription */
#beachDescription a {
  color: #fff; /* Couleur du lien */
  text-decoration: underline; /* Souligner le lien */
}




    

    /* Increase the size of the default Leaflet marker icon */
.leaflet-marker-icon {
  width: 90px; /* Adjust this value to change the width */
  height: 90px; /* Adjust this value to change the height */
  margin-left: -20px; /* Half of the width to center the icon on the marker's lat-lng point */
  margin-top: -20px; /* Half of the height to center the icon on the marker's lat-lng point */

 }


/* Styles pour la modal accueui*/



.modal {
  display: none; /* Caché par défaut, JS utilise display:flex pour l'ouvrir */
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  justify-content: center;
  align-items: center;
}


.modal-content { font-size: 1em;
  background-color: rgba(5, 150, 181, 0.8);opacity:100%;
  margin: 0 auto;
  padding: 20px;
  border: 0px solid #888;
  width: 70%;
font-family: 'Bad Script', cursive;
  color: #fff;
    border-radius: 15px; /* Ajout des bords arrondis */
font-size:1.1em
}

.modal-title {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 1em;
	
}

.modal-paragraph {
    margin-bottom: 1em;
}

.modal-highlight {
    font-weight: bold;
}

.modal-link {
    color: #007BFF;
    text-decoration: none;
    cursor: pointer;
}

.modal-link:hover {
    text-decoration: underline;
}

.close {
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-left: 10px;
}

.close:hover,
.close:focus {
  color: #44c5e5;
  text-decoration: none;
  cursor: pointer;
}

.modal p {
  font-size: 1em;
  text-align: justify;
}

.modal a {
  color: #fff;
  text-decoration: underline;
}


.modal-content h2 {
    font-size: 1.2em; /* Ajustez cette valeur selon la taille souhaitée */
    margin-top: 0;
    margin-bottom: 20px; /* Espacement entre le titre et le contenu suivant */
    color: #fff; /* Couleur du texte */
}



.circular-icon {
    border-radius: 50%; /* Cela rend l'icône circulaire */
    overflow: hidden;  /* Cela garantit que rien ne dépasse du cercle */
}

#navChoiceModal {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Fond semi-transparent pour obscurcir le reste de la page */
  z-index: 1000;
}


/* Styles pour l'arrière-plan semi-transparent de la navChoiceModal */
.nav-modal-backdrop {
    background-color: rgba(0, 0, 0, 0.4); /* Fond semi-transparent pour obscurcir le reste de la page */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001; /* Placez-le au-dessus de la modal */
    cursor: pointer; /* Changez le curseur en main pour indiquer qu'il est cliquable */
}



.nav-modal-content {
  background-color: rgba(0, 0, 0, 0.4); /* Fond semi-transparent pour la modal */
  padding: 20px;
  border-radius: 10px;
  width: 60%; /* Ajustez la largeur de la modal selon vos besoins */
  max-width: 400px; /* Définissez une largeur maximale pour la modal */
  text-align: center;
  color: #fff;
  font-family: 'Bad Script', cursive;
  position: relative; /* Ajoutez cette ligne */
  top: 50%; /* Ajoutez cette ligne */
  left: 50%; /* Ajoutez cette ligne */
  transform: translate(-50%, -50%); /* Ajoutez cette ligne pour centrer la modal */
}

.nav-choice-btn {
  background-color: #44c5e5;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 5px;
font-family: 'Bad Script', cursive;
  font-size: 1.3em;
  cursor: pointer;
  display: block;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
}

.nav-choice-btn:hover {
  background-color: #1a87b4;
}


   
#titreModal {
    cursor: pointer; /* change le curseur en main lors de la survol */
}

#titreModal:hover {
    text-decoration: none; /* souligne le texte lors de la survol */
}




    @media screen and (max-width: 1024px) {
     
 /* Taille de police plus petite pour l'attribution */
    .leaflet-control-attribution {
      font-size: 0.3em;
    }
 footer { }



     
.modal {padding-top:1em;top:0;} 
	 

 
 #beachImage {

}

} /* fin @media max-width: 1024px */

/* -------------------------------------------------------
   Bloc météo dans la fiche plage
------------------------------------------------------- */
.meteo-section {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.6em 0.8em;
  margin: 0.6em 0;
  font-family: 'Montserrat', sans-serif;
}

.meteo-titre {
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  font-weight: 600;
  margin: 0 0 0.4em 0;
  color: #fff;
  letter-spacing: 0.03em;
}

.meteo-grille {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em 0.8em;
}

.meteo-item {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9em;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.meteo-condition {
  width: 100%;
  font-size: 0.9em;
  font-weight: 700;
}

.meteo-chargement,
.meteo-erreur {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
}

/* -------------------------------------------------------
   Boutons groupés dans le modal plage
------------------------------------------------------- */
.boutons-modal {
  display: flex;
  gap: 0.6em;
  flex-wrap: wrap;
  margin-top: 0.5em;
}

.btn-photo {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-photo:hover {
  background-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-annuler {
  background-color: rgba(0, 0, 0, 0.15);
  color: #fff;
}
.btn-annuler:hover {
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* -------------------------------------------------------
   Formulaire upload photo
------------------------------------------------------- */
.upload-intro {
  font-size: 0.82em;
  opacity: 0.85;
  margin-bottom: 1em;
}

.upload-champ {
  margin-bottom: 0.8em;
}

.upload-label {
  display: block;
  font-size: 0.8em;
  font-weight: 600;
  margin-bottom: 0.3em;
  opacity: 0.9;
}

.upload-input {
  width: 100%;
  padding: 0.5em 0.7em;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
}

.upload-statut {
  font-size: 0.82em;
  padding: 0.5em 0;
  min-height: 1.5em;
}
.upload-ok     { color: #a8f0c6; font-weight: 600; }
.upload-erreur { color: #ffb3b3; font-weight: 600; }

/* Aperçu photo compressée */
.upload-apercu-bloc {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin: 0.5em 0;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.5em;
}
.upload-apercu-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.upload-apercu-info {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72em;
  color: rgba(255,255,255,0.9);
}

/* Barre de progression */
.progression-bloc {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 0.5em 0;
}
.progression-piste {
  flex: 1;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  height: 8px;
  overflow: hidden;
}
.progression-barre {
  height: 100%;
  width: 0%;
  background: #a8f0c6;
  border-radius: 20px;
  transition: width 0.2s ease;
}
.progression-pct {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72em;
  color: #fff;
  min-width: 2.5em;
  text-align: right;
}