/* mot de passe  */
.keyboard {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.custom-btn {
	background-color: #831717;
	color: white;
	width: 50px;
}

/*//////////////////////////////////////////////////////////////////
[ FONT ]*/

@font-face {
	font-family: Poppins-Regular;
	src: url("https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap");
}

@font-face {
	font-family: Poppins-Medium;
	src: url("https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap");
}

@font-face {
	font-family: Poppins-Bold;
	src: url("https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap");
}

@font-face {
	font-family: Poppins-SemiBold;
	src: url("https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap");
}

/*//////////////////////////////////////////////////////////////////
[ RESTYLE TAG ]*/

* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}

body,
html {
	height: 100%;
	font-family: Poppins-Regular, sans-serif;
}

/*---------------------------------------------*/
a {
	font-family: Poppins-Regular;
	/* font-size: 14px; */
	line-height: 1.7;
	color: #666666;
	margin: 0px;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	-moz-transition: all 0.4s;
}

a:focus {
	outline: none !important;
}

a:hover {
	text-decoration: none;
	color: #6a7dfe;
	color: -webkit-linear-gradient(left, #21d4fd, #b721ff);
	color: -o-linear-gradient(left, #21d4fd, #b721ff);
	color: -moz-linear-gradient(left, #21d4fd, #b721ff);
	color: linear-gradient(left, #21d4fd, #b721ff);
}

/*---------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0px;
}

p {
	font-family: Poppins-Regular;
	font-size: 14px;
	line-height: 1.7;
	color: #666666;
	margin: 0px;
}

ul,
li {
	margin: 0px;
	list-style-type: none;
}

/*---------------------------------------------*/
input {
	outline: none;
	border: none;
}

textarea {
	outline: none;
	border: none;
}

textarea:focus,
input:focus {
	border-color: transparent !important;
}

input:focus::-webkit-input-placeholder {
	color: transparent;
}

input:focus:-moz-placeholder {
	color: transparent;
}

input:focus::-moz-placeholder {
	color: transparent;
}

input:focus:-ms-input-placeholder {
	color: transparent;
}

textarea:focus::-webkit-input-placeholder {
	color: transparent;
}

textarea:focus:-moz-placeholder {
	color: transparent;
}

textarea:focus::-moz-placeholder {
	color: transparent;
}

textarea:focus:-ms-input-placeholder {
	color: transparent;
}

input::-webkit-input-placeholder {
	color: #adadad;
}

input:-moz-placeholder {
	color: #adadad;
}

input::-moz-placeholder {
	color: #adadad;
}

input:-ms-input-placeholder {
	color: #adadad;
}

textarea::-webkit-input-placeholder {
	color: #adadad;
}

textarea:-moz-placeholder {
	color: #adadad;
}

textarea::-moz-placeholder {
	color: #adadad;
}

textarea:-ms-input-placeholder {
	color: #adadad;
}

/*---------------------------------------------*/
button {
	outline: none !important;
	border: none;
	background: transparent;
}

button:hover {
	cursor: pointer;
}

/*//////////////////////////////////////////////////////////////////
[ login ]*/

.container-login100 {
	width: 100%;
	height: 80vh;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 15px;
}

.wrap-login100 {
	width: 450px;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	padding: 77px 55px 33px 55px;

	box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
	-o-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
	-ms-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
}

/* Input fields and buttons */
.input100 {
	width: 100%;
	border-radius: 4px;
}

.row {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-bottom: 10px;
}

.btn.custom-btn {
	flex: 1;
	margin: 5px;
	padding: 10px;
	font-size: 16px;
	max-width: 70px;
}

p {
	text-align: center;
	font-size: 16px;
}

/* Media Queries for smaller screens */
@media (max-width: 768px) {
	.wrap-login100 {
		padding: 10px;
	}

	.btn.custom-btn {
		margin: 2px;
		padding: 8px;
		font-size: 14px;
		max-width: 60px;
	}

	p {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.row {
		flex-wrap: wrap;
	}

	.btn.custom-btn {
		margin: 1px;
		padding: 6px;
		font-size: 12px;
		max-width: 50px;
	}

	p {
		font-size: 12px;
	}
}

/*------------------------------------------------------------------
[ Form ]*/

.input-data {
	height: 40px;
	width: 100%;
	position: relative;
}

.input-data input {
	height: 100%;
	width: calc(100% - 40px);
	border: none;
	font-size: 17px;
	border-bottom: 2px solid silver;
}

.wrap-input100 input:focus ~ label,
.wrap-input100 input:valid ~ label {
	transform: translateY(-20px);
	font-size: 15px;
	color: #831717;
}

.wrap-input100 label {
	position: absolute;
	bottom: 10px;
	left: 0;
	color: grey;
	pointer-events: none;
	transition: all 0.3s ease;
}

.wrap-input100 .underline {
	position: absolute;
	height: 2px;
	width: 100%;
	bottom: 0;
}

.wrap-input100 .underline:before {
	position: absolute;
	content: "";
	height: 100%;
	width: 100%;
	background: #831717;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease;
}

.wrap-input100 input:focus ~ .underline:before,
.wrap-input100 input:valid ~ .underline:before {
	transform: scaleX(1);
}

/* style delete left icon */
.btn-delete {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	cursor: pointer;
}

.input-data {
	height: 100%;
	width: 100%;
	border: none;
	border-bottom: 2px solid silver;
}

.login100-form {
	width: 100%;
}

.login100-form-title {
	display: block;
	font-family: Poppins-Bold;
	font-size: 30px;
	color: #333333;
	line-height: 1.2;
	text-align: center;
}

/*------------------------------------------------------------------
[ Button ]*/
.container-login100-form-btn {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-top: 13px;
}

.wrap-login100-form-btn:hover .login100-form-bgbtn {
	left: 0;
}

/*------------------------------------------------------------------
[ Responsive ]*/

@media (max-width: 576px) {
	.wrap-login100 {
		padding: 77px 15px 33px 15px;
	}
}

/*------------------------------------------------------------------
[ Alert validate ]*/

.validate-input {
	position: relative;
	margin-top: 15px;
}

/* animate the rectangle describing the sand toward the bottom */
#sand {
	animation: moveSand 10s ease-in-out infinite;
}

/* by repeating the animation from the original values, the idea is to give the illusion of a constant rotation clockwise */
@keyframes rotateHourglass {
	/* 95% to fill the hourglass, 5% to rotate the shape around its center  */
	95% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(180deg);
	}
}

@keyframes moveSand {
	95%,
	100% {
		transform: translateY(300px);
	}
}

/* Page de creation de compte  */

.label {
	width: 20%;
	padding: 4px;
}

.value {
	width: 80%;
	padding: 4px;
}

.grid {
	width: 100%;
}

.error {
	color: red;
}

.outputLabel {
	font-weight: bold;
}

.grid {
	width: 33%;
	padding: 4px;
}

/* ------------------------------------growl------------------------------------------------------------ */

/* Ajustement général pour ui-growl */
@media (min-width: 769px) {
	.ui-growl {
		left: 50%;
		/* Positionnement au centre */
		transform: translateX(-50%);
		/* Centrage horizontal */
		max-width: 100%;
		/* Largeur maximale */
		width: auto !important;
		/* Réinitialisation de la largeur */
		display: flex;
		justify-content: center;
		align-items: center;

		z-index: 99999999999999 !important;
	}
}

/* Ajustement pour les petits écrans */
@media (max-width: 768px) {
	.ui-growl {
		margin: 0 auto;
		/* Centrage horizontal */
		z-index: 99999999999999 !important;
	}
}

.ui-steps-title {
	display: block;
	text-align: center;
	white-space: normal;
	word-wrap: break-word;
	max-width: 180px;
	margin: auto;
}
.ui-steps-item {
	padding-inline: 7px;
}
@media screen and (max-width: 450px) {
	.ui-steps {
		overflow-x: auto;
		display: flex;
		flex-wrap: nowrap;
		max-width: 100%;
	}

	.ui-steps ul {
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-between;
		width: 100%;
		padding: 0;
	}

	.ui-steps-item {
		flex: 1;
		text-align: center;
		white-space: nowrap;
		padding-inline: 7px;
	}

	/* Ajustement du texte sous les étapes */
	.ui-steps-item .ui-menuitem-text {
		font-size: 12px; /* Réduit la taille */
		display: block;
		white-space: normal; /* Permet un retour à la ligne */
		word-wrap: break-word; /* Coupe si trop long */
		max-width: 100px; /* Empêche un texte trop large */
		margin: auto;
	}
}
