/* CSS Document */

a {
  text-decoration: none;
  color: inherit;
}
    body {
      margin: 0;
      padding: 0;     
      font-family: Arial, sans-serif;

    }
	  
/*Horaire*/
.containermap h2 {
  text-align: center;
  font-size: 1.25rem;
}
.schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 5px;
}
.day {
  text-align: left;
}
.hours {
  text-align: right;
}
/*fin Horaire*/

/*Map*/
.containermap{
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
	border: 5px solid #8E7A3D;
  border-radius: 20px;
  overflow: hidden;

  background-color: white;

}
.infomap{
margin: auto;

}

  .mapcarte {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 420px;
    margin: 20px auto;
    padding: 0 15px;
    color: #333;
  }
  .address {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .map {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  iframe {
    width: 100%;
    height: 300px;
    border: none;
  }
  .link-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
/*
  button, a.button-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 12px;
    color: white;
    transition: background-color 0.3s ease;
    user-select: none;
  }
*/
  button.copy-btn {
    background-color: #555;
  }
  button.copy-btn:hover {
    background-color: #444;
  }
  a.waze {
    background-color: #33ccff;
  }
  a.waze:hover {
    background-color: #28b8e6;
  }
  a.google {
    background-color: #4285F4;
  }
  a.google:hover {
    background-color: #3367d6;
  }
  svg.icon {
    width: 22px;
    height: 22px;
    fill: white;
  }
  .footer-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
  }

/*fin du map*/


/* Overlay gris plein écran */
.popup-overlay {
	display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    padding: 20px;
    max-width: 400px;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    margin: 0;
}

.popup-item {
    padding: 12px;
    text-align: center;
    background-color: #ff9800;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.popup-item:hover {
    background-color: #e68900;
    transform: scale(1.05);
}

.hidden {
    display: none;
}



















	  


/*calandrier Marquage les qui ne sont pas du mois  */	
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    visibility: hidden;
    pointer-events: none;
}








.champ-commentaire {
    width: 100%;
    max-width: 100%;
    min-height: 100px;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    resize: vertical;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
	margin-top: 20px;
}





/* âœ… LIENS CENTRÃ‰S */
.nav-links {
  display: flex;
  gap: 20px;
  white-space: nowrap;
}

.nav-links a {
  font-size: 18px;
  font-weight: bold;
  color: #8E7A3D;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #8E7A3D;
}	
	
	



.left-fixed {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 30px;
  height: 400px;
  background-color: #333;
  z-index: 2000;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden; /* masque les dÃ©bordements */
}

.left-fixed img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* remplit entiÃ¨rement la div, recadrÃ©e si nÃ©cessaire */
  display: block;
}

.center-popup {
	
	
	
	
  position: fixed;
  display: block;
  transform: translateY(-200vh); /* Place la pop-up en dehors de l'écran */
  left: 50%;
  transform: translateX(-50%) translateY(-200vh); /* Combine translateX et translateY */
  width: 90%;
  max-width: 810px;
  height: 100vh;
  background: white;
  border: 4px solid #8E7A3D;
  padding: 0px 20px 50px 20px;
  text-align: center;
  z-index: 2000;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.7s ease; /* Transition sur transform au lieu de top */
  overflow-y: auto;
  box-sizing: border-box;
  padding-top: 30px;
}

.center-popup.show {
  transform: translateX(-50%) translateY(0); /* Reviens à la position normale */
}

	.close-btnR {
      position: absolute;
      top: 10px;
      right: 15px;
      background: #F70303;
      color: white;
      border: none;
      padding: 8px 12px;
      font-size: 14px;
      border-radius: 15px;
      cursor: pointer;
    }	






    /* ðŸ”„ Nouveau style pour texte de remplacement */
.text-placeholder {
  display: block; /* Change de flex Ã  block */
  width: 677px;
  max-width: 100%; /* Pour sâ€™adapter aux petits Ã©crans */
  height: auto;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 15px;
  padding: 20px;
  box-sizing: border-box;
  color: #333;
  text-align: left;

  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  overflow: hidden; /* Masque tout dÃ©passement */
}

	
    .footer {
      background-color: #222;
      color: #eee;
     /* padding: 30px 20px;
		padding-top: 20px;
		padding-bottom: 20px;*/
      text-align: center;
      font-size: 14px;
    }

    .footer a {
      color: #ffd700;
      text-decoration: none;
    }

    .footer a:hover {
      text-decoration: underline;
    }	
	
	


	
	
	

	
	
	
    @media screen and (max-width: 600px) {
.center-popup {
  width: 90% !important;
  border-radius: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-200vh); /* toujours centré horizontalement */
  padding-bottom: 150px;
}
.center-popup.show {
  transform: translateX(-50%) translateY(0); /* idem ici */
}

	
		.champ-commentaire {
        font-size: 15px;
        min-height: 80px;
    }
		
	
		
		
.text-placeholder {
  font-size: 1em;
}		
		
  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 16px;
  }





}

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
#nombreP {
  font-size: 1.4rem;
  width: 200px;
  height: 40px;
  padding: 0;
  margin: 0;
  text-align-last: center;   /* Centrage de l’élément sélectionné */
  text-align: center;        /* Centrage des options */
  background: #f0f0f0;
  border: 2px solid #888;
  border-radius: 10px;
/*  appearance: none;          /* Supprime l’apparence native (Chrome/Safari) */
  -moz-appearance: none;     /* Firefox */
  -webkit-appearance: none;  /* Safari/Chrome */
	
	

	
}
#nombreP {
 /* background: #f0f0f0 url('data:image/svg+xml;utf8,<svg fill="gray" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') */
	no-repeat right 10px center;
  background-size: 24px;
}

#nombreP option {
  text-align: center;        /* Centrage des options dans la liste */
}	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
  
        /* Style de la page reservation */

	   
	   
		form {
		  	max-width: 700px;
		  	width: 100%;
		  	margin: 20px auto;
		  	padding: 20px;
		  	background-color: #a24c0e;
		  	border-radius: 8px;
		  	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
		  	overflow-x: hidden;
		}
        h2 {
            text-align: center;
            margin-bottom: 30px;
        }

        label {
            font-weight: bold;
            display: block;
            margin: 20px 0 10px;
        }

	   
   
	   
	   .okr_popup{	
		   
		    display: none;
		     
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
		   
		   
		  	font-size: 18px;
  			font-weight: bold;
  			color: #8E7A3D;
	   }
	   
		/* âœ… Container de boutons avec bon espacement */
		.button-container {
		  	display: flex;
		  	flex-wrap: wrap;
		  	gap: 10px;
		  	justify-content: center;
		  	padding: 0;
		}

        .button-container .room {
            text-align: center;
            background-color: #4d0202;
            padding: 10px;
            border: 3px solid #dbcc79;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }		
		.button-container .room img {
    		width: 100%;
		    height: 200px; /* Augmente ici pour plus de hauteur */
    		object-fit: cover;
		    border-radius: 8px;
    		margin-bottom: 10px;
            border: 2px solid #DAEEFF;
            border-radius: 8px;	
}
		
        .button-container button {
            background-color: #333;
            color: #fff;
            font-size: 16px;
            padding: 10px 18px;
            border: none;
            cursor: pointer;
            border-radius: 5px;
            transition: background-color 0.3s;
        }

        .button-container button:hover {
            background-color: #555;
        }

        .button-container button.active {
            background-color: #007bff;
        }

        button[type="submit"] {
            background-color: #28a745;
            color: #fff;
            font-size: 16px;
            padding: 10px 20px;
            border: none;
            cursor: pointer;
            border-radius: 5px;
            margin-top: 20px;
        }

        button[type="submit"]:hover {
            background-color: #218838;
        }

        .error {
            border: 2px solid red;
        }

        .calendar-wrapper {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }

        .flatpickr-day {
            padding: 12px;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 36px;
            height: 36px;
            line-height: 36px;
        }

        .flatpickr-day.selected {
            background-color: #007bff !important;
            color: white !important;
            border-radius: 50%;
        }

        .horaire-section {
            margin-top: 20px;
        }

        .horaire-section h3 {
            margin-bottom: 10px;
        }

        /* Cacher le champ date */
        #date {
            display: none;
        }

        /* Cacher le numÃ©ro de la semaine */
        .flatpickr-weekday {
            display: none;
        }

        /* Zone de message d'erreur */
        .error-message {
            color: red;
            background-color: #f8d7da;
            border: 1px solid #f5c6cb;
            padding: 15px;
            border-radius: 5px;
            margin-top: 20px;
            font-weight: bold;
            text-align: center;
        }
		
		
/* âœ… Cadre etablissement bien dimensionnÃ© */
.room {
  flex: 1 1 calc(33.333% - 20px);
 /* max-width: calc(33.333% - 20px);*/
  background-color: #fff;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
 /* box-sizing: border-box;*/
}		
/* âœ… Images s'adaptent sans dÃ©border */
.room img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 400px; /* â¬…ï¸ Augmente ici si tu veux des images plus hautes */
  object-fit: cover; /* Pour remplir sans dÃ©former */
  border-radius: 8px;
}		
		.room-description {
			background-color: #f0f0f0;
			padding: 10px;
			margin-top: 10px;
			border-radius: 6px;
			font-size: 14px;
			color: #333;
			max-width: 250px;
			height: 50px;
			margin-left: auto;
			margin-right: auto;
		}
		.champ-nom {
			background-color: #003366;
			color: white;
			border: 1px solid #001f33;
			border-radius: 5px;
            padding: 10px;
            margin: 10px 0;
            width: 80%;
            max-width: 250px;
            font-size: 18px;
       			
		}	
		#nombreP-container,
		#heure-container-1,
		#heure-container-2 {
			display: flex;
			flex-wrap: wrap;
			gap: 10px;
			justify-content: center;
		}		
		
		
@media (max-width: 600px) {
		  .room {
			flex: 1 1 calc(50% - 20px);
			max-width: calc(50% - 20px);
		  }

	
    


}		
		
		
		
		
@media screen and (max-width: 393px) {
    body {
        padding: 0px;
		margin: 0px;
    }

    h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    form {
        padding: 1px;
        width: 98%;
        max-width: 100%;
    }

    label {
        font-size: 14px;
        margin-top: 15px;
    }

  #nombreP-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    width: 220px;  /* Fixe la largeur de la div à 220px */
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }
   
    .champ-nom {
        font-size: 17px;
        padding: 10px;
        width: 70%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .button-container .room {
        width: 100%;
        max-width: 100%;
    }

    .button-container .room img {
        width: 100%;
        height: auto;
        max-width: 100%;
		max-height: 100px;
    }

    .room-description {
        font-size: 13px;
        padding: 8px;
        height: auto;
        max-width: 100%;
    }

    .button-container button,
    button[type="submit"] {
        font-size: 14px;
        padding: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .calendar-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .horaire-section h3 {
        font-size: 16px;
        text-align: center;
    }

    .error-message {
        font-size: 13px;
        padding: 10px;
    }
	
 
    #heure-container-1,
    #heure-container-2 {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

  
    #heure-container-1,
    #heure-container-2 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        justify-items: center;
    }

    #heure-container-1 button,
    #heure-container-2 button {
        width: 100%;
        max-width: 90px;
        font-size: 14px;
        padding: 10px;
    }	
	
	
	
	    .button-container {
        padding-left: 0;
        padding-right: 0;
    }

    .room {
        flex: 1 1 calc(33.333% - 10px);
        max-width: calc(33.333% - 10px);
        margin: 0 auto;
 		box-sizing: border-box;
}	

    .room img {
        width: 100%;
        height: auto;
    }
	

.sms-wrapper {
    display: flex;         /* Utilisation du Flexbox pour aligner les Ã©lÃ©ments sur une seule ligne */
    align-items:center;   /* Aligne verticalement la checkbox et le texte */
    justify-content: flex-start; /* Aligne tout Ã  gauche */
    gap: 0;                /* Pas d'espace entre la checkbox et le texte */
    margin-top: 20px;
    font-size: 13px;
}

.sms-wrapper input[type="checkbox"] {
    margin: 0;             /* EnlÃ¨ve les marges par dÃ©faut */
    cursor: pointer;      /* Change le curseur lorsque l'on survole la checkbox */
}

.sms-wrapper label {
    margin-left: 5px;      /* Un petit espace entre la checkbox et le texte */
    font-weight: normal;

}


	
	
}
		

		
		
		
		
		

	
	