body {
  font-family: Arial, Helvetica, sans-serif;
}


.box_row {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}


a .create_recette {
  color: gray;
}


a .create_recette:hover {
  color: red;
}

.course_text {
  width: 95%;
  display: flex;
  align-items: center;
}

.course_text a {
  text-decoration: none;
  color: black;
}

.course_text a:hover {
  color:gray;
}

.date_planifiee {
  font-size: 1.5em;
  padding: 10px 0px;
  width: 100%;
}

.detail_recette_container {
  width: 100%;
  background-color: whitesmoke;
  display: flex;
}


.detail_recette_container_left {
  width: 33%;
  background-color: whitesmoke;
  display: flex;
  flex-wrap: wrap;
  max-height: 100vh;
  overflow: scroll;
}


.detail_recette_container_right {
  width: 67%;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  max-height: 100vh;
  overflow: scroll;
}


.detail_recette_etape {
  color: gray;
  width: 50%;
}


.detail_recette_etape_box {
  background-color: white;
  border-radius: 10px;
  padding: 15px;
  font-size: 1.2em;
  margin-top: 15px;
  width: 100%;
}


.detail_recette_etape_icon {
  display: flex;
  height: 30px;
  justify-content: flex-end;
  margin-right: 10px;
}


.detail_recette_etape_text {
  font-size: 1.2em;
}


.detail_recette_ingredient {
  display: flex;
  flex-wrap: nowrap;
  padding: 15px 0px;
  border-top: 1px solid gray;
  width: 100%;
  align-items: center;
}


.detail_recette_ingredient_box {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  color: gray;
  font-size: 1.2em;
  margin-top: 10px;
}


.detail_recette_ingredient_titre {
  padding: 25px 0px;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  color: gray;
  font-size: 2em;
  align-items: center;
}


.detail_recette_icon {
  display: flex;
  height: 25px;
  max-width: 30px;
}


.detail_recette_personne {
  padding: 5px 15px 5px 15px;
  background-color: white;
  color: gray;
  font-size: 1.2em;
  width: 100%;
}


.detail_recette_time {
  padding: 15px;
  color: gray;
  background-color: white;
  width: 100%;
  display: flex;
}


.detail_recette_titre {
  font-size: 2em;
  font-weight: bold;
  display: flex;
  align-items: center;
  width: 93%;
  padding-left: 15px;
}


.detail_recette_titre_right {
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 1.2em;
}


.detail_recette_titre_right_box {
  display: flex;
  justify-content: center;
  align-items: center;
  color: gray;
  height: 50px;
  font-size: 1.2em;
  width: 100%;
}


.etape_icon {
  height: 20px;
}


.footer_bar {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  border-top: 1px solid gray;
  justify-content: space-evenly;
  position: fixed;
  bottom: 0px;
  background-color: white;
}


.footer_box {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
}


.footer_accueil {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 100;
  transform: translate(-50%, 0%);
}


.footer_button {
  display: flex;
  flex-wrap: nowrap;
  width: 15%;
  justify-content: center;
  align-items: center;
  height: 40px;
  margin: 10px;
  color: gray;
  text-decoration: none;
}


.footer_button:hover,
.active {
  background-color: mistyrose;
  border-radius: 5px;
  color: red;
}


.ingredient {
  cursor: pointer;
  padding: 10px;
  margin: 5px;
  border: 1px solid gray;
  color: gray;
  font-size: 1.2em;
  border-radius: 20px;
}

.ingredient.selected {
  color: red;
  border: 1px solid red;
}


.menu_box {
  display: flex;
  flex-wrap: wrap;
  width: 20%;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
  height: 50px;
  border-radius: 10px;
  margin-bottom: 15px;
}


.list_recette_box {
  display: flex;
  flex-wrap: wrap;
  max-width: 350px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
  height: 390px;
  border-radius: 10px;
  margin: 15px;
  background-color: white;
}


.list_recette_box_create {
  display: flex;
  flex-wrap: wrap;
  width: 340px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
  height: 380px;
  border-radius: 10px;
  margin: 15px;
  background-color: white;
  border: 5px dashed gray;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


.list_recette_box_text {
  width: 100%;
}


.list_recette_box_time {
  height: 50px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
}


.list_recette_container {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}


.list_recette_icon {
  height: 20px;
}


.list_recette_img {
  height: 100%;
  width: 100%;
  border-radius: 10px 10px 0px 0px;
}


.list_recette_titre {
  font-size: 1.2em;
  font-weight: bold;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.observation_box {
  height:50px;
  padding-left:15px
}


.planification_img {
  height: 30px;
}


.recette_box {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
  height: 150px;
  border-radius: 10px;
  margin-bottom: 15px;
  background-color: white;
}


.recette_box_text {
  width: 80%;
}


.recette_box_time {
  height: 50px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 1.5em;
  padding-left: 15px;
}


.recette_button {
  width: 200px;
  height: 25px;
}


.recette_icon {
  height: 25px;
}


.recette_img {
  height: 150px;
  width: 150px;
  border-radius: 10px 0px 0px 10px;
}


.recette_text {
  display: flex;
  align-items: center;
}


.recette_titre {
  font-size: 1.5em;
  font-weight: bold;
  height: 50px;
  display: flex;
  align-items: center;
  padding-left: 15px;
}


.responsive-iframe-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  /* Ratio 16:9 */
}


.responsive-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.toggle {
  position: relative;
  width: 80px;
  /* Ajustez la largeur pour accommoder le texte */
  height: 35px;
  border: 1px solid #ddd;
  border-radius: 25px;
  cursor: pointer;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Assurez une répartition égale de l'espace */
}

.toggle-inner {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 20px;
  background-color: white;
  transition: all 0.3s;
  left: 2px;
  /* Position de départ */
}

.toggle-inner.active {
  left: calc(100% - 32px);
  /* Déplacez à droite lorsque actif */
}

.toggle-yes,
.toggle-no {
  margin: 0 5px;
}

.toggle-no {
  color: white;
}

.toggle-yes {
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}

.toggle-inner.active+.toggle-yes {
  opacity: 1;
}

.toggle-inner.active~.toggle-no {
  color: transparent;
  /* Cachez "Non" lorsque "Oui" est sélectionné */
}

.toggle.active {
  background-color: red;
  /* Couleur pour 'true' */
}


.carnet {
  width: 400px;
  /* Ajustez selon la largeur désirée */
  height: 350px;
  border: 1px solid #ddd;
  /* Bordure légère pour le conteneur */
  border-radius: 8px;
  /* Coins arrondis */
  overflow: hidden;
  /* Permet d'appliquer le border-radius aux images */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Ombre portée légère */
  margin: 10px;
  /* Espacement entre les carnets */
  background-color: white;
}

.photos {
  display: flex;
  /* Disposition en ligne des images */
  justify-content: space-between;
  /* Espace réparti entre les images */
}

.photos_box {
  width: 66%;
  height: 256px;
}

.photo {
  width: 33.333%;
  /* Répartition égale de la largeur */
  display: block;
  /* Supprime l'espace supplémentaire sous les images */
  object-fit: cover;
  /* Garde l'aspect des images tout en couvrant l'espace */
  height: 100px;
  /* Hauteur fixe pour les images */
}

.carnet-info {
  padding: 8px 16px;
  /* Padding autour du texte */
  height: 70px;
  display: flex;
  /* Disposition en ligne des éléments du texte */
  justify-content: space-between;
  /* Répartir l'espace entre le titre et le nombre */
  align-items: center;
  /* Centrer verticalement les éléments */
}

.carnet-title {
  font-size: 1.2em;
  /* Taille du texte plus grande pour le titre */
  font-weight: bold;
  /* Titre en gras */
}

.carnet-count {
  background-color: red;
  /* Fond rouge pour le nombre de recettes */
  color: white;
  /* Texte blanc pour le contraste */
  border-radius: 50%;
  /* Rend le fond circulaire */
  padding: 8px;
  /* Espace autour du texte */
  font-size: 1.2em;
  /* Taille du texte pour le nombre */
  min-width: 24px;
  /* Largeur minimale pour garder le cercle rond */
  text-align: center;
  /* Centre le texte horizontalement */
}

.image-container {
  width: 100%;
  /* ou une largeur en pourcentage pour le rendre responsive */
  height: 0;
  /* Établit la hauteur initiale à zéro */
  padding-bottom: 100%;
  /* Utilise le padding pour créer un aspect carré (hauteur égale à la largeur) */
  position: relative;
  /* Position relative pour que l'image positionnée absolument puisse se référer à cette div */
  overflow: hidden;
  /* Cache tout contenu dépassant les limites du conteneur */
}

.image-container img {
  position: absolute;
  /* Position absolue pour remplir le conteneur parent */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Centre l'image dans le conteneur */
  width: 100%;
  /* L'image remplit la largeur du conteneur */
  height: 100%;
  /* L'image remplit la hauteur du conteneur */
  object-fit: cover;
  /* S'assure que l'image couvre la zone disponible sans la déformer */
}