/**
 * RÃ¨gles de mot de passe, indicateur de robustesse, concordance (AGIRES).
 */

 .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.agires-password-rules-notice {
	margin: 0 0 1.25rem;
	padding: 1rem 1rem 1rem 1.1rem;
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-left: 4px solid #c9a227;
	background: linear-gradient(135deg, rgba(201, 162, 39, 0.08) 0%, rgba(255, 255, 255, 0.95) 50%);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.agires-password-rules-notice .agires-password-rules-title {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	color: #1d2327;
}

.agires-password-rules-notice .agires-password-rules-lead {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #2c3338;
}

.agires-password-rules-list {
	margin: 0;
	padding: 0 0 0 1.35rem;
	list-style: disc;
	color: #2c3338;
	font-size: 0.95rem;
	line-height: 1.55;
}

.agires-password-rules-list li {
	margin: 0.35rem 0;
	padding-left: 0.15rem;
}

.agires-password-rules-list li strong {
	font-weight: 600;
	color: #1d2327;
}

.agires-lostpassword-form .agires-login-field,
.agires-password-field-primary {
	margin-bottom: 0 !important;
	padding: 0 !important;
}

.agires-password-meter-block {
	margin: 5px 0px 0 0;
	padding: 0;
	background: #fff;
	text-align: center;
}

.agires-password-meter-track {
	height: 6px;
	border-radius: 0;
	background: #e8e8e8;
	overflow: hidden;
}

.agires-password-meter-fill {
	display: block;
	height: 100%;
	width: 0%;
	border-radius: 0;
	transition: width 0.2s ease, background 0.2s ease;
	background: #c3c4c7;
}

.agires-password-meter-block[data-agires-meter-level="1"] .agires-password-meter-fill {
	background: #d63638;
}

.agires-password-meter-block[data-agires-meter-level="2"] .agires-password-meter-fill {
	background: #dba617;
}

.agires-password-meter-block[data-agires-meter-level="3"] .agires-password-meter-fill {
	background: #00a32a;
}

.agires-password-meter-block[data-agires-meter-level="4"] .agires-password-meter-fill {
	background: #007017;
}

.agires-password-meter-label {
	display: block;
	margin-top: 0.45rem;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
	color: #50575e;
	min-height: 1.25em;
}

.agires-password-meter-block[data-agires-meter-level="4"] .agires-password-meter-label {
	color: #007017;
}

.agires-password-meter-checklist {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.8rem;
	line-height: 1.3;
	color: #646970;
	justify-content: center;
}

.agires-password-meter-checklist li {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
}

.agires-password-meter-checklist li::before {
	content: "";
	display: inline-block;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: #dcdcde;
	flex-shrink: 0;
}

.agires-password-meter-checklist li.agires-pw-check--ok::before {
	background: #00a32a;
}

.agires-password-match-feedback {
	margin: 5px 0 15px 0;
	min-height: 1.35em;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.4;
	background: #fff;
	padding: 0.5rem;
	text-align: center;
}

.agires-password-match-feedback.agires-password-match--ok {
	color: #007017;
}

.agires-password-match-feedback.agires-password-match--bad {
	color: #d63638;
}

.agires-password-match-feedback.agires-password-match--muted {
	color: #646970;
	font-weight: 500;
}

/* Critère non rempli : rouge */
.agires-password-meter-checklist li {
	color: #d63638;
	font-weight: 500;
}

.agires-password-meter-checklist li::before {
	background: #d63638;
}

/* Critère rempli : vert */
.agires-password-meter-checklist li.agires-pw-check--ok {
	color: #00a32a;
}

.agires-password-meter-checklist li.agires-pw-check--ok::before {
	background: #00a32a;
}

/* Champ vide : neutre, pas d'alerte prématurée */
.agires-password-meter-block[data-agires-meter-level="0"] .agires-password-meter-checklist li,
.agires-password-meter-block[data-agires-meter-level="0"] .agires-password-meter-checklist li.agires-pw-check--ok {
	color: #646970;
}

.agires-password-meter-block[data-agires-meter-level="0"] .agires-password-meter-checklist li::before {
	background: #dcdcde;
}

/* La barre ne passe au vert que si TOUS les critères sont remplis */
.agires-password-meter-block[data-agires-meter-level="3"] .agires-password-meter-fill,
.agires-password-meter-block[data-agires-meter-level="4"] .agires-password-meter-fill {
	background: #dba617;
}

.agires-password-meter-block.agires-pw-all-ok .agires-password-meter-fill {
	background: #00a32a;
}

.agires-password-meter-block.agires-pw-all-ok .agires-password-meter-label {
	color: #00a32a;
}
