/**
 * El Mirador auth widgets – Login & Reset password.
 * Brand: gold #D59F54, dark #1A242F, Nunito.
 */

.hefa-auth {
	--hefa-accent: #D59F54;
	--hefa-dark: #1A242F;
	--hefa-grey: #747474;
	--hefa-border: #E8E8E8;
	--hefa-bg: #F6F6F6;
	max-width: 460px;
	margin: 0 auto;
	font-family: "Nunito", sans-serif;
	color: var(--hefa-dark);
	text-align: left;
}

.hefa-auth__heading {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 1.25rem;
	color: var(--hefa-dark);
	text-align: center;
}

.hefa-auth__text {
	margin: 0 0 1.25rem;
	color: var(--hefa-grey);
	line-height: 1.5;
}

.hefa-auth__form {
	display: block;
}

.hefa-auth__row {
	margin: 0 0 1.5rem;
}

.hefa-auth__label {
	display: block;
	margin-bottom: 0.4rem;
	font-weight: 600;
	font-size: 0.95rem;
	text-align: left;
}

.hefa-auth__input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--hefa-border);
	border-radius: 6px;
	background: #fff;
	font-size: 1rem;
	font-family: inherit;
	color: var(--hefa-dark);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hefa-auth__input:focus {
	outline: none;
	border-color: var(--hefa-accent);
	box-shadow: 0 0 0 3px rgba( 213, 159, 84, 0.15 );
}

/* Password field with eye toggle */
.hefa-auth__password {
	position: relative;
	display: block;
}

.hefa-auth__password .hefa-auth__input {
	padding-right: 2.75rem;
}

.hefa-auth .hefa-auth__toggle,
.hefa-auth .hefa-auth__toggle:hover,
.hefa-auth .hefa-auth__toggle:focus,
.hefa-auth .hefa-auth__toggle:active {
	position: absolute;
	top: 50%;
	right: 0.75rem;
	transform: translateY( -50% );
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	filter: none !important;
	cursor: pointer;
	color: #202020 !important;
}

.hefa-auth__eye {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.hefa-auth__eye--hide {
	display: none;
}

.hefa-auth__password.is-visible .hefa-auth__eye--show {
	display: none;
}

.hefa-auth__password.is-visible .hefa-auth__eye--hide {
	display: inline-block;
}

/* Meta row: remember + lost link */
.hefa-auth__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0 0 1.25rem;
}

.hefa-auth__remember {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9rem;
	color: var(--hefa-grey);
	cursor: pointer;
	margin: 0;
}

.hefa-auth__remember input {
	margin: 0;
}

/* Links */
.hefa-auth__link {
	color: var(--hefa-accent);
	font-size: 0.9rem;
	text-decoration: none;
	font-weight: 600;
}

.hefa-auth__link:hover {
	text-decoration: underline;
}

/* Submit button */
.hefa-auth__submit-row {
	margin: 0 0 1rem;
}

.hefa-auth__submit {
	width: 100%;
	padding: 0.85rem 1.25rem;
	border: 0;
	border-radius: 6px;
	background-color: var(--hefa-accent);
	color: #fff;
	font-size: 1.05rem;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: filter 0.15s ease;
}

.hefa-auth__submit:hover {
	filter: brightness( 0.93 );
}

.hefa-auth__privacy {
	margin: 0;
	font-size: 0.82rem;
	color: var(--hefa-grey);
}

.hefa-auth__back {
	margin: 1.25rem 0 0;
	text-align: center;
}

/* Messages */
.hefa-auth__message {
	padding: 0.8rem 1rem;
	border-radius: 6px;
	margin: 0 0 1.25rem;
	font-size: 0.95rem;
	line-height: 1.45;
}

.hefa-auth__message--error {
	background: #fdecea;
	border: 1px solid #dd4622;
	color: #a3301a;
}

.hefa-auth__message--success {
	background: #edf7ea;
	border: 1px solid #57a046;
	color: #357026;
}

/* Logged-in notice */
.hefa-auth__notice {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
}
