/**
 * Business Explained — Checkout v2: "Lost your password?" inside the Sign in sheet
 * be-co2-lostpw-v1.css — all widths, scoped to body.be-co2
 * The sheet itself (bottom sheet on mobile, centered modal on desktop), its
 * fields and the head come from be-co2-form-v1.css / be-co2-desktop-v1.css.
 */

/* Sign in ⇄ Reset password */
body.be-co2 form.be-co2-login-sheet:not(.be-co2-lp-mode) .be-co2-lp {
	display: none !important;
}

body.be-co2 form.be-co2-login-sheet.be-co2-lp-mode:not(#be-co2-x) > :not(.be-co2-sheet-head):not(.be-co2-lp) {
	display: none !important;
}

body.be-co2 .be-co2-lp [hidden] {
	display: none !important;
}

body.be-co2 .be-co2-lp {
	text-align: left;
}

body.be-co2 .be-co2-lp__sub,
body.be-co2 .be-co2-lp__sent-text {
	margin: 0 0 16px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: #707070;
	text-align: left;
}

body.be-co2 .be-co2-lp__sent-text strong {
	font-weight: 600;
	color: #1f1f1f;
	word-break: break-word;
}

/* Error under the field */
body.be-co2 .be-co2-lp__error {
	margin: -2px 0 12px;
	font-size: 13px;
	line-height: 1.4;
	color: #d91c1c;
	text-align: left;
}

body.be-co2 .be-co2-lp__error a {
	color: inherit !important;
	font-weight: 600;
	text-decoration: underline !important;
}

body.be-co2 form.be-co2-login-sheet:not(#be-co2-x) .be-co2-lp.has-error input.be-co2-lp__input {
	border-color: #d91c1c !important;
	box-shadow: 0 0 0 0.5px #d91c1c !important;
}

/* Button — same as the sheet's "Log in" */
body.be-co2 form.be-co2-login-sheet:not(#be-co2-x) button.be-co2-lp__btn {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 55px !important;
	min-height: 0 !important;
	margin: 16px 0 0 !important;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: #145cf8 !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 17px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	cursor: pointer;
}

body.be-co2 form.be-co2-login-sheet:not(#be-co2-x) .be-co2-lp__error + button.be-co2-lp__btn,
body.be-co2 form.be-co2-login-sheet:not(#be-co2-x) .be-co2-lp__sent button.be-co2-lp__btn {
	margin-top: 0 !important;
}

body.be-co2 form.be-co2-login-sheet:not(#be-co2-x) button.be-co2-lp__btn:hover {
	background: #0f4fdc !important;
}

body.be-co2 form.be-co2-login-sheet:not(#be-co2-x) button.be-co2-lp__btn.is-loading {
	opacity: 1 !important;
	pointer-events: none;
	cursor: default;
}

body.be-co2 form.be-co2-login-sheet:not(#be-co2-x) button.be-co2-lp__btn.is-loading .be-co2-lp__btn-text {
	visibility: hidden;
}

body.be-co2 form.be-co2-login-sheet:not(#be-co2-x) button.be-co2-lp__btn.is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	box-sizing: border-box;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: be-co2-lp-spin 0.7s linear infinite;
}

@keyframes be-co2-lp-spin {
	to { transform: rotate(360deg); }
}

/* "Check your email" */
body.be-co2 .be-co2-lp__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0 0 14px;
	border-radius: 50%;
	background: #f0f6ff;
	color: #145cf8;
}

body.be-co2 .be-co2-lp__icon svg {
	display: block;
}

/* Back to sign in */
body.be-co2 .be-co2-lp__back {
	margin: 14px 0 0;
	text-align: center;
}

body.be-co2 form.be-co2-login-sheet:not(#be-co2-x) .be-co2-lp__back a {
	font-size: 14px;
	font-weight: 500;
	color: #0066ff !important;
	text-decoration: none;
}

body.be-co2 form.be-co2-login-sheet:not(#be-co2-x) .be-co2-lp__back a:hover {
	text-decoration: underline;
}
