/* body {
  font-family: "Poppins", sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
} */

body {
  font-family: "poppins";
  background: url("../assets/fond.jpg") center/cover;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 100vh; /* min-height de base */
}



/* Style du conteneur header */
.header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  background-color: #262626;
  padding: 3px;
  position: relative;
}
#buton-accueil img {
  flex: 0;
  margin-left: 0.5em;
  text-align: left;
  height: 25px;
  width: 120px;
}
.bouton-connexio-inscription {
  margin-right: 1em;
  text-align: right;
  flex: 1;
}

#buton-connexion {
  text-align: right;
  white-space: nowrap;
  justify-content: space-between;
}

#buton-connexion:hover {
  color: gray;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  color: #ccc;
  background-color: #262626;
  padding: 5px 10px;
  margin-right: 1em;
  font-size: 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


.dropdown-container {
  display: none;
  position: absolute;
  background-color: #262626;
  min-width: 330px;
  right: 70%;
  border: 1.5px solid #333;
  border-radius: 6px;
  box-shadow: 0 10px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
  top: 100%;
}

.header a {
  color: #ffffff;
  text-decoration: none;
  margin: 10px;
}
.dropdown-container a {
  /* color: #ccc; */
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  width: 80%;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin: 20px;
  border-radius: 20px;
  background: #262626;
  border: none;
  color: #aaa;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;

  box-shadow:
    -8px -8px 20px rgba(27, 27, 29, 0.3),
    8px 8px 20px rgba(0, 0, 0, 0.5);
}

.dropdown-container:active {
  box-shadow:
    inset -6px -6px 10px rgba(60, 60, 80, 0.3),
    inset 6px 6px 10px rgba(0, 0, 0, 0.5);
}


.dropdown-container a:hover {
  color: #aaa;
}

.dropdown:hover .dropdown-container {
  display: block;
}

.dropdown:hover .dropbtn {
  color: #aaa;
}
/* .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
} */

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
}

.profil-hover-zone {
  position: relative;
}

.profil-info-hover {
  display: none;
  position: absolute;
  right: 100%;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #262626;
  border: 1.5px solid #333;
  border-radius: 6px;
  box-shadow: 0 10px 8px rgba(0, 0, 0, 0.1);
  padding: 10px 15px;
  margin: 3px;
  min-width: 220px;
  min-height: 150px;
  z-index: 1000;
}

.profil-hover-zone:hover .profil-info-hover {
  display: block;
}

.profil-info-hover p {
  margin: 5px 0;
  font-size: 14px;
}

.info-profil {
  color: #ccc;
}
.profil-info-hover H3 {
  font-size: 18px;

}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.burger {
  display: none;
  margin-right: 1em;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 20;
}
.hidden {
  visibility: hidden;
}

.burger-bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  transition: transform 0.3s;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -500px;
  height: 100%;
  width: 250px;
  background-color: #262626;
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: right 0.3s ease-in-out;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
  padding-top: 60px;
  z-index: 10;
}
.close-menu {
  background: none;
  border: none;
  color: #ccc;
  font-size: 28px;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
}

.close-menu:hover {
  color: #888;
}

.side-menu a {
  color: #ccc;
  text-decoration: none;
  padding: 5px;
  border-radius: 4px;
}

.side-menu a:hover {
  color: #888;
}
#top-profile {
  margin-top: 40px;
}

.side-menu-link {
  color: #ccc;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 4px;
  margin: 5px 0;
  text-align: left;
  transition: background-color 0.3s;
}

.side-menu-link:hover {
  color: #888;
}











.container {
  max-width: 500px;
  width: 100%;
  margin: 50px auto;
  padding: 15px;
  /* background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  background-color: rgba(223, 223, 223, 0.94);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.7em;
  color: #333;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.form-group input, select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  outline: none;
}
/* 
select :hover {
  cursor: pointer;
  background: #b3d8ff;
} */

.readonly-field {
  background-color: #f0f0f0;
  color: #6c757d;
  cursor: not-allowed;
}

.btn {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #6b5a48;
  color: #fff;
  font-size: 16px;
  text-align: center;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 15px;
}

.btn:hover {
  background-color: #8f7d69;
}

.footer a {
  display: inline-block;
  text-decoration: none;
  color: #6b5a48;
}

.footer a:hover {
  text-decoration: underline;
}

.success-message {
  color: green;
  text-align: center;
  margin-top: 15px;
}
.back-link {
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  color: #6b5a48;
}
.container a {
  text-align: center;
}

.back-link:hover {
  text-decoration: underline;
}

.success-message {
  background-color: #e7f3ff;
  color: #6b5a48;
  border: 1px solid #8f7d69 ;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  font-size: 14px;
}




.error-message {
  background-color: #fdecea;
  color: #d93025; /* Rouge pour les messages d'erreur */
  border: 1px solid #f5c6cb;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  font-size: 14px;
}

@media screen and (max-width: 700px) {

  .container {
    width: 75%;
  }
  h1 {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 1008px) {
  .header {
    padding: 4px;
  }
  #buton-accueil {
    margin-left: 1em;
  }
  #buton-connexion {
    margin-right: 7em;
  }

  .burger {
    display: flex;
  }

  .side-menu {
    display: flex "important";
  }

  .dropdown {
    display: none;
  }
  .bouton-connexion-inscription {
    display: none;
    margin-top: 40px;
  }
}