/**
 * Sign-in, sign-up and password recovery (My Account while logged out).
 * Loads only on those screens (inc/account.php). Tokens come from tokens.css.
 */

body.sc-auth-page,
.sc-auth-page .site-content {
	background: var(--sc-bg);
}

.sc-auth-page .site-content > .ast-container {
	padding-top: 20px;
	padding-bottom: 40px;
}

.sc-auth-page .entry-content > .woocommerce {
	max-width: 960px;
	margin-inline: auto;
}

/* Layout */
.sc-auth {
	display: grid;
	gap: 16px;
	align-items: start;
	font-size: .9375rem;
	color: var(--sc-ink);
}

.sc-auth--single {
	max-width: 460px;
	margin-inline: auto;
}

@media (min-width: 880px) {
	.sc-auth:not(.sc-auth--single) {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 24px;
	}
}

/* Card */
.sc-auth__card {
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-xl);
	padding: 24px 18px;
	box-shadow: 0 1px 2px rgba(31, 42, 46, .04);
}

@media (min-width: 600px) {
	.sc-auth__card {
		padding: 32px 36px;
	}
}

.sc-auth__head {
	text-align: center;
	margin-bottom: 20px;
}

.sc-auth__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
	margin-bottom: 12px;
}

.sc-auth__icon .sc-i {
	width: 26px;
	height: 26px;
}

.sc-auth-page .sc-auth__title {
	margin: 0 0 6px;
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1.5;
	color: var(--sc-ink);
}

.sc-auth__lead {
	margin: 0;
	color: var(--sc-muted);
	font-size: .875rem;
	line-height: 1.8;
	text-wrap: balance;
}

/* Tabs (shown only when sign-up is on and the script runs) */
.sc-auth__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	margin-bottom: 20px;
	background: var(--sc-bg);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r);
}

.sc-auth__tabs[hidden] {
	display: none;
}

.sc-auth-page .sc-auth__tabs button {
	min-height: 42px;
	padding: 6px 12px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--sc-muted);
	font: inherit;
	font-weight: 700;
	font-size: .9375rem;
	line-height: 1.4;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}

.sc-auth-page .sc-auth__tabs button:hover {
	background: transparent;
	color: var(--sc-petrol);
}

.sc-auth-page .sc-auth__tabs button[aria-selected="true"] {
	background: var(--sc-surface);
	color: var(--sc-petrol);
	box-shadow: 0 1px 3px rgba(31, 42, 46, .12);
}

.sc-auth-page .sc-auth__tabs button:focus-visible {
	outline: 2px solid var(--sc-petrol);
	outline-offset: 2px;
}

/* Panels: with tabs the panel name is in the tab; without tabs (no JS) both forms stack. */
.sc-auth__panel + .sc-auth__panel {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--sc-line);
}

.sc-auth.is-tabbed .sc-auth__panel + .sc-auth__panel {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.sc-auth.is-tabbed .sc-auth__panel-title,
.sc-auth:not(:has(.sc-auth__tabs)) .sc-auth__panel-title {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.sc-auth-page .sc-auth__panel-title {
	margin: 0 0 16px;
	font-size: 1.0625rem;
	font-weight: 800;
}

.sc-auth__panel[hidden] {
	display: none;
}

/* Fields */
/* Astra boxes these forms (body .woocommerce form.login); the card is the box here. */
.sc-auth-page .sc-auth form.woocommerce-form,
.sc-auth-page .sc-auth form.lost_reset_password {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

.sc-auth-page .sc-auth .form-row {
	display: block;
	width: 100%;
	float: none;
	margin: 0 0 16px;
	padding: 0;
}

.sc-auth-page .sc-auth label {
	display: block;
	margin-bottom: 6px;
	color: var(--sc-ink);
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.6;
}

.sc-auth-page .sc-auth .required {
	color: var(--sc-coral-ink);
	text-decoration: none;
	border: 0;
}

.sc-auth-page .sc-auth input.input-text,
.sc-auth-page .sc-auth input[type="text"],
.sc-auth-page .sc-auth input[type="email"],
.sc-auth-page .sc-auth input[type="tel"],
.sc-auth-page .sc-auth input[type="password"],
.sc-auth-page .lost_reset_password input.input-text {
	display: block;
	width: 100%;
	height: 50px;
	padding: 10px 14px;
	border: 1.5px solid var(--sc-line);
	border-radius: var(--sc-r-sm);
	background: var(--sc-surface);
	color: var(--sc-ink);
	font: inherit;
	font-size: 1rem; /* 16px: no zoom on iPhone */
	line-height: 1.5;
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
}

/* Mobile, email, password: the characters run left to right (so «09…» and «name@…» stay intact),
   but text and hint sit on the right, under the Persian label, and don't jump sides while typing. */
.sc-auth-page input[type="email"],
.sc-auth-page input[type="tel"],
.sc-auth-page input[type="password"],
.sc-auth-page input[dir="ltr"],
.sc-auth-page .lost_reset_password input.input-text {
	direction: ltr;
	text-align: right;
}

/* Hints are Persian («مثلاً 0912…»): read right to left. */
.sc-auth-page input::placeholder {
	direction: rtl;
	text-align: right;
	color: #9aa1a4;
	opacity: 1;
}

/* SMS code: six digits in the middle. */
.sc-auth-page .sc-auth input.sc-otp__code,
.sc-auth-page .sc-auth [data-shadi-code] {
	direction: ltr;
	text-align: center;
	letter-spacing: .4em;
}

.sc-auth-page .sc-auth input.sc-otp__code::placeholder {
	letter-spacing: normal;
	text-align: center;
}

/* Labels, hints, notices and the «remember me» row follow the page (RTL). */
.sc-auth-page .sc-auth label,
.sc-auth-page .sc-auth .sc-pass-hint,
.sc-auth-page .sc-auth .sc-auth__caps,
.sc-auth-page .sc-otp-status,
.sc-auth-page .woocommerce-notices-wrapper,
.sc-auth-page .woocommerce-error,
.sc-auth-page .woocommerce-message,
.sc-auth-page .woocommerce-info {
	direction: rtl;
	text-align: right;
}

.sc-auth-page .sc-auth input.input-text:hover,
.sc-auth-page .lost_reset_password input.input-text:hover {
	border-color: #cfc8be;
}

.sc-auth-page .sc-auth input.input-text:focus,
.sc-auth-page .sc-auth input[type="tel"]:focus,
.sc-auth-page .lost_reset_password input.input-text:focus {
	border-color: var(--sc-petrol);
	box-shadow: 0 0 0 3px rgba(15, 92, 90, .14);
	outline: none;
}

.sc-auth-page .sc-auth .woocommerce-invalid input.input-text {
	border-color: var(--sc-sale);
}

/* Password: «گذرواژه» and «فراموش کرده‌اید؟» on one line, the field under them. */
.sc-auth-page .sc-auth p.sc-auth__password-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	column-gap: 12px;
}

/* WooCommerce's clearfix pseudo-elements would be flex items here. */
.sc-auth-page .sc-auth p.sc-auth__password-row::before,
.sc-auth-page .sc-auth p.sc-auth__password-row::after {
	display: none;
}

.sc-auth-page .sc-auth p.sc-auth__password-row > * {
	flex: 1 1 100%;
}

.sc-auth-page .sc-auth p.sc-auth__password-row > label,
.sc-auth-page .sc-auth p.sc-auth__password-row > .sc-auth__forgot {
	flex: 0 1 auto;
}

.sc-auth__forgot {
	margin-bottom: 6px;
	font-size: .8125rem;
	font-weight: 600;
	color: var(--sc-petrol) !important;
}

.sc-auth__forgot:hover {
	text-decoration: underline;
}

/* WooCommerce's show/hide button, with our own eye icon (no WooCommerce icon font needed). */
.sc-auth-page .password-input {
	position: relative;
	display: block;
	width: 100%;
}

.sc-auth-page .sc-auth .password-input input[type="password"],
.sc-auth-page .sc-auth .password-input input[type="text"],
.sc-auth-page .lost_reset_password .password-input input.input-text {
	padding-left: 52px;
}

.sc-auth-page form .show-password-input {
	position: absolute;
	top: 50%;
	bottom: auto;
	left: 5px;
	right: auto;
	transform: none;
	translate: none;
	display: block;
	width: 40px;
	height: 40px;
	margin: -20px 0 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent !important;
	color: var(--sc-muted);
	box-shadow: none;
	cursor: pointer;
}

.sc-auth-page form .show-password-input::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 22px;
	height: 22px;
	font-family: inherit;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sc-auth-page form .show-password-input.display-password::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");
}

.sc-auth-page form .show-password-input:hover,
.sc-auth-page form .show-password-input.display-password {
	color: var(--sc-petrol);
}

.sc-auth-page form .show-password-input:focus-visible {
	outline: 2px solid var(--sc-petrol);
	outline-offset: 0;
}

.sc-auth__caps {
	display: block;
	margin-top: 6px;
	color: var(--sc-coral-ink);
	font-size: .8125rem;
}

.sc-auth__caps[hidden] {
	display: none;
}

/* Remember me */
.sc-auth-page .sc-auth .sc-auth__remember label.woocommerce-form__label,
.sc-auth-page .sc-auth .sc-auth__remember label.woocommerce-form__label span {
	font-weight: 400;
}

.sc-auth-page .sc-auth__remember label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 400;
	color: var(--sc-muted);
	cursor: pointer;
}

.sc-auth-page .sc-auth input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--sc-petrol);
}

/* Main button */
.sc-auth-page .sc-auth .shadi-phone-reset button[type="submit"],
.sc-auth-page .sc-auth .sc-auth__btn,
.sc-auth-page .lost_reset_password button[type="submit"] {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 10px 20px;
	border: 0;
	border-radius: var(--sc-r);
	background: var(--sc-petrol);
	color: #fff;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .15s;
}

.sc-auth-page .sc-auth .sc-auth__btn:hover,
.sc-auth-page .sc-auth .sc-auth__btn:focus,
.sc-auth-page .lost_reset_password button[type="submit"]:hover {
	background: var(--sc-petrol-dark);
	color: #fff;
}

.sc-auth-page .sc-auth .sc-auth__btn:focus-visible,
.sc-auth-page .lost_reset_password button[type="submit"]:focus-visible {
	outline: 2px solid var(--sc-petrol);
	outline-offset: 2px;
}

.sc-auth-page button.is-busy {
	opacity: .75;
	cursor: progress;
}

.sc-auth-page button.is-busy::before {
	content: "";
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: sc-auth-spin .7s linear infinite;
}

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

.sc-auth__submit {
	margin-bottom: 0 !important;
}

.sc-auth__switch {
	margin: 18px 0 0;
	text-align: center;
	color: var(--sc-muted);
	font-size: .875rem;
}

.sc-auth__switch a {
	font-weight: 700;
	color: var(--sc-petrol) !important;
}

.sc-auth__note {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 0 0 16px;
	padding: 10px 12px;
	border-radius: var(--sc-r-sm);
	background: var(--sc-petrol-soft);
	color: var(--sc-ink);
	font-size: .8125rem;
	line-height: 1.8;
}

.sc-auth__note .sc-i {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--sc-petrol);
}

/* WooCommerce privacy text at sign-up */
.sc-auth .woocommerce-privacy-policy-text {
	margin-bottom: 16px;
	color: var(--sc-muted);
	font-size: .8125rem;
	line-height: 1.8;
}

.sc-auth .woocommerce-privacy-policy-text p {
	margin: 0;
}

/* Phone verification (shadi-store-core) */
.sc-auth [data-shadi-phone] {
	margin-bottom: 16px;
	padding: 14px;
	border: 1px dashed var(--sc-line);
	border-radius: var(--sc-r);
	background: var(--sc-bg);
}

.sc-auth [data-shadi-phone] p {
	margin: 0 0 12px;
}

.sc-auth-page .sc-auth [data-shadi-phone] .button {
	width: 100%;
	min-height: 44px;
	padding: 8px 16px;
	border: 1.5px solid var(--sc-petrol);
	border-radius: var(--sc-r-sm);
	background: transparent;
	color: var(--sc-petrol);
	font: inherit;
	font-weight: 700;
	line-height: 1.4;
	box-shadow: none;
}

.sc-auth-page .sc-auth [data-shadi-phone] .button:hover {
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
}

.sc-auth-page .sc-auth [data-shadi-phone] .button:disabled {
	opacity: .6;
}

.sc-auth [data-shadi-code] {
	letter-spacing: .4em;
	text-align: center;
	direction: ltr;
}

.sc-auth [data-shadi-status] {
	margin: 0 !important;
	color: var(--sc-muted);
	font-size: .8125rem;
	line-height: 1.8;
}

/* Side card */
.sc-auth__side {
	display: grid;
	gap: 12px;
}

.sc-auth__box {
	padding: 18px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	background: var(--sc-surface);
}

.sc-auth__box p {
	margin: 0 0 10px;
	color: var(--sc-muted);
	font-size: .875rem;
	line-height: 1.8;
}

.sc-auth .sc-auth__box-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	color: var(--sc-ink);
	font-size: .9375rem;
	font-weight: 800;
}

.sc-auth__box-title .sc-i {
	color: var(--sc-petrol);
}

.sc-auth__alt {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-weight: 700;
	font-size: .875rem;
	color: var(--sc-petrol) !important;
}

.sc-auth__alt .sc-i {
	width: 16px;
	height: 16px;
}

.sc-auth__perks {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 4px 4px 0;
	list-style: none;
}

.sc-auth__perks li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--sc-ink);
	font-size: .875rem;
}

.sc-auth__perks .sc-i {
	width: 34px;
	height: 34px;
	padding: 7px;
	border-radius: 50%;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
}

.sc-auth__help {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	padding: 4px 4px 0;
	color: var(--sc-muted);
	font-size: .8125rem;
	line-height: 1.9;
}

.sc-auth__help .sc-i {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--sc-petrol);
}

/* Phones: the three perks sit in one short row. */
@media (max-width: 879px) {
	.sc-auth__perks {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
		padding: 0;
	}

	.sc-auth__perks li {
		flex-direction: column;
		text-align: center;
		gap: 6px;
		font-size: .75rem;
		line-height: 1.6;
	}
}

/* Lost / reset password */
.sc-auth-page .lost_reset_password p:first-child {
	margin: 0 0 16px;
	color: var(--sc-muted);
	font-size: .875rem;
	line-height: 1.8;
	text-align: center;
}

.sc-auth-page .lost_reset_password .form-row {
	display: block;
	width: 100%;
	float: none;
	margin: 0 0 16px;
	padding: 0;
}

.sc-auth-page .lost_reset_password label {
	display: block;
	margin-bottom: 6px;
	font-size: .875rem;
	font-weight: 600;
}

.sc-auth-page .woocommerce-ResetPassword .clear {
	display: none;
}

.sc-auth--single .woocommerce-message,
.sc-auth--single .woocommerce-info {
	text-align: center;
}

.sc-auth__back {
	margin: 20px 0 0;
	text-align: center;
	font-size: .875rem;
}

.sc-auth__back a {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-weight: 700;
	color: var(--sc-petrol) !important;
}

.sc-auth__back .sc-i {
	width: 16px;
	height: 16px;
	transform: scaleX(-1); /* points back (right) in RTL */
}

/* Optional field note */
.sc-auth-page .sc-auth .sc-auth__opt {
	font-weight: 400;
	color: var(--sc-muted);
	font-size: .8125rem;
}

/* Password by mobile (shadi-store-core), under the email form */
.sc-auth-page .sc-auth form.shadi-phone-reset {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--sc-line);
}

.sc-auth-page .shadi-phone-reset__title {
	margin: 0 0 6px;
	font-size: 1rem;
	font-weight: 800;
	text-align: center;
}

.shadi-phone-reset__lead {
	margin: 0 0 14px;
	color: var(--sc-muted);
	font-size: .8125rem;
	line-height: 1.8;
	text-align: center;
}

/* Errors and notices above the card */
.sc-auth-page .woocommerce-notices-wrapper:empty {
	display: none;
}

.sc-auth-page .woocommerce-error,
.sc-auth-page .woocommerce-message,
.sc-auth-page .woocommerce-info {
	margin: 0 0 16px;
	padding: 12px 16px 12px 16px;
	padding-inline-start: 44px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r);
	background: var(--sc-surface);
	color: var(--sc-ink);
	font-size: .875rem;
	line-height: 1.8;
	list-style: none;
}

.sc-auth-page .woocommerce-error {
	border-color: #f0c4bd;
	background: #fdf1ef;
}

.sc-auth-page .woocommerce-error::before,
.sc-auth-page .woocommerce-message::before,
.sc-auth-page .woocommerce-info::before {
	top: 12px;
	right: 16px;
	left: auto;
}

.sc-auth-page .woocommerce-error li {
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	.sc-auth-page * {
		transition: none !important;
		animation: none !important;
	}
}

/* Mobile-first sign-up and reset (shadi-store-core RegistrationOTP / PhoneAccount) */
.sc-otp__phone {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.sc-otp__phone input {
	flex: 1 1 auto;
	min-width: 0;
	letter-spacing: .04em;
}

.sc-otp__phone input[readonly] {
	background: var(--sc-bg);
	color: var(--sc-muted);
}

.sc-auth-page .sc-otp__send {
	flex: 0 0 auto;
	min-height: 48px;
	padding: 0 16px;
	border: 0;
	border-radius: var(--sc-r-sm);
	background: var(--sc-petrol);
	color: #fff;
	font: inherit;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
}

.sc-auth-page .sc-otp__send:disabled {
	opacity: .7;
	cursor: progress;
}

.sc-otp__edit,
.sc-otp__resend,
.sc-otp__voice {
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--sc-petrol);
	font: inherit;
	font-size: .8125rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	white-space: nowrap;
}

.sc-otp__resend:disabled {
	color: var(--sc-muted);
	text-decoration: none;
	cursor: default;
}

.sc-otp__code {
	font-size: 1.25rem !important;
	letter-spacing: .5em;
	text-align: center;
}

.sc-otp__again {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: -4px 0 8px;
}

.sc-otp-status {
	min-height: 0;
	margin: 0 0 8px;
	color: var(--sc-petrol);
	font-size: .8125rem;
	line-height: 1.8;
}

.sc-otp-status:empty {
	display: none;
}

.sc-otp-status.is-bad {
	color: var(--sc-coral-ink);
}

.sc-otp__code-row[hidden],
.sc-reg__after[hidden],
.sc-otp [hidden] {
	display: none !important;
}

.sc-pass {
	position: relative;
	display: block;
}

.sc-pass input {
	padding-inline-end: 64px !important;
}

.sc-pass__toggle {
	position: absolute;
	inset-block: 0;
	inset-inline-end: 4px;
	padding: 0 10px;
	border: 0;
	background: none;
	color: var(--sc-petrol);
	font: inherit;
	font-size: .8125rem;
	font-weight: 700;
	cursor: pointer;
}

/* In RTL the end side of an LTR input is the left; keep the toggle on the left visually. */
[dir="rtl"] .sc-pass__toggle {
	inset-inline-end: auto;
	left: 4px;
}

[dir="rtl"] .sc-pass input {
	padding-inline-end: 12px !important;
	padding-left: 64px !important;
}

.sc-pass-hint {
	display: block;
	margin-top: 6px;
	color: var(--sc-muted);
	font-size: .75rem;
	line-height: 1.8;
}

.sc-reg__email {
	margin: 0 0 12px;
}

.sc-reg__email > summary {
	display: inline-block;
	padding: 4px 0;
	color: var(--sc-petrol);
	font-size: .875rem;
	font-weight: 700;
	cursor: pointer;
}

.sc-reg__email[open] > summary {
	margin-bottom: 6px;
}

.sc-phone-reset {
	margin-bottom: 8px;
}

.sc-phone-reset__lead {
	margin: 0 0 12px;
	color: var(--sc-muted);
	font-size: .875rem;
}

.sc-phone-reset__or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0 12px;
	color: var(--sc-muted);
	font-size: .8125rem;
}

.sc-phone-reset__or::before,
.sc-phone-reset__or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--sc-line);
}
