
.password-1 {
	position: relative;
	width : 100%;
}

.password-2 {
	position: relative;
	width : 100%;
}

.toggle-password-1,
.toggle-password-2 {
    background: none;
    border: none;
    position: absolute;
    cursor: pointer;
    padding-left: 5px;
	cursor: pointer;
}

.toggle-password-1:hover ,
.toggle-password-2:hover {
	color: var(--orange);
}


.toggle-password-1 {
	top: 12px;
	right : 10px;
}

.toggle-password-2 {
	top: 19px;
	right : 10px;
}


#message.hide {
    opacity: 0;
}

#message.show {
    opacity: 1;
}

#message {
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
    width: 100%;
    z-index: 999999;
}


@media (min-width: 600px) {

	.popup-content {
		right: -20px;
	}
}

.popup-content {
    position: absolute;
    display: inline-block;
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    right: 0px;
    background-color: var(--red);
    color: white;
    z-index: 999999;
}


.popup h3 {
	margin-top: 0;
}

.popup ul {
	padding: 0;
	margin: 0;
}

.popup ul li {
	list-style: none;
	margin-bottom: 10px;
}


* {
	box-sizing: border-box;
}

.container-plus {
  position: absolute;
  top: 70px; /* ajustez cette valeur en fonction de la hauteur de la barre du haut */
  bottom: 0;
  left: 0;
  right: 0;
  overflow-y: auto; /* ajoutez une barre de défilement verticale si nécessaire */
}


h1 {
	font-weight: bold;
	margin: 0;
}

h2 {
	text-align: center;
}



span {
	font-size: 12px;
}

.form-container a {
	color: #333;
	font-size: 14px;
	text-decoration: none;
	margin: 15px 0;
}


button {
  margin-top: 30px;
  width: auto;
  height: auto;
  font-size: 17px;
  display: inline-block;
  padding: 15px;
  background-color: var(--orange);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
	transition: transform 80ms ease-in;
	cursor: pointer;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  border: none;
}

.mdp-oublie:hover {
	color :#ff2b92;
}

button:active {
	transform: scale(0.95);
}

button:focus {
	outline: none;
}

button.ghost {
	background-color: transparent;
	border-color: #FFFFFF;
}

form {
	background-color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 50px;
	height: 100%;
	text-align: center;
}


input {
	background-color: #eee;
	border: none;
	padding: 8px 15px;
	margin: 5px 0;
	width: 100%;
}

@media (max-width : 850px) {

	.container {
		background-color: #fff;
		border-radius: 10px;
		box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
		position: absolute;
		top: 0;
		left: 0;
		transform: translate(0, 0);
		width: 100%;
		height: 730px;
		margin-top: 50px;
		overflow-x: hidden;
	}

	.form-container {
		position: absolute;
		right : 0;
		top: 0;
		width: 100%;
		transition: all 0.6s ease-in-out;
	}
	
	.sign-up-container {
		top: 0;
		left: 100%;
		height : 500px;
		width : 100%;
		z-index: 2;
	}
	
	.sign-in-container {
		top: 0;
		left: 0%;
		height : 500px;
		width : 100%;
		opacity: 1;
		z-index: 1;
	}

	.overlay-container {
		position: absolute;
		top: 500px;
		left: 0;
		width: 200%;
		height: 230px;
		overflow: hidden;
		transition: transform 0.6s ease-in-out;
		z-index: 100;
	}
	
	.overlay {
		background: var(--orange);
		background: -webkit-linear-gradient(to right, var(--blue), var(--orange));
		background: linear-gradient(to right, var(--blue), var(--orange));
		background-repeat: no-repeat;
		background-size: cover;
		background-position: 0 0;
		color: #FFFFFF;
		position: relative;
		left: 0%;
		height: 100%;
		width: 100%;
	  	transform: translateX(-50%);
		transition: transform 0.6s ease-in-out;
	}

	.overlay-panel {
		position: absolute;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		padding: 0 40px;
		text-align: center;
		left: 0;
		height: 100%;
		width: 50%;
		transform: translateX(0);
		transition: transform 0.6s ease-in-out;
	}
	
	
	.overlay-left {
		transform: translateX(0%);
	}
	
	.overlay-right {
		top: 0;
		transform: translateX(100%);
	}


	.container.right-panel-active .sign-in-container {
		transform: translateX(-100%);	
	}

	.container.right-panel-active .sign-up-container {
		transform: translateX(-100%);
		opacity: 1;
		z-index: 5;
		animation: show 0.6s;
	}


	.container.right-panel-active .overlay {
		transform: translateX(0%);
	}
	
	.container.right-panel-active .overlay-right {
		transform: translateX(100%);
	}

	.container.right-panel-active .overlay-left {
		transform: translateX(0%);
	}

	p {
		font-size: 14px;
		font-weight: 100;
		line-height: 20px;
		letter-spacing: 0.5px;
		margin: 20px 0 0px;
	}
	
}










@media (min-width : 850px) {

	p {
		font-size: 14px;
		font-weight: 100;
		line-height: 20px;
		letter-spacing: 0.5px;
		margin: 20px 0 30px;
	}

	.container {
		background-color: #fff;
		border-radius: 10px;
		box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 1000px;
		height: 550px;
		max-width: 100%;
		min-height: 480px;
	}	

	.form-container {
		position: absolute;
		top: 0;
		height: 100%;
		transition: all 0.6s ease-in-out;
	}
	
	.sign-in-container {
		left: 0;
		width: 50%;
		z-index: 2;
	}
	
	.container.right-panel-active .sign-in-container {
		transform: translateX(100%);	
	}
	
	.sign-up-container {
		left: 0;
		width: 50%;
		opacity: 0;
		z-index: 1;
	}
	
	.container.right-panel-active .sign-up-container {
		transform: translateX(100%);
		opacity: 1;
		z-index: 5;
		animation: show 0.6s;
	}

	.overlay-container {
		position: absolute;
		top: 0;
		left: 50%;
		width: 50%;
		height: 100%;
		overflow: hidden;
		transition: transform 0.6s ease-in-out;
		z-index: 100;
	}
	
	.container.right-panel-active .overlay-container{
		transform: translateX(-100%);
	}
	
	.overlay {
		background: var(--orange);
		background: -webkit-linear-gradient(to right, var(--blue), var(--orange));
		background: linear-gradient(to right, var(--blue), var(--orange));
		background-repeat: no-repeat;
		background-size: cover;
		background-position: 0 0;
		color: #FFFFFF;
		position: relative;
		left: -100%;
		height: 100%;
		width: 200%;
	  	transform: translateX(0);
		transition: transform 0.6s ease-in-out;
	}
	
	.container.right-panel-active .overlay {
		  transform: translateX(50%);
	}
	
	.overlay-panel {
		position: absolute;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		padding: 0 40px;
		text-align: center;
		top: 0;
		height: 100%;
		width: 50%;
		transform: translateX(0);
		transition: transform 0.6s ease-in-out;
	}
	
	.overlay-left {
		transform: translateX(-20%);
	}
	
	.container.right-panel-active .overlay-left {
		transform: translateX(0);
	}
	
	.overlay-right {
		right: 0;
		transform: translateX(0);
	}
	
	.container.right-panel-active .overlay-right {
		transform: translateX(20%);
	}
	

}



@keyframes show {
	0%, 49.99% {
		opacity: 0;
		z-index: 1;
	}
	
	50%, 100% {
		opacity: 1;
		z-index: 5;
	}

}


.social-container {
	margin: 20px 0;
}

.social-container a {
	border: 1px solid #DDDDDD;
	border-radius: 50%;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin: 0 5px;
	height: 40px;
	width: 40px;
}




.terms-acceptance {
    display: flex;
    align-items: flex-start; /* Aligne la case à cocher avec le haut du label */
	margin-top: 10px;
}

.terms-acceptance input[type="checkbox"] {
	margin-right: 15px; /* Espacement entre la case à cocher et le texte */
    appearance: none; /* Suppression de l'apparence par défaut de la case à cocher */
    border: 1px solid #ccc; /* Bordure pour la case non cochée */
    width: 40px;  /* Ajustement pour avoir une case de taille appropriée */
    height: 20px;
    cursor: pointer;
    position: relative;
	margin-top: 0;
	padding: 0;
	box-sizing: border-box; /* S'assure que la taille de la case à cocher inclut la bordure */
}

/* Quand la case est cochée, elle aura une couleur de fond `var(--red)` */
.terms-acceptance input[type="checkbox"]:checked {
    background-color: var(--red);
    border: 1px solid var(--red);
}

.terms-acceptance label {
    cursor: pointer;
    text-align: left;
    font-size: 14px;
}

.terms-acceptance a {
    text-decoration: underline;
}
