/*
 * The reveal control beside a password field (ui/reveal.js): an eye at the end of the field, inside its border,
 * in the muted text colour until hovered. Logical sides, so it sits at the end in Arabic too.
 */
.lre-reveal-host {
	position: relative;
	display: block;
	width: 100%;
}

.lre-reveal-host > input[data-lre-reveal] {
	padding-inline-end: 2.5rem;
}

.lre-reveal {
	position: absolute;
	inset-inline-end: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border: 0;
	border-radius: 0.375rem;
	background: transparent;
	color: var(--color-base-500, #6b7280);
	cursor: pointer;
}

.lre-reveal:hover,
.lre-reveal[aria-pressed="true"] {
	color: var(--color-primary-600);
}

.lre-reveal .material-symbols-outlined {
	font-size: 1.25rem;
	line-height: 1;
}
