/* SAA Store — Login, Register and Reset Password only */

body.saa-auth-page .saa-checkout-hero,
body.saa-auth-page .saa-account-hero {
	display: none !important;
}

body.saa-auth-page .saa-my-account {
    width: 100% !important;
    max-width: 480px !important;
    min-height: 700px;
    margin: 0 auto !important;
    display: flex;
    align-items: center;
}

body.saa-auth-page .saa-my-account .woocommerce,
body.saa-auth-page .saa-my-account #customer_login,
body.saa-auth-page .saa-my-account .u-column1,
body.saa-auth-page .saa-my-account .u-column2 {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.saa-auth-login .saa-my-account #customer_login .u-column2,
body.saa-auth-register .saa-my-account #customer_login .u-column1 {
	display: none !important;
}

body.saa-auth-page .saa-my-account h2,
body.saa-auth-page .saa-auth-title {
	margin: 0 0 18px !important;
	color: #344346;
	font-family: "Merriweather", Sans-serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.15;
}

body.saa-auth-page .saa-my-account form.login,
body.saa-auth-page .saa-my-account form.register,
body.saa-auth-page .saa-my-account form.lost_reset_password,
body.saa-auth-page .saa-my-account form.reset_reset_password {
	box-sizing: border-box;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 26px !important;
	border: 1px solid #e5e8e6 !important;
	border-radius: 0 !important;
	background: #fff;
	box-shadow: none !important;
}

body.saa-auth-page .saa-my-account form .form-row {
	float: none !important;
	width: 100% !important;
	margin: 0 0 22px;
	padding: 0;
}

body.saa-auth-page .saa-my-account form label {
	display: block;
	margin: 0 0 10px;
	color: #465052;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
}

body.saa-auth-page .saa-my-account form input.input-text {
	box-sizing: border-box;
	width: 100%;
	height: 42px;
	padding: 8px 12px;
	border: 1px solid #e5e8e6;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
}

/* Create the diagonal stroke when the password is visible */
body.saa-auth-page .saa-my-account .show-password-input::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 21px;
	height: 2px;
	background: #00733f;
	border-radius: 2px;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) rotate(45deg);
	transition: opacity 0.15s ease;
}

/* WooCommerce adds this class after clicking the eye */
body.saa-auth-page
	.saa-my-account
	.show-password-input.display-password::before {
	opacity: 1;
}


body.saa-auth-page .saa-my-account a {
	color: #00733f;
	text-decoration: underline;
	text-underline-offset: 2px;
}
button.woocommerce-button.button.woocommerce-form-login__submit{
	margin-top: 10px !important;
}
/* Login: remember/lost-password row, then full-width button and Register. */
body.saa-auth-page .saa-my-account form.login {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	align-items: center;
}

body.saa-auth-page .saa-my-account form.login > .form-row-wide {
	grid-column: 1 / -1;
}

body.saa-auth-page .saa-my-account form.login > .form-row:not(.form-row-wide) {
	display: contents;
}

body.saa-auth-page .saa-my-account form.login .woocommerce-form-login__rememberme {
	grid-column: 1;
	grid-row: 3;
	margin: 0 0 22px;
}

body.saa-auth-page .saa-my-account form.login .woocommerce-form-login__rememberme input {
	width: 17px;
	height: 17px;
	margin: 0 7px 0 0;
	vertical-align: -3px;
	accent-color: #00733f;
}

body.saa-auth-page .saa-my-account form.login .woocommerce-form-login__submit {
	grid-column: 1 / -1;
	grid-row: 4;
}

body.saa-auth-page .saa-my-account form.login .lost_password {
	grid-column: 2;
	grid-row: 3;
	margin: 0 0 22px;
	text-align: right;
}

body.saa-auth-page .saa-my-account form.login .saa-auth-switch {
	grid-column: 1 / -1;
	grid-row: 5;
}

body.saa-auth-page .saa-my-account .saa-auth-switch {
	margin: 22px 0 0;
}

/* Registration and password-reset refinements. */
body.saa-auth-page .saa-my-account form.register button.button,
body.saa-auth-page .saa-my-account form.lost_reset_password button.button,
body.saa-auth-page .saa-my-account form.reset_reset_password button.button {
	display: block;
}

body.saa-auth-page .saa-my-account form.lost_reset_password > p:first-of-type {
	margin: 0 0 24px;
	color: #566063;
	font-size: 15px;
	line-height: 1.75;
}

body.saa-auth-page .saa-my-account form.lost_reset_password .clear {
	display: none;
}

body.saa-auth-page .saa-my-account .woocommerce-error,
body.saa-auth-page .saa-my-account .woocommerce-message,
body.saa-auth-page .saa-my-account .woocommerce-info {
	margin: 0 0 20px;
	padding: 14px 16px;
	border-top: 3px solid #00733f;
	background: #edf8f2;
	font-size: 14px;
}

@media (max-width: 1024px) {
	body.saa-auth-page .saa-my-account {
		min-height: 680px;
	}
}

@media (max-width: 767px) {
	body.saa-auth-page .saa-my-account {
		max-width: 100% !important;
		min-height: 0;
	}

	body.saa-auth-page .saa-my-account h2,
	body.saa-auth-page .saa-auth-title {
		font-size: 32px;
	}

	body.saa-auth-page .saa-my-account form.login,
	body.saa-auth-page .saa-my-account form.register,
	body.saa-auth-page .saa-my-account form.lost_reset_password,
	body.saa-auth-page .saa-my-account form.reset_reset_password {
		padding: 20px !important;
	}
}

@media (max-width: 380px) {
	body.saa-auth-page .saa-my-account form.login {
		grid-template-columns: 1fr;
	}

	body.saa-auth-page .saa-my-account form.login .woocommerce-form-login__rememberme,
	body.saa-auth-page .saa-my-account form.login .lost_password,
	body.saa-auth-page .saa-my-account form.login .woocommerce-form-login__submit,
	body.saa-auth-page .saa-my-account form.login .saa-auth-switch {
		grid-column: 1;
		grid-row: auto;
		text-align: left;
	}
}
