/*
 * BM Real Estate — Login ([bm_rlst_login])
 * ==================================================================
 * The card around the shared form look (modules/forms/assets/forms.css:
 * fields, checkbox, button, status). Only what is special here:
 * the card, the head, the 👁 inside the password field, "Να με θυμάσαι".
 * The 👁 is a <button>: its rule lists :hover / :focus and uses the
 * class twice, so a theme's button rules never repaint it (gotchas 11, 12).
 * ================================================================== */

.bm-rlst-wrap.bm-rlst-lg {
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 24px 0;
}

.bm-rlst-wrap .bm-rlst-lg__card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
	max-width: 420px;
	padding: 36px;
	border: 1px solid var(--bm-rlst-line);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 10px 40px rgba(47, 38, 38, .07);
}

/* --- Head: logo, "Σύνδεση" ------------------------------------------ */
.bm-rlst-wrap .bm-rlst-lg__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}
.bm-rlst-wrap .bm-rlst-lg__logo {
	display: block;
	width: auto;
	max-width: 160px;
	height: 72px;
	object-fit: contain;
}
.bm-rlst-wrap .bm-rlst-lg__title {
	margin: 0;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--bm-rlst-title);
}

/* --- Password + 👁 ---------------------------------------------------- */
.bm-rlst-wrap .bm-rlst-lg__pwd { position: relative; }
.bm-rlst-wrap .bm-rlst-lg .bm-rlst-lg__pwd .bm-rlst-form__control.bm-rlst-form__control,
.bm-rlst-wrap .bm-rlst-lg .bm-rlst-lg__pwd .bm-rlst-form__control.bm-rlst-form__control:focus {
	padding-right: 56px; /* room for the eye */
}
/* Edge / IE draw their own eye: one is enough. */
.bm-rlst-wrap .bm-rlst-lg__pwd input::-ms-reveal,
.bm-rlst-wrap .bm-rlst-lg__pwd input::-ms-clear { display: none; }

.bm-rlst-wrap .bm-rlst-lg__eye.bm-rlst-lg__eye,
.bm-rlst-wrap .bm-rlst-lg__eye.bm-rlst-lg__eye:hover,
.bm-rlst-wrap .bm-rlst-lg__eye.bm-rlst-lg__eye:focus {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	top: 50%;
	right: 2px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 44px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: var(--bm-rlst-muted);
	transform: translateY(-50%);
	cursor: pointer;
}
.bm-rlst-wrap .bm-rlst-lg__eye.bm-rlst-lg__eye[aria-pressed="true"] {
	background: var(--bm-rlst-soft);
	color: var(--bm-rlst-title);
}
@media (hover: hover) {
	.bm-rlst-wrap .bm-rlst-lg__eye.bm-rlst-lg__eye:hover { color: var(--bm-rlst-title); }
}
.bm-rlst-wrap .bm-rlst-lg__eye.bm-rlst-lg__eye:focus-visible {
	outline: 2px solid var(--bm-rlst-title);
	outline-offset: -2px;
}
.bm-rlst-wrap .bm-rlst-lg__ico {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.bm-rlst-wrap .bm-rlst-lg__ico[hidden] { display: none; }

/* --- "Να με θυμάσαι" -------------------------------------------------- */
.bm-rlst-wrap .bm-rlst-lg__remember {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--bm-rlst-title);
	cursor: pointer;
	user-select: none;
}

/* --- Phones: the card fills the width -------------------------------- */
@media (max-width: 480px) {
	.bm-rlst-wrap.bm-rlst-lg { padding: 12px 0; }
	.bm-rlst-wrap .bm-rlst-lg__card {
		gap: 16px;
		padding: 22px 18px 24px;
		border-radius: 20px;
	}
	.bm-rlst-wrap .bm-rlst-lg__title { font-size: 24px; }
	.bm-rlst-wrap .bm-rlst-lg__logo { height: 56px; }
}
