/* ********************* */
/* Passcode verification */
/* ********************* */
/* The message box is shown when the user clicks on the password field */
.rules {
	position: relative;
	margin-bottom: 8px;
	padding: 8px 16px 16px;
	background: #e7f2f3;
	border: 1px solid #b3ddc6;
	border-radius: 4px;
}
.rules .help{
	margin: .5rem 0;
}
.rules ul {
	padding: 0;
}
.rules .rule {
	color: var(--mfm-black);
	font-weight: 400;
}
.rules .rule b { font-weight: 600; } 

.rule::before {
	content: "";
	font-family: remixicon !important;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	position: relative;
	display: inline-block;
	background-color: var(--mfm-ocre-2);
	margin-right: .5rem;
	width: 1.125rem;
	height: 1.125rem;
	color: white;
	text-align: center;
	font-size: .875em;
	line-height: 1.125rem;
	border-radius: 999px;
	transition: .6s;
}

/* Add a green text color and a checkmark when the requirements are right */
.rule.valid { color: var(--mfm-success-800); }
.rule.valid::before { content: "\eb7a"; background-color: var(--mfm-success); }

/* Add a red text color and an "x" when the requirements are wrong */
.rule.invalid { color: var(--mfm-danger-800); }
.rule.invalid::before { content: "\eb98"; background-color: var(--mfm-danger); }


input.passcode {
	margin-top: auto;
	margin-bottom: auto;
	/* width: -moz-available;
	width: -webkit-fill-available; */
	width: auto;
}

.control-group input {
	width: 100%;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	min-height: 30px;
}

.control-group input[type="checkbox"],
.control-group input[type="radio"] {
	width: auto;
	min-height: auto;
}

.help-block {
	color : #b94a48;
}

.control-group .input-block-level input[type="radio"] {
	vertical-align: top;
}

/* Pour effacer la clé de password dans safari */
/* input::-webkit-credentials-auto-fill-button {
    visibility: hidden;
} */

.password-eye {
	/* margin-left: -20px;  */
	margin-left: 5px;
	cursor: pointer;
	opacity: 0.5;
	vertical-align: middle;
	border: .5em solid white;
	border-radius: 50%;
}

.password-eye:hover {
	opacity: 1;
}

/* Floating eye > right */
.control-group.pass { position: relative; }
.control-group.pass .password-eye { position: absolute; right: 4px; top: 2px; bottom: 2px; }
