/**
 * WooCommerce "show password" toggle.
 * Basel does not load woocommerce.css, so the toggle button injected by
 * woocommerce.js rendered as an empty grey box. Icons use Font Awesome 4.7,
 * which the theme already loads.
 */
.woocommerce form .password-input {
	position: relative;
	display: block;
}

.woocommerce form .password-input input.input-text {
	padding-inline-end: 44px;
}

.woocommerce form .password-input .show-password-input {
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-width: 0;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #777;
	line-height: 1;
	cursor: pointer;
}

.woocommerce form .password-input .show-password-input::before {
	font-family: FontAwesome;
	font-size: 16px;
	content: "\f06e";
}

.woocommerce form .password-input .show-password-input.display-password::before {
	content: "\f070";
}

.woocommerce form .password-input .show-password-input:hover,
.woocommerce form .password-input .show-password-input:focus {
	background: transparent;
	color: #333;
}

.woocommerce form .password-input .show-password-input:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -6px;
}
