.password-input-wrapper {
	position: relative;
	display: block;
	width: 100%;
}

.password-input-wrapper input[type="password"],
.password-input-wrapper input[type="text"] {
	padding-right: 48px;
}

.password-visibility-toggle {
	position: absolute;
	top: 50%;
	right: 10px;
	z-index: 2;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #777;
	cursor: pointer;
	font-size: 16px;
	line-height: 34px;
	text-align: center;
	transform: translateY(-50%);
	-webkit-appearance: none;
	appearance: none;
}

.password-visibility-toggle i {
	position: static !important;
	display: inline-block;
	margin: 0;
	font-size: 16px !important;
	line-height: 1;
	color: inherit;
}

/* Keep the form's original leading icon above the input background. */
.sign-in-form label > i {
	z-index: 3;
}

.password-visibility-toggle:hover,
.password-visibility-toggle:focus {
	background: rgba(0, 0, 0, .06);
	color: #222;
	outline: none;
}

.password-visibility-toggle:focus-visible {
	box-shadow: 0 0 0 2px rgba(37, 126, 222, .45);
}
