/* 
	Formulaire set-password 
*/


/* Conteneur du formulaire */
.set-password-wrapper {
	max-width: 580px;
	margin: 2rem auto;
	padding: 25px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 6px 20px rgba(0,0,0, 0.1);
	font-family: sans-serif;
}

/* titre */
.set-password-wrapper h4 {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.5rem;
	color: rgb(34, 81, 154); 
}

/* champs input */
#set-password-form input[type="password"],
#set-password-form input[type="text"] {
	width: 100%;
	padding: 10px 12px;
	margin-top: 4px;
	margin-bottom: 0.5rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
	font-size: 1rem;
}

/* labels */
#set-password-form label {
	font-weight: 600;
	display: block;
	margin-bottom: 0.2rem;
}

/* boutons généraux */
#set-password-form button {
	background-color: #224d9a;
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: 30px;
	cursor: pointer;
	font-size: 1rem;
	transition: background 0.3s;
	margin-top: 0.5rem;
}

#set-password-form button:hover {
	background-color: #193d7a;
}

/* bouton Show / Hide */
#set-password-form #toggle-pass {
	background-color: #aaa;
	color: #fff;
	border-radius: 20px;
	padding: 5px 10px;
	font-size: 0.9rem;
	margin-left: 0.5rem;
}

/* message erreurs / succès */
#set-password-message {
	margin-top: 1rem;
	font-weight: 600;
}

#set-password-message p {
	margin: 0.3rem 0;
}

/* barre de force mot de passe */
#password-strength-bar {
	width: 100%;
	height: 8px;
	background: #eee;
	border-radius: 4px;
	margin: 1rem 0;
	overflow: hidden;
}

#password-strength-fill {
	width: 0%;
	height: 100%;
	border-radius: 4px;
	transition: width 0.3s ease, background-color 0.3s ease;
}

/* label force mot de passe */
#password-strength {
	margin-bottom: 0.5rem;
	font-weight: bold;
	font-size: 0.95rem;
	color: #444;
}

/* ajustements padding avant barre */
p.new-pass {
	padding-bottom: 0;
}


p.login-error {
	color: red;
	border: 2px solid red;
	padding: 10px;
	margin: 20px 0;
}