/* WoodMart Mobile Auth - frontend */
body.wma-auth-page{
	background: #f7f7f7;
	margin: 0 !important;
}

body.wma-auth-page .footer-container,
body.wma-auth-page footer.footer-container,
body.wma-auth-page #footer,
body.wma-auth-page .page-title{
	display: none !important;
}

body.wma-auth-page .main-page-wrapper{
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	min-height: 0 !important;
	background: #f7f7f7;
}

body.wma-auth-page .site-content{
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.wma-auth-page .woocommerce-notices-wrapper{
	max-width: 460px;
	margin: 18px auto 0;
}

/* Empty WooCommerce notice wrapper used to add phantom vertical space. */
body.wma-auth-page .woocommerce-notices-wrapper:empty{
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wma-shell,
.wma-shell *{
	box-sizing: border-box;
}

.wma-shell{
	width: 100%;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 36px 18px;
	font-family: inherit;
	color: #171717;
}

.wma-card{
	width: 100%;
	max-width: 440px;
	background: #fff;
	border: 1px solid rgba(0,0,0,.07);
	border-radius: 18px;
	padding: 30px;
	box-shadow: 0 14px 45px rgba(0,0,0,.055);
}

.wma-brand{
	text-align: center;
	margin-bottom: 24px;
}

.wma-brand-name{
	display: inline-block;
	color: #111;
	font-size: 20px;
	font-weight: 800;
	text-decoration: none;
	letter-spacing: -.2px;
}

.wma-brand p{
	margin: 7px 0 0;
	color: #777;
	font-size: 13px;
}

.wma-tabs{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
	padding: 4px;
	background: #f4f4f4;
	border-radius: 12px;
	margin-bottom: 22px;
}

.wma-tabs:has(.wma-tab:only-child){
	grid-template-columns: 1fr;
}

.wma-tab{
	border: 0 !important;
	background: transparent !important;
	color: #777 !important;
	border-radius: 9px !important;
	min-height: 42px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	box-shadow: none !important;
	padding: 8px 12px !important;
}

.wma-tab.is-active{
	background: #fff !important;
	color: #111 !important;
	box-shadow: 0 2px 9px rgba(0,0,0,.06) !important;
}

.wma-panel[hidden],
.wma-login-otp[hidden],
.wma-otp-code-row[hidden],
.wma-register-code[hidden],
.wma-resend-otp[hidden]{
	display: none !important;
}

.wma-form{
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin: 0;
}

.wma-field{
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 0;
}

.wma-field label{
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: #343434;
}

.wma-field small{
	color: #888;
	font-size: 11px;
}

.wma-field input{
	width: 100% !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1px solid #dedede !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: #171717 !important;
	font-family: inherit !important;
	font-size: 14px !important;
	line-height: 48px !important;
	box-shadow: none !important;
	outline: 0;
	direction: ltr !important;
	text-align: left !important;
	unicode-bidi: plaintext;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.wma-field input:focus{
	border-color: var(--jspanel-primary, #e63946) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--jspanel-primary, #e63946) 12%, transparent) !important;
}

.wma-field input[type="tel"],
.wma-field input[inputmode="numeric"]{
	letter-spacing: .35px;
}

.wma-password-wrap{
	position: relative;
	direction: ltr !important;
	width: 100%;
}

.wma-password-wrap input{
	padding-right: 50px !important;
	padding-left: 14px !important;
}

.wma-password-toggle{
	position: absolute !important;
	right: 7px !important;
	left: auto !important;
	top: 50% !important;
	bottom: auto !important;
	transform: translateY(-50%) !important;
	display: inline-grid !important;
	place-items: center !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: #777 !important;
	padding: 0 !important;
	line-height: 1 !important;
	cursor: pointer;
	box-shadow: none !important;
	z-index: 2;
}

.wma-password-toggle:hover,
.wma-password-toggle:focus-visible{
	background: #f3f3f3 !important;
	color: #222 !important;
	outline: none;
}

.wma-password-toggle svg{
	display: block;
	width: 20px;
	height: 20px;
	pointer-events: none;
}

.wma-password-toggle .wma-eye-closed{
	display: none;
}

.wma-password-toggle.is-visible .wma-eye-open{
	display: none;
}

.wma-password-toggle.is-visible .wma-eye-closed{
	display: block;
}

.wma-check{
	display: inline-flex;
	align-items: center;
	gap: 7px;
	width: fit-content;
	color: #666;
	font-size: 12px;
	cursor: pointer;
}

.wma-check input{
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--jspanel-primary, #e63946);
}

.wma-btn{
	width: 100%;
	min-height: 48px;
	border-radius: 10px !important;
	padding: 11px 16px !important;
	font: inherit !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	cursor: pointer;
	transition: transform .12s ease, opacity .18s ease, background .18s ease;
	box-shadow: none !important;
}

.wma-btn:active{
	transform: translateY(1px);
}

.wma-btn:disabled{
	cursor: not-allowed;
	opacity: .55;
}

.wma-btn-primary{
	border: 1px solid var(--jspanel-primary, #e63946) !important;
	background: var(--jspanel-primary, #e63946) !important;
	color: #fff !important;
}

.wma-btn-secondary{
	border: 1px solid #dedede !important;
	background: #fff !important;
	color: #222 !important;
}

.wma-btn-secondary:hover{
	background: #f8f8f8 !important;
}

.wma-link-btn{
	align-self: center;
	border: 0 !important;
	background: transparent !important;
	color: #666 !important;
	font: inherit !important;
	font-size: 12px !important;
	padding: 4px 8px !important;
	min-height: 0 !important;
	cursor: pointer;
	box-shadow: none !important;
}

.wma-or{
	display: flex;
	align-items: center;
	gap: 10px;
	color: #aaa;
	font-size: 11px;
}

.wma-or::before,
.wma-or::after{
	content: "";
	height: 1px;
	background: #ededed;
	flex: 1;
}

.wma-message{
	display: none;
	margin: 0 0 16px;
	padding: 10px 12px;
	border-radius: 9px;
	font-size: 12px;
	line-height: 1.8;
}

.wma-message.is-visible{
	display: block;
}

.wma-message.is-error{
	background: #fff3f3;
	color: #a52525;
	border: 1px solid #f3d4d4;
}

.wma-message.is-success{
	background: #f2faf4;
	color: #236d34;
	border: 1px solid #d5ecd9;
}

.wma-privacy{
	margin: 22px 0 0;
	text-align: center;
	color: #999;
	font-size: 10.5px;
	line-height: 1.9;
}

@media (max-width: 575px){
	body.wma-auth-page,
body.wma-auth-page .main-page-wrapper{
		background: #fff;
	}

	.wma-shell{
		align-items: flex-start;
		padding: 24px 16px 32px;
	}

	.wma-card{
		max-width: 100%;
		border: 0;
		border-radius: 0;
		padding: 18px 4px;
		box-shadow: none;
	}

	.wma-brand{
		margin-top: 10px;
		margin-bottom: 22px;
	}

	.wma-field input,
.wma-btn{
		min-height: 50px;
	}
}
