body.custom-account-popup-open {
	overflow: hidden;
	touch-action: none;
	overscroll-behavior: none;
}

/* Account page forms */

#customer_login {
	margin: 0;
}

#customer_login.u-columns,
#customer_login .u-columns {
	display: flex;
	gap: 32px;
	align-items: stretch;
	text-align: left;
}

#customer_login .u-column1,
#customer_login .u-column2 {
	float: none !important;
	width: 50% !important;
	margin: 0 !important;
}

#customer_login h2 {
	margin: 0 0 18px;
	text-align: center;
	font-size: 24px;
	line-height: 1.25;
	display: block;
}

#customer_login form.login,
#customer_login form.register {
	height: auto;
	margin: 0;
	padding: 30px;
	border: 1px solid #e5e5e5;
	background: #fff;
	box-shadow: 0 8px 28px rgba(0,0,0,.06);
}

#customer_login .form-row {
	margin-bottom: 16px;
}

#customer_login label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	line-height: 1.35;
}

#customer_login .woocommerce-Input,
#customer_login input[type="text"],
#customer_login input[type="email"],
#customer_login input[type="password"],
#customer_login input[type="number"] {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #cfcfcf;
	background: #fff;
	color: #222;
	font: inherit;
	box-sizing: border-box;
}

#customer_login .woocommerce-Input:focus,
#customer_login input[type="text"]:focus,
#customer_login input[type="email"]:focus,
#customer_login input[type="password"]:focus,
#customer_login input[type="number"]:focus {
	outline: none;
	border-color: #fac400;
	box-shadow: 0 0 0 3px rgba(250,196,0,.22);
}

#customer_login .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-weight: 400;
}

#customer_login .woocommerce-form-login__rememberme input {
	width: auto;
	min-height: auto;
	margin: 0;
}

#customer_login .woocommerce-button,
#customer_login button.button,
#customer_login input.button,
#customer_login .woocommerce-form-login__submit,
#customer_login .woocommerce-form-register__submit,
.custom-account-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	min-height: 44px;
	padding: 12px 24px;
	border: 0 !important;
	background: #fac400 !important;
	color: #000 !important;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.custom-account-btn {
	min-height: auto;
}

.custom-account-btn i {
	font-size: .95em;
	line-height: 1;
}

#customer_login .woocommerce-button:hover,
#customer_login button.button:hover,
#customer_login input.button:hover,
#customer_login .woocommerce-form-login__submit:hover,
#customer_login .woocommerce-form-register__submit:hover,
.custom-account-btn:hover,
.custom-account-btn:focus {
	background: #fac400 !important;
	color: #000 !important;
	text-decoration: none;
	opacity: .92;
}

#customer_login .lost_password {
	margin: 16px 0 0;
}

#customer_login .lost_password a {
	text-decoration: underline;
}

#customer_login .woocommerce-privacy-policy-text {
	font-size: 14px;
	line-height: 1.55;
	color: #555;
}

#customer_login .required {
	color: #b00020;
}

#customer_login .woocommerce-error,
#customer_login .woocommerce-message,
#customer_login .woocommerce-info {
	margin-bottom: 24px;
}

/* Popup */

.custom-account-popup {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity .25s ease,
		visibility .25s ease;
	font-size: 14px;
	line-height: 18px;
}

.custom-account-popup.is-mounted {
	display: flex;
}

.custom-account-popup.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.custom-account-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20,24,35,.72);
	opacity: 0;
	transition: opacity .25s ease;
}

.custom-account-popup.is-open .custom-account-popup__overlay {
	opacity: 1;
}

.custom-account-popup__dialog {
	position: relative;
	z-index: 99999;
	width: min(560px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	background: #fff;
	padding: 36px 34px 34px;
	box-shadow: 0 20px 70px rgba(0,0,0,.25);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(15px) scale(.97);
	transition:
		opacity .25s ease,
		transform .25s ease,
		visibility .25s ease;
}

.custom-account-popup.is-open .custom-account-popup__dialog {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.custom-account-popup__close {
	position: absolute;
	top: 0;
	right: 0;
	border: 0;
	background: transparent !important;
	color: #333 !important;
	font-size: 34px;
	line-height: 28px;
	cursor: pointer;
	min-height: 30px;
	padding: 0;
	height: 30px;
	width: 30px;
}

.custom-account-popup__tabs {
	display: flex;
	margin: 0 0 32px;
	background: #eee;
}

.custom-account-popup__tab {
	flex: 1;
	min-height: 52px;
	padding: 12px 16px;
	border: 0;
	background: #eee;
	color: #000;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.custom-account-popup.is-login-active .custom-account-popup__tab[data-account-tab="login"],
.custom-account-popup.is-register-active .custom-account-popup__tab[data-account-tab="register"] {
	background: #fac400;
	color: #000;
}

.custom-account-popup #customer_login {
	display: block !important;
	position: relative;
	min-height: 460px;
}

.custom-account-popup #customer_login .u-column1,
.custom-account-popup #customer_login .u-column2 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	margin: 0 !important;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity .2s ease,
		visibility .2s ease;
}

.custom-account-popup.is-login-active #customer_login .u-column1 {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.custom-account-popup.is-register-active #customer_login .u-column2 {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.custom-account-popup #customer_login h2 {
	display: none;
}

.custom-account-popup form.login,
.custom-account-popup form.register {
	box-shadow: none;
	min-height: 420px;
}

.custom-account-popup .woocommerce-notices-wrapper .woocommerce-error {
	text-align: left;
	border: 1px solid #d00;
	display: flex;
	align-items: center;
	padding: 15px;
	box-sizing: border-box;
	margin-bottom: 10px;
}

.custom-account-popup .woocommerce-notices-wrapper a {
	color: #000;
}

/* Toast */

.custom-account-toast {
	position: fixed;
	top: 24px;
	left: 50%;
	z-index: 1000000;
	min-width: 320px;
	max-width: min(90vw, 520px);
	padding: 16px 22px;
	background: #43a047;
	color: #fff;
	box-shadow: 0 10px 35px rgba(0,0,0,.2);
	font-weight: 600;
	line-height: 1.45;
	text-align: center;
	opacity: 0;
	transform: translateX(-50%) translateY(-20px);
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}

.custom-account-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* WooCommerce show / hide password */

#customer_login .password-input,
.woocommerce .password-input {
	position: relative;
	display: block;
}

#customer_login .password-input input,
.woocommerce .password-input input {
	padding-right: 50px;
	margin-bottom: 0 !important;
}

#customer_login .show-password-input,
.woocommerce .show-password-input {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	margin: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	cursor: pointer;
	opacity: .65;
	font-size: 0;
	line-height: 1;
}

#customer_login .show-password-input:hover,
.woocommerce .show-password-input:hover {
	opacity: 1;
}

#customer_login .show-password-input::before,
.woocommerce .show-password-input::before {
	content: "\f06e";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	display: block;
	font-size: 16px;
	line-height: 1;
	color: #666;
	transition: color .2s ease;
}

#customer_login .show-password-input:hover::before,
.woocommerce .show-password-input:hover::before {
	color: #fac400;
}

#customer_login .show-password-input.display-password::before,
.woocommerce .show-password-input.display-password::before {
	content: "\f070";
}

/* Mobile */

@media (max-width: 768px) {
	.woocommerce-account #customer_login.u-columns,
	.woocommerce-account #customer_login .u-columns {
		display: block;
	}

	.woocommerce-account #customer_login .u-column1,
	.woocommerce-account #customer_login .u-column2 {
		width: 100% !important;
		margin-bottom: 24px !important;
	}

	.woocommerce-account form.login,
	.woocommerce-account form.register {
		padding: 22px;
	}

	.custom-account-popup {
		align-items: center;
		justify-content: center;
		padding: 16px;
	}

	.custom-account-popup__dialog {
		width: 100%;
		max-width: 560px;
		max-height: 90vh;
		padding: 44px 18px 22px;
	}

	.custom-account-toast {
		top: 12px;
		left: 12px;
		right: 12px;
		min-width: auto;
		max-width: none;
		transform: translateY(-20px);
	}

	.custom-account-toast.is-visible {
		transform: translateY(0);
	}

	.qodef-top-bar > .qodef-vertical-align-containers {
		padding: 0;
	}
}

.qodef-page-header {
	z-index: 101;
}

.qodef-mobile-header {
	z-index: 109;
}

#custom-account-popup .woocommerce-account .woocommerce-privacy-policy-text p {
	font-size: 12px;
}

#custom-account-popup .woocommerce-account .woocommerce-privacy-policy-text {
	margin: 15px 0;
	opacity: .7;
}

/* Password indicator */

#password_strength {
	margin-top: 10px;
	padding: 10px 12px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 0;
	border: 1px solid transparent;
}

#password_strength.short,
#password_strength.bad {
	color: #d00;
	background: #fff2f2;
	border-color: #d00;
}

#password_strength.good {
	color: #8a6d00;
	background: #fff8db;
	border-color: #fac400;
}

#password_strength.strong {
	color: #0a7a2f;
	background: #eefbf2;
	border-color: #0a7a2f;
}

/* Theme tuning */

#custom-account-popup a {
	display: initial;
	padding: initial;
}

#customer_login .woocommerce-form button,
.woocommerce .woocommerce-form button {
	display: block;
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
