/* Parino Public Auth — v0.9.68
 * Professional RTL login/register experience.
 */

body.parino-public-auth-page {
	--pn-auth-navy: #1A365D;
	--pn-auth-navy-dark: #10233F;
	--pn-auth-orange: #FF6B35;
	--pn-auth-text: #5E7084;
	--pn-auth-muted: #8190A0;
	--pn-auth-border: #DDE6EF;
	--pn-auth-field: #F7F9FC;
	--pn-auth-danger: #B42318;
	--pn-auth-shadow: 0 18px 55px rgba(26,54,93,.09);
	background: #F8FAFC;
}

/* Remove legacy title/breadcrumb chrome on logged-out account auth only. */
body.parino-public-auth-page .page-title,
body.parino-public-auth-page .page_title,
body.parino-public-auth-page .stm_page_bc,
body.parino-public-auth-page .stm_lms_breadcrumbs,
body.parino-public-auth-page .woocommerce-breadcrumb,
body.parino-public-auth-page .breadcrumbs,
body.parino-public-auth-page .entry-title {
	display: none !important;
}

body.parino-public-auth-page .site-content,
body.parino-public-auth-page .content-area,
body.parino-public-auth-page main,
body.parino-public-auth-page .woocommerce {
	overflow: visible;
}

body.parino-public-auth-page .woocommerce {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	direction: rtl !important;
	text-align: right !important;
}

/* Woo notices remain native but visually integrated. */
body.parino-public-auth-page .woocommerce-notices-wrapper {
	width: min(980px, calc(100% - 40px));
	margin: 24px auto 0;
}

body.parino-public-auth-page .woocommerce-error,
body.parino-public-auth-page .woocommerce-message,
body.parino-public-auth-page .woocommerce-info {
	margin: 0 !important;
	padding: 14px 18px !important;
	border: 1px solid #F0D4CF !important;
	border-radius: 12px !important;
	background: #FFF9F7 !important;
	color: var(--pn-auth-navy-dark) !important;
	box-shadow: none !important;
	font-size: 13px !important;
	line-height: 1.9 !important;
	text-align: right !important;
}

/* ==========================================================================
 * Main shell
 * Primary form sits on the RIGHT for Persian RTL reading flow.
 * ========================================================================== */
.parino-auth-shell {
	display: grid;
	grid-template-columns: minmax(330px, .88fr) minmax(420px, 1.12fr);
	width: min(980px, calc(100% - 40px));
	margin: 34px auto 56px;
	overflow: hidden;
	border: 1px solid var(--pn-auth-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: var(--pn-auth-shadow);
	direction: ltr;
}

.parino-auth-brand,
.parino-auth-main {
	direction: rtl;
	text-align: right;
}

/* Information panel — clean, no decorative circles. */
.parino-auth-brand {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 42px 38px;
	overflow: hidden;
	border-right: 1px solid #E5EBF1;
	background: linear-gradient(180deg, #F8FAFD 0%, #F3F6FA 100%);
}

.parino-auth-brand::before {
	content: "";
	position: absolute;
	top: -56px;
	left: 28px;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	background: rgba(255, 107, 53, .10);
	pointer-events: none;
}

.parino-auth-brand > * {
	position: relative;
	z-index: 1;
}

.parino-auth-brand-head {
	padding-top: 8px;
	padding-bottom: 24px;
	border-bottom: 1px solid #DFE7EF;
}


.parino-auth-brand h1,
.parino-auth-mobile-heading h1 {
	margin: 0 !important;
	color: var(--pn-auth-navy) !important;
	font-size: 30px !important;
	font-weight: 800 !important;
	line-height: 1.55 !important;
	letter-spacing: -.25px;
}

.parino-auth-brand-head > p,
.parino-auth-mobile-heading > p {
	margin: 12px 0 0 !important;
	color: var(--pn-auth-text);
	font-size: 13px;
	line-height: 2;
}

.parino-auth-benefits {
	display: grid;
	gap: 10px;
	margin: 24px 0 0;
}

.parino-auth-benefits > div {
	display: grid;
	grid-template-columns: 40px 1fr;
	align-items: center;
	gap: 11px;
	min-height: 58px;
	padding: 9px 12px;
	border: 1px solid #E1E8EF;
	border-radius: 12px;
	background: rgba(255,255,255,.72);
}

.parino-auth-benefit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #FFF0EA;
	color: var(--pn-auth-orange);
}

.parino-auth-benefit-icon svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.parino-auth-benefits strong {
	display: block;
	margin: 0 0 2px;
	color: var(--pn-auth-navy);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}


.parino-auth-instructor-note {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 5px;
	margin: 22px 0 0 !important;
	padding: 16px 0 0;
	border-top: 1px solid #DFE7EF;
	color: #718295;
	line-height: 1.8;
}

.parino-auth-instructor-note strong {
	color: #52667B;
	font-size: 11px;
	font-weight: 700;
}

.parino-auth-instructor-note span {
	color: #7B8B9B;
	font-size: 11px;
}

/* Primary auth/form panel */
.parino-auth-main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 42px 46px;
	background: #fff;
}

.parino-auth-mobile-heading {
	display: none;
}

.parino-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px;
	width: 100%;
	margin: 0 0 12px;
	padding: 5px;
	border-radius: 13px;
	background: #F1F4F7;
	box-sizing: border-box;
}

.parino-auth-tab {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 43px !important;
	margin: 0 !important;
	padding: 8px 14px !important;
	border: 0 !important;
	border-radius: 9px !important;
	background: transparent !important;
	color: #66788C !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	cursor: pointer;
}

.parino-auth-tab.is-active {
	background: #fff !important;
	color: var(--pn-auth-navy) !important;
	box-shadow: 0 3px 11px rgba(26,54,93,.08) !important;
}


/* ==========================================================================
 * WooCommerce structure hardening.
 * Theme styles must NOT be allowed to shrink form/panels/rows.
 * ========================================================================== */
body.parino-public-auth-page #customer_login,
body.parino-public-auth-page #customer_login .parino-auth-panel,
body.parino-public-auth-page #customer_login .u-column1,
body.parino-public-auth-page #customer_login .u-column2,
body.parino-public-auth-page #customer_login .col-1,
body.parino-public-auth-page #customer_login .col-2 {
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

body.parino-public-auth-page #customer_login {
	display: block !important;
}

/* JS applies inline !important display to the actual form panels.
 * These are safe fallbacks for normal Woo markup. */
body.parino-public-auth-page #customer_login > .u-column2 {
	display: none !important;
}

body.parino-public-auth-page #customer_login.parino-auth-register-active > .u-column1 {
	display: none !important;
}

body.parino-public-auth-page #customer_login.parino-auth-register-active > .u-column2 {
	display: block !important;
}

body.parino-public-auth-page #customer_login h2 {
	margin: 0 0 6px !important;
	color: var(--pn-auth-navy) !important;
	font-size: 23px !important;
	font-weight: 800 !important;
	line-height: 1.5 !important;
	text-align: right !important;
}


body.parino-public-auth-page form.woocommerce-form,
body.parino-public-auth-page form.woocommerce-form-login,
body.parino-public-auth-page form.woocommerce-form-register {
	display: block !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	direction: rtl !important;
	text-align: right !important;
}

body.parino-public-auth-page .woocommerce-form-row,
body.parino-public-auth-page .form-row,
body.parino-public-auth-page form.woocommerce-form p.form-row {
	display: block !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	text-align: right !important;
}

body.parino-public-auth-page label {
	display: block !important;
	float: none !important;
	width: 100% !important;
	margin: 0 0 7px !important;
	color: #40546A !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.7 !important;
	text-align: right !important;
	direction: rtl !important;
}

body.parino-public-auth-page .required {
	color: var(--pn-auth-danger) !important;
}

/* Full-width fields. Visual layout is RTL.
 * Email/phone VALUES remain LTR for correct data entry/readability. */
body.parino-public-auth-page input.input-text,
body.parino-public-auth-page input[type="text"],
body.parino-public-auth-page input[type="email"],
body.parino-public-auth-page input[type="password"],
body.parino-public-auth-page input[type="tel"] {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 11px 13px !important;
	border: 1px solid #D5E0E9 !important;
	border-radius: 10px !important;
	outline: 0 !important;
	background: var(--pn-auth-field) !important;
	color: var(--pn-auth-navy-dark) !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 13px !important;
	line-height: 24px !important;
	box-sizing: border-box !important;
	text-align: right !important;
	direction: rtl !important;
	transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

body.parino-public-auth-page input[type="email"],
body.parino-public-auth-page input[type="tel"] {
	direction: ltr !important;
	text-align: left !important;
	font-variant-numeric: tabular-nums;
}

body.parino-public-auth-page input:focus {
	border-color: #8FA6BC !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(26,54,93,.06) !important;
}

/* Name fields share one row on Desktop and full-width individually on Mobile. */
.parino-register-name-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 12px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

.parino-register-name-grid > .form-row {
	width: 100% !important;
	margin-bottom: 16px !important;
}

/* Password control: keep WooCommerce native toggle, reposition it cleanly. */
body.parino-public-auth-page .password-input {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

body.parino-public-auth-page .password-input input {
	padding-left: 48px !important;
}

body.parino-public-auth-page .password-input .show-password-input {
	position: absolute !important;
	top: 50% !important;
	left: 10px !important;
	right: auto !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 30px !important;
	height: 30px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 8px !important;
	transform: translateY(-50%) !important;
	background: transparent !important;
	color: #6F8295 !important;
	box-shadow: none !important;
	cursor: pointer !important;
	z-index: 4 !important;
}

body.parino-public-auth-page .password-input .show-password-input:hover {
	background: #EDF2F6 !important;
	color: var(--pn-auth-navy) !important;
}

body.parino-public-auth-page .password-input .show-password-input::after {
	font-size: 16px !important;
	line-height: 1 !important;
}


/* Remember-me row */
body.parino-public-auth-page .woocommerce-form-login__rememberme {
	display: inline-flex !important;
	align-items: center !important;
	width: auto !important;
	gap: 7px;
	margin: 0 !important;
	color: #687A8D !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	cursor: pointer;
}

body.parino-public-auth-page input[type="checkbox"] {
	width: 15px !important;
	height: 15px !important;
	margin: 0 !important;
	accent-color: var(--pn-auth-navy);
}


.parino-auth-login-meta {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	margin: 2px 0 12px;
}

.parino-auth-login-meta .woocommerce-form-login__rememberme {
	margin: 0 !important;
}

.parino-auth-forgot-row {
	display: block;
	width: 100%;
	margin: 12px 0 0;
	text-align: center;
}

.parino-auth-forgot-row .woocommerce-LostPassword {
	margin: 0 !important;
	text-align: center !important;
}

.parino-auth-forgot-row .woocommerce-LostPassword a {
	display: inline-block;
	white-space: nowrap;
}

/* Primary actions */
body.parino-public-auth-page form.woocommerce-form button.button,
body.parino-public-auth-page form.woocommerce-form .woocommerce-button.button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 48px !important;
	margin: 3px 0 0 !important;
	padding: 10px 18px !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: var(--pn-auth-navy) !important;
	color: #fff !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	text-align: center !important;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}

body.parino-public-auth-page form.woocommerce-form button.button:hover,
body.parino-public-auth-page form.woocommerce-form .woocommerce-button.button:hover {
	background: #142F52 !important;
	transform: translateY(-1px);
}

/* Lost password / privacy / password strength */
body.parino-public-auth-page .woocommerce-LostPassword {
	margin: 14px 0 0 !important;
	text-align: center !important;
}

body.parino-public-auth-page .woocommerce-LostPassword a,
.parino-auth-help a {
	color: var(--pn-auth-navy) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

body.parino-public-auth-page .woocommerce-LostPassword a:hover,
.parino-auth-help a:hover {
	color: var(--pn-auth-orange) !important;
}

body.parino-public-auth-page .woocommerce-privacy-policy-text {
	margin: 5px 0 16px !important;
	color: #6F8091 !important;
	font-size: 11px !important;
	line-height: 1.9 !important;
	text-align: right !important;
}

body.parino-public-auth-page .woocommerce-privacy-policy-text a {
	color: var(--pn-auth-navy) !important;
}

body.parino-public-auth-page .woocommerce-password-strength {
	margin-top: 7px !important;
	padding: 6px 9px !important;
	border-radius: 7px !important;
	font-size: 10px !important;
	line-height: 1.6 !important;
	text-align: right !important;
}

.parino-auth-help {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #E8EDF2;
	color: #8997A5;
	font-size: 11px;
}

/* Lost-password/reset pages stay native but visually coherent. */
body.parino-public-auth-page .woocommerce > .woocommerce-ResetPassword,
body.parino-public-auth-page .woocommerce > form.lost_reset_password {
	width: min(520px, calc(100% - 40px)) !important;
	margin: 42px auto 58px !important;
	padding: 30px !important;
	border: 1px solid var(--pn-auth-border) !important;
	border-radius: 18px !important;
	background: #fff !important;
	box-shadow: var(--pn-auth-shadow) !important;
	text-align: right !important;
	direction: rtl !important;
	box-sizing: border-box !important;
}

/* ==========================================================================
 * Responsive
 * ========================================================================== */

/* v0.9.61 — Login must use the same available width as Register. */
body.parino-public-auth-page #customer_login .parino-auth-panel[data-parino-auth-panel="login"],
body.parino-public-auth-page #customer_login .parino-auth-panel[data-parino-auth-panel="login"] form,
body.parino-public-auth-page #customer_login .parino-auth-panel[data-parino-auth-panel="login"] form > p,
body.parino-public-auth-page #customer_login .parino-auth-panel[data-parino-auth-panel="login"] .form-row,
body.parino-public-auth-page #customer_login .parino-auth-panel[data-parino-auth-panel="login"] .password-input,
body.parino-public-auth-page #customer_login .parino-auth-panel[data-parino-auth-panel="login"] input.input-text,
body.parino-public-auth-page #customer_login .parino-auth-panel[data-parino-auth-panel="login"] button[name="login"] {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

@media (max-width: 900px) {
	.parino-auth-shell {
		display: block;
		width: min(600px, calc(100% - 32px));
		margin-top: 26px;
	}

	.parino-auth-brand {
		display: none;
	}

	.parino-auth-main {
		padding: 34px 32px;
	}

	.parino-auth-mobile-heading {
		display: block;
		margin-bottom: 22px;
	}

	.parino-auth-mobile-heading h1 {
		font-size: 26px !important;
	}

	.parino-auth-mobile-heading > p {
		font-size: 12px;
	}

}

@media (max-width: 600px) {
	body.parino-public-auth-page .woocommerce-notices-wrapper {
		width: calc(100% - 28px);
		margin-top: 16px;
	}

	.parino-auth-shell {
		width: calc(100% - 28px);
		margin: 18px auto 34px;
		border-radius: 17px;
	}

	.parino-auth-main {
		padding: 26px 18px 22px;
	}

	.parino-auth-mobile-heading {
		margin-bottom: 20px;
	}

	.parino-auth-mobile-heading h1 {
		font-size: 24px !important;
	}

	.parino-auth-tabs {
		margin-bottom: 10px;
	}

	.parino-register-name-grid {
		grid-template-columns: 1fr !important;
		gap: 0 !important;
	}


	.parino-auth-login-meta {
		gap: 10px;
	}

	.parino-auth-help {
		flex-direction: column;
		gap: 2px;
	}

	body.parino-public-auth-page .woocommerce > .woocommerce-ResetPassword,
	body.parino-public-auth-page .woocommerce > form.lost_reset_password {
		width: calc(100% - 28px) !important;
		margin: 22px auto 36px !important;
		padding: 22px 18px !important;
		border-radius: 15px !important;
	}
}


/* v0.9.62 — moved recovery link owns its own spacing. */
body.parino-public-auth-page .parino-auth-forgot-row .woocommerce-LostPassword {
	margin: 0 !important;
}


/* v0.9.62 — neutralize intermediate Woo/theme geometry on the real Login branch. */
body.parino-public-auth-page #customer_login .parino-auth-panel[data-parino-auth-panel="login"],
body.parino-public-auth-page #customer_login .parino-auth-panel[data-parino-auth-panel="login"] > *,
body.parino-public-auth-page #customer_login .parino-auth-panel[data-parino-auth-panel="login"] form,
body.parino-public-auth-page #customer_login .parino-auth-panel[data-parino-auth-panel="login"] form > * {
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}


/* v0.9.63 — runtime width sync owns Desktop Login geometry. */
@media (min-width: 901px) {
	body.parino-public-auth-page #customer_login .parino-auth-panel[data-parino-auth-panel="login"] {
		align-self: stretch !important;
		justify-self: stretch !important;
		margin-inline: 0 !important;
	}
}

/* ==========================================================================
 * v0.9.64 — Final Mobile Auth polish
 * Desktop geometry remains untouched.
 * ========================================================================== */
@media (max-width: 600px) {
	/* The form heading already explains the current task; remove repeated mobile intro. */
	.parino-auth-mobile-heading {
		display: none !important;
	}

	/* Remove legacy theme top spacing on this one public Auth page. */
	body.parino-public-auth-page main,
	body.parino-public-auth-page .site-content,
	body.parino-public-auth-page .content-area {
		padding-top: 0 !important;
	}

	.parino-auth-shell {
		margin-top: 12px !important;
	}

	/* Short privacy sentence should remain secondary but comfortably readable. */
	body.parino-public-auth-page .woocommerce-privacy-policy-text {
		margin-top: 8px !important;
		margin-bottom: 16px !important;
		font-size: 11px !important;
		line-height: 1.9 !important;
		color: #6F8091 !important;
	}
}

/* ==========================================================================
 * v0.9.66 — Auth heading artifact reset
 * Removes residual theme/Woo borders/pseudo decorations seen beside Register H2.
 * ========================================================================== */
body.parino-public-auth-page #customer_login h2 {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	border: 0 !important;
	border-left: 0 !important;
	border-right: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}

body.parino-public-auth-page #customer_login h2::before,
body.parino-public-auth-page #customer_login h2::after {
	content: none !important;
	display: none !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

/* ==========================================================================
 * v0.9.67 — Register/Login wrapper border artifact reset
 *
 * Live screenshot proved the vertical line runs along the whole auth column,
 * not the H2. Reset the real Woo/theme auth panel wrappers only.
 * ========================================================================== */
body.parino-public-auth-page #customer_login .parino-auth-panel,
body.parino-public-auth-page #customer_login .u-column1,
body.parino-public-auth-page #customer_login .u-column2,
body.parino-public-auth-page #customer_login .col-1,
body.parino-public-auth-page #customer_login .col-2 {
	border: 0 !important;
	border-top: 0 !important;
	border-right: 0 !important;
	border-bottom: 0 !important;
	border-left: 0 !important;
	border-inline: 0 !important;
	border-inline-start: 0 !important;
	border-inline-end: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
}

body.parino-public-auth-page #customer_login .parino-auth-panel::before,
body.parino-public-auth-page #customer_login .parino-auth-panel::after,
body.parino-public-auth-page #customer_login .u-column1::before,
body.parino-public-auth-page #customer_login .u-column1::after,
body.parino-public-auth-page #customer_login .u-column2::before,
body.parino-public-auth-page #customer_login .u-column2::after,
body.parino-public-auth-page #customer_login .col-1::before,
body.parino-public-auth-page #customer_login .col-1::after,
body.parino-public-auth-page #customer_login .col-2::before,
body.parino-public-auth-page #customer_login .col-2::after {
	content: none !important;
	display: none !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}


/* ==========================================================================
 * v0.9.68 — Password recovery experience
 * Native WooCommerce forms/notices remain the processing source of truth.
 * This block only standardizes hierarchy, copy spacing and responsive visuals.
 * ========================================================================== */
body.parino-public-auth-page.parino-auth-recovery-page {
	background: #F8FAFC;
}

body.parino-public-auth-page.parino-auth-recovery-page .woocommerce {
	min-height: 430px;
	padding-top: 1px !important;
}

body.parino-public-auth-page.parino-auth-recovery-page .woocommerce-notices-wrapper {
	width: min(600px, calc(100% - 40px));
	margin: 28px auto 0;
}

body.parino-public-auth-page.parino-auth-recovery-page .woocommerce-notices-wrapper[hidden],
body.parino-public-auth-page.parino-auth-recovery-page .woocommerce-notices-wrapper:empty {
	display: none !important;
}

body.parino-public-auth-page form.parino-auth-recovery-card,
body.parino-public-auth-page .parino-auth-recovery-confirmation-card {
	width: min(560px, calc(100% - 40px)) !important;
	max-width: 560px !important;
	margin: 42px auto 58px !important;
	padding: 30px !important;
	border: 1px solid var(--pn-auth-border) !important;
	border-radius: 20px !important;
	background: #fff !important;
	box-shadow: var(--pn-auth-shadow) !important;
	box-sizing: border-box !important;
	direction: rtl !important;
	text-align: right !important;
}

body.parino-public-auth-page .parino-auth-recovery-confirmation-card {
	max-width: 600px !important;
	width: min(600px, calc(100% - 40px)) !important;
}

.parino-auth-recovery-head {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	padding: 0 0 20px;
	border-bottom: 1px solid #E7EDF3;
}

.parino-auth-recovery-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: #FFF0EA;
	color: var(--pn-auth-orange);
}

.parino-auth-recovery-icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.parino-auth-recovery-confirmation-card .parino-auth-recovery-icon {
	background: #EAF8F2;
	color: #17785E;
}

.parino-auth-recovery-head-copy {
	min-width: 0;
}

.parino-auth-recovery-kicker {
	display: block;
	margin: 0 0 3px;
	color: #B75A38;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.7;
}

.parino-auth-recovery-confirmation-card .parino-auth-recovery-kicker {
	color: #17785E;
}

.parino-auth-recovery-head h1 {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--pn-auth-navy) !important;
	box-shadow: none !important;
	font-size: 24px !important;
	font-weight: 800 !important;
	line-height: 1.55 !important;
	text-align: right !important;
}

body.parino-public-auth-page form.parino-auth-recovery-card > .parino-auth-recovery-copy,
body.parino-public-auth-page .parino-auth-recovery-confirmation-copy > p {
	margin: 0 0 20px !important;
	padding: 0 !important;
	color: #637589 !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 2 !important;
	text-align: right !important;
}

body.parino-public-auth-page .parino-auth-recovery-confirmation-copy > p {
	margin-bottom: 0 !important;
}

/* Woo lost/reset forms do not carry the generic .woocommerce-form class. */
body.parino-public-auth-page form.lost_reset_password .woocommerce-form-row,
body.parino-public-auth-page form.lost_reset_password .form-row {
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 16px !important;
}

body.parino-public-auth-page form.lost_reset_password button.button,
body.parino-public-auth-page form.lost_reset_password .woocommerce-Button.button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 48px !important;
	margin: 4px 0 0 !important;
	padding: 10px 18px !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: var(--pn-auth-navy) !important;
	color: #fff !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	text-align: center !important;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}

body.parino-public-auth-page form.lost_reset_password button.button:hover,
body.parino-public-auth-page form.lost_reset_password .woocommerce-Button.button:hover {
	background: #142F52 !important;
	transform: translateY(-1px);
}

body.parino-public-auth-page form.lost_reset_password button.button.is-loading,
body.parino-public-auth-page form.lost_reset_password .woocommerce-Button.button.is-loading {
	gap: 9px !important;
	pointer-events: none !important;
	cursor: wait !important;
	opacity: .94;
	transform: none !important;
}

body.parino-public-auth-page form.lost_reset_password button.button.is-loading::before,
body.parino-public-auth-page form.lost_reset_password .woocommerce-Button.button.is-loading::before {
	content: "" !important;
	display: inline-block !important;
	width: 15px !important;
	height: 15px !important;
	flex: 0 0 15px !important;
	border: 2px solid rgba(255,255,255,.42) !important;
	border-top-color: #fff !important;
	border-radius: 50% !important;
	animation: parino-auth-recovery-spin .7s linear infinite !important;
}

@keyframes parino-auth-recovery-spin {
	to { transform: rotate(360deg); }
}

body.parino-public-auth-page form.lost_reset_password .password-input {
	position: relative !important;
	display: block !important;
	width: 100% !important;
}

body.parino-public-auth-page form.lost_reset_password .password-input input {
	padding-left: 48px !important;
}

body.parino-public-auth-page .parino-auth-recovery-status {
	position: relative;
	width: 100% !important;
	margin: 0 0 16px !important;
	padding: 13px 14px !important;
	border: 1px solid #CFE9DE !important;
	border-radius: 11px !important;
	background: #F2FBF7 !important;
	color: #275F4F !important;
	box-shadow: none !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.9 !important;
	text-align: right !important;
}

body.parino-public-auth-page .parino-auth-recovery-status::before,
body.parino-public-auth-page .parino-auth-recovery-status::after {
	content: none !important;
	display: none !important;
}

.parino-auth-recovery-hint {
	display: grid;
	gap: 3px;
	margin: 18px 0 0;
	padding: 12px 14px;
	border: 1px solid #E4EAF0;
	border-radius: 11px;
	background: #F8FAFC;
	color: #6B7C8F;
}

.parino-auth-recovery-hint strong {
	color: #40546A;
	font-size: 11px;
	font-weight: 700;
}

.parino-auth-recovery-hint span {
	font-size: 11px;
	line-height: 1.8;
}

.parino-auth-recovery-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid #E8EDF2;
	font-size: 11px;
	line-height: 1.8;
}

.parino-auth-recovery-footer a {
	color: var(--pn-auth-navy) !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

.parino-auth-recovery-footer a:hover {
	color: var(--pn-auth-orange) !important;
}

.parino-auth-recovery-divider {
	color: #AFBAC5;
}

/* Theme may print a raw paragraph after the confirmation template before JS runs. */
body.parino-public-auth-page.parino-auth-recovery-sent .woocommerce > .parino-auth-recovery-confirmation-copy {
	width: min(600px, calc(100% - 40px));
	margin: 0 auto;
}

@media (max-width: 600px) {
	body.parino-public-auth-page.parino-auth-recovery-page .woocommerce {
		min-height: 0;
	}

	body.parino-public-auth-page.parino-auth-recovery-page .woocommerce-notices-wrapper {
		width: calc(100% - 28px);
		margin-top: 14px;
	}

	body.parino-public-auth-page form.parino-auth-recovery-card,
	body.parino-public-auth-page .parino-auth-recovery-confirmation-card {
		width: calc(100% - 28px) !important;
		margin: 14px auto 34px !important;
		padding: 22px 18px !important;
		border-radius: 16px !important;
	}

	.parino-auth-recovery-head {
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 11px;
		margin-bottom: 18px;
		padding-bottom: 17px;
	}

	.parino-auth-recovery-icon {
		width: 42px;
		height: 42px;
		border-radius: 12px;
	}

	.parino-auth-recovery-icon svg {
		width: 21px;
		height: 21px;
	}

	.parino-auth-recovery-head h1 {
		font-size: 21px !important;
	}

	body.parino-public-auth-page form.parino-auth-recovery-card > .parino-auth-recovery-copy,
	body.parino-public-auth-page .parino-auth-recovery-confirmation-copy > p {
		font-size: 12px !important;
		line-height: 1.95 !important;
	}

	.parino-auth-recovery-footer {
		margin-top: 17px;
		padding-top: 14px;
	}
}

/* Sent-state no-JS / pre-enhancement fallback: keep the native Woo notice and
 * confirmation copy visually joined instead of flashing full-width legacy UI. */
body.parino-public-auth-page.parino-auth-recovery-sent .woocommerce > .woocommerce-notices-wrapper:not([hidden]) {
	width: min(600px, calc(100% - 40px)) !important;
	margin: 42px auto 0 !important;
	padding: 28px 30px 10px !important;
	border: 1px solid var(--pn-auth-border) !important;
	border-bottom: 0 !important;
	border-radius: 20px 20px 0 0 !important;
	background: #fff !important;
	box-shadow: 0 18px 55px rgba(26,54,93,.06) !important;
	box-sizing: border-box !important;
}

body.parino-public-auth-page.parino-auth-recovery-sent .woocommerce > .parino-auth-recovery-confirmation-copy {
	width: min(600px, calc(100% - 40px)) !important;
	margin: 0 auto 58px !important;
	padding: 4px 30px 28px !important;
	border: 1px solid var(--pn-auth-border) !important;
	border-top: 0 !important;
	border-radius: 0 0 20px 20px !important;
	background: #fff !important;
	box-shadow: 0 18px 55px rgba(26,54,93,.06) !important;
	box-sizing: border-box !important;
}

@media (max-width: 600px) {
	body.parino-public-auth-page.parino-auth-recovery-sent .woocommerce > .woocommerce-notices-wrapper:not([hidden]) {
		width: calc(100% - 28px) !important;
		margin-top: 14px !important;
		padding: 20px 18px 8px !important;
		border-radius: 16px 16px 0 0 !important;
	}

	body.parino-public-auth-page.parino-auth-recovery-sent .woocommerce > .parino-auth-recovery-confirmation-copy {
		width: calc(100% - 28px) !important;
		margin-bottom: 34px !important;
		padding: 4px 18px 20px !important;
		border-radius: 0 0 16px 16px !important;
	}
}

/* v0.9.70 — credential errors: clean native Woo list/icon chrome and avoid broken RTL layout. */
body.parino-public-auth-page ul.woocommerce-error {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 14px !important;
	padding: 13px 15px !important;
	list-style: none !important;
	box-sizing: border-box !important;
}

body.parino-public-auth-page ul.woocommerce-error::before,
body.parino-public-auth-page ul.woocommerce-error > li::before {
	display: none !important;
	content: none !important;
}

body.parino-public-auth-page ul.woocommerce-error > li {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	color: #7F1D1D !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	line-height: 1.9 !important;
	text-align: right !important;
	word-break: normal !important;
	overflow-wrap: anywhere !important;
}
