/**
 * GRAM Peptides — Lost password page only.
 * Loaded exclusively for the WooCommerce lost-password endpoint.
 */

.gram-portal-public .gram-lost-password-form {
	width: min(100% - 32px, 640px);
	margin: 0 auto 72px;
	padding: clamp(28px, 4vw, 48px);
	border: 1px solid #dfe5ec;
	background: #fff;
	box-shadow: 0 20px 55px rgba(8, 39, 91, .08);
}

/* Elementor applies wpautop to the WooCommerce shortcode output. Suppress
 * those generated line breaks inside this form without affecting other pages. */
.gram-portal-public .gram-lost-password-form br {
	display: none;
}

.gram-portal-public .gram-lost-password-form > p:first-child {
	margin: 0;
}

.gram-portal-public .gram-lost-password-back {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 28px;
	color: #087f83;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	text-decoration: none;
}

.gram-portal-public .gram-lost-password-back span {
	font-size: 20px;
	line-height: 1;
	transition: transform .2s ease;
}

.gram-portal-public .gram-lost-password-back:is(:hover, :focus-visible) {
	color: #08275b;
}

.gram-portal-public .gram-lost-password-back:is(:hover, :focus-visible) span {
	transform: translateX(-3px);
}

.gram-portal-public .gram-lost-password-intro {
	margin-bottom: 28px;
}

.gram-portal-public .gram-lost-password-intro h2 {
	margin: 0 0 12px;
	color: #08275b;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 500;
	line-height: 1.18;
}

.gram-portal-public .gram-lost-password-intro p {
	max-width: 520px;
	margin: 0;
	color: #596477;
	font-size: 15px;
	line-height: 1.7;
}

.gram-portal-public .gram-lost-password-form .form-row-first {
	float: none;
	width: 100%;
	margin-bottom: 22px;
}

.gram-portal-public .gram-lost-password-form label {
	margin-bottom: 9px;
	color: #08275b;
	font-size: 13px;
	font-weight: 700;
}

.gram-portal-public .gram-lost-password-form input[type="email"] {
	width: 100%;
	height: 54px;
	padding: 0 16px;
	border: 1px solid #ccd6e2;
	border-radius: 0;
	background: #fbfcfd;
	color: #08275b;
	font-size: 16px;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.gram-portal-public .gram-lost-password-form input[type="email"]:focus {
	border-color: #128a8c;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(18, 138, 140, .12);
	outline: 0;
}

.gram-portal-public .gram-lost-password-submit {
	margin: 0;
}

.gram-portal-public .gram-lost-password-submit .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 210px;
	height: 52px;
	padding: 0 28px;
	border: 1px solid #08275b;
	border-radius: 0;
	background: #08275b;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.gram-portal-public .gram-lost-password-submit .button:is(:hover, :focus-visible) {
	border-color: #128a8c;
	background: #128a8c;
	color: #fff;
}

@media (max-width: 575px) {
	.gram-portal-public .gram-lost-password-form {
		width: min(100% - 24px, 640px);
		margin-bottom: 40px;
		padding: 26px 20px 28px;
	}

	.gram-portal-public .gram-lost-password-submit .button {
		width: 100%;
	}
}
