/**
 * Guest my-account login / register — same glass as homepage header.
 * Markup in woocommerce/myaccount/form-login.php stays unchanged.
 */

.auth-pages-holder {
	background: #f4f5f6;
	font-family: iranyekan, Tahoma, sans-serif;
}

.auth-pages-holder .page-auth-login,
.auth-pages-holder .page-auth-singup {
	width: calc(100% - 32px);
	max-width: 440px;
	padding: 28px 24px 24px;
	background-color: rgba(255, 255, 255, 0.62);
	border: 1px solid rgba(48, 50, 50, 0.08);
	border-radius: 12px;
	box-shadow:
		0 10px 28px rgba(48, 50, 50, 0.04),
		inset 0 1px 0 rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(20px) saturate(140%);
	backdrop-filter: blur(20px) saturate(140%);
}

.auth-pages-holder .page-auth-login::before,
.auth-pages-holder .page-auth-singup::before {
	display: none;
}

.auth-pages-holder .page-auth-login h2,
.auth-pages-holder .page-auth-singup h2 {
	margin: 0 0 22px;
	color: #303232;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0;
}

.auth-pages-holder .auth-lead {
	margin: -12px 0 18px;
	color: #6a6f71;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.7;
	text-align: center;
}

.auth-pages-holder .page-auth-lost label {
	position: static !important;
	display: block;
	margin: 0 0 6px;
	color: #6a6f71;
	font-size: 13px;
	font-weight: 500;
}

.auth-pages-holder .page-auth-lost button.button {
	background-color: rgba(46, 184, 92, 0.92) !important;
}

.auth-pages-holder .page-auth-login h2::after,
.auth-pages-holder .page-auth-singup h2::after {
	width: 3px;
	right: -24px;
	border-radius: 3px;
	background-color: #303232;
}

.auth-pages-holder .woocommerce-form,
.auth-pages-holder form.woocommerce-form {
	margin: 0;
}

.auth-pages-holder .form-row,
.auth-pages-holder .woocommerce-form-row {
	float: none !important;
	width: 100% !important;
	margin: 0 0 14px !important;
	padding: 0;
}

.auth-pages-holder .page-auth-login label,
.auth-pages-holder .page-auth-singup label {
	position: static !important;
	right: auto;
	transform: none !important;
	z-index: auto;
	display: block;
	margin: 0 0 6px;
	color: #6a6f71;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	pointer-events: auto;
}

.auth-pages-holder label .required {
	display: none !important;
}

.auth-pages-holder .password-input {
	display: block;
	position: relative;
	width: 100%;
}

.auth-pages-holder input.input-text,
.auth-pages-holder input.woocommerce-Input,
.auth-pages-holder .page-auth-login input#username,
.auth-pages-holder .page-auth-login input#password,
.auth-pages-holder .page-auth-login input#user_login,
.auth-pages-holder .page-auth-login input#password_1,
.auth-pages-holder .page-auth-login input#password_2,
.auth-pages-holder .page-auth-singup input#reg_email,
.auth-pages-holder .page-auth-singup input#reg_password,
.auth-pages-holder .page-auth-singup input#reg_username,
.auth-pages-holder input#dig_wc_log_otp,
.auth-pages-holder input#reg_billing_otp {
	display: block;
	width: 100% !important;
	max-width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px !important;
	border: 1px solid rgba(48, 50, 50, 0.12) !important;
	border-radius: 12px !important;
	background-color: rgba(255, 255, 255, 0.78) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
	color: #303232;
	font-size: 14px;
	font-weight: 400;
	line-height: 48px;
	box-sizing: border-box;
}

.auth-pages-holder .password-input input.input-text,
.auth-pages-holder .password-input input.woocommerce-Input {
	padding-left: 44px !important;
}

.auth-pages-holder input.input-text:focus,
.auth-pages-holder input.woocommerce-Input:focus {
	outline: none;
	border-color: rgba(48, 50, 50, 0.28) !important;
	background-color: rgba(255, 255, 255, 0.94) !important;
}

.auth-pages-holder .show-password-input,
.auth-pages-holder .password-input .show-password-input {
	position: absolute;
	top: 50%;
	left: 12px;
	right: auto;
	width: 22px;
	height: 22px;
	margin: 0;
	transform: translateY(-50%);
	opacity: 0.55;
}

.auth-pages-holder .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	color: #6a6f71;
	font-size: 13px;
}

.auth-pages-holder .woocommerce-form-login__rememberme input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: #303232;
}

.auth-pages-holder .page-auth-login p.form-row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.auth-pages-holder button.button,
.auth-pages-holder button[name="register"],
.auth-pages-holder button[name="login"],
.auth-pages-holder .woocommerce-form-login__submit,
.auth-pages-holder .woocommerce-form-register__submit,
.auth-pages-holder .loginViaContainer button {
	width: 100%;
	margin: 0;
	padding: 13px 16px !important;
	overflow: hidden;
	background-color: rgba(48, 50, 50, 0.88) !important;
	border: 1px solid rgba(255, 255, 255, 0.22) !important;
	border-radius: 12px !important;
	box-shadow:
		0 10px 24px rgba(48, 50, 50, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
}

.auth-pages-holder button.button::before,
.auth-pages-holder button[name="register"]::before,
.auth-pages-holder button[name="login"]::before {
	display: none !important;
	content: none !important;
}

.auth-pages-holder .page-auth-login button[name="login"],
.auth-pages-holder .page-auth-login .woocommerce-form-login__submit,
.auth-pages-holder .page-auth-singup button[name="register"],
.auth-pages-holder .page-auth-singup .woocommerce-form-register__submit {
	background-color: rgba(46, 184, 92, 0.92) !important;
	border-color: rgba(255, 255, 255, 0.22) !important;
	box-shadow:
		0 10px 24px rgba(46, 184, 92, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.auth-pages-holder .lost_password {
	margin: 10px 0 12px;
	text-align: center;
}

.auth-pages-holder a.auth-otp-login {
	display: block;
	margin: 0 0 8px;
	cursor: pointer;
	text-decoration: none;
}

.auth-pages-holder .page-auth-login .login-last {
	display: none;
}

.auth-pages-holder .lost_password a {
	color: #6a6f71;
	font-size: 13px;
	text-decoration: none;
}

.auth-pages-holder .lost_password a:hover {
	color: #303232;
}

.auth-pages-holder .sign-category {
	margin: 8px 0 10px;
	padding: 8px 0;
	background: transparent;
	color: #6a6f71;
	font-size: 13px;
}

.auth-pages-holder .singup,
.auth-pages-holder .signup {
	margin-top: 8px;
}

.auth-pages-holder a#change-to-login,
.auth-pages-holder a#change-to-singup {
	display: block;
	cursor: pointer;
	text-decoration: none;
}

.auth-pages-holder .page-auth-login .social-media,
.auth-pages-holder .page-auth-singup .social-media {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	border-radius: 12px;
	-webkit-backdrop-filter: blur(12px) saturate(140%);
	backdrop-filter: blur(12px) saturate(140%);
}

.auth-pages-holder .page-auth-singup .social-media.fb-media {
	background-color: rgba(255, 255, 255, 0.82) !important;
	border: 1px solid rgba(48, 50, 50, 0.14);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
	color: #303232;
}

.auth-pages-holder .social-media svg,
.auth-pages-holder .page-auth-login .social-media svg,
.auth-pages-holder .page-auth-singup .social-media svg {
	width: 18px;
	height: 18px;
	margin: 0 0 0 8px;
	color: currentColor;
	fill: currentColor;
}

.auth-pages-holder .social-media h6,
.auth-pages-holder .page-auth-login .social-media h6,
.auth-pages-holder .page-auth-singup .social-media h6 {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
}

.auth-pages-holder .page-auth-singup .social-media.fb-media svg,
.auth-pages-holder .page-auth-singup .social-media.fb-media h6 {
	color: #303232 !important;
	fill: #303232;
}

.auth-pages-holder .page-auth-login .social-media.otp-media {
	background-color: rgba(48, 50, 50, 0.88) !important;
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow:
		0 8px 20px rgba(48, 50, 50, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

.auth-pages-holder .page-auth-login .social-media.otp-media h6 {
	color: #ffffff !important;
}

.auth-pages-holder .page-auth-login .social-media.fb-media {
	background-color: rgba(255, 59, 48, 0.92) !important;
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow:
		0 10px 24px rgba(255, 59, 48, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
	color: #ffffff;
}

.auth-pages-holder .page-auth-login .social-media.fb-media svg,
.auth-pages-holder .page-auth-login .social-media.fb-media h6 {
	color: #ffffff !important;
	fill: #ffffff;
}

.auth-pages-holder p.login-last {
	float: none !important;
	width: 100%;
	margin: 12px 0 0;
	color: #8a9093;
	font-size: 12px;
	line-height: 1.7;
	text-align: center;
}

.auth-pages-holder .back-to-home {
	margin-top: 18px;
}

.auth-pages-holder .back-to-home a {
	padding: 10px 16px;
	background-color: rgba(48, 50, 50, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 12px;
	box-shadow:
		0 8px 20px rgba(48, 50, 50, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	-webkit-backdrop-filter: blur(12px) saturate(140%);
	backdrop-filter: blur(12px) saturate(140%);
	color: #ffffff;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

.auth-pages-holder .woocommerce-notices-wrapper,
.auth-pages-holder .woocommerce-error,
.auth-pages-holder .woocommerce-message,
.auth-pages-holder .woocommerce-info {
	margin-bottom: 16px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid rgba(48, 50, 50, 0.08);
	background: rgba(255, 255, 255, 0.8);
	font-size: 13px;
}

@media (max-width: 575px) {
	.auth-pages-holder .page-auth-login,
	.auth-pages-holder .page-auth-singup {
		width: calc(100% - 24px);
		padding: 22px 16px 18px;
	}

	.auth-pages-holder .page-auth-login h2,
	.auth-pages-holder .page-auth-singup h2 {
		font-size: 16px;
	}

	.auth-pages-holder .page-auth-login h2::after,
	.auth-pages-holder .page-auth-singup h2::after {
		right: -16px;
	}
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.auth-pages-holder .page-auth-login,
	.auth-pages-holder .page-auth-singup {
		background-color: #ffffff;
	}
}
