/**
 * حساب من — کارت ورود رسمی (auth UI kit)
 */

body.netpro-mobile-account .netpro-mobile-viewport__main,
body.netpro-mobile-account .netpro-mobile-stage,
body.netpro-mobile-account .netpro-mobile-stage .site-main,
body.netpro-mobile-account .site-main--account,
body.netpro-mobile-account .netpro-account,
body.netpro-mobile-account .netpro-account__inner {
	background: transparent !important;
}

body.netpro-mobile-account .netpro-mobile-stage .site-main--account {
	display: block;
	padding: 0 !important;
	margin: 0;
	max-width: none !important;
	min-height: 0 !important;
	color: inherit;
}

body.netpro-mobile-account .netpro-mobile-stage {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

/* ورود مهمان — پر کردن ارتفاع stage تا کارت واقعاً وسط viewport بیاید */
body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-mobile-viewport__main {
	flex: 1 1 auto;
	min-height: 0;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-mobile-stage {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-mobile-stage .site-main--account {
	display: flex !important;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0 !important;
	width: 100%;
	align-items: stretch;
	justify-content: center;
}

body.netpro-mobile-account .site-main--account .entry-header,
body.netpro-mobile-account .site-main--account .entry-content {
	display: none;
}

.netpro-account {
	flex: 1 1 auto;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: max(1.5rem, env(safe-area-inset-top, 0px)) var(--netpro-screen-edge-inline, 0.85rem) 1.25rem;
	box-sizing: border-box;
	min-height: 0;
	overflow-y: auto;
}

.netpro-account__inner {
	width: 100%;
	max-width: 23.5rem;
}

/* ——— ورود (مهمان) ——— */
body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-account {
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	width: 100%;
	min-height: 0;
	padding: max(1rem, env(safe-area-inset-top, 0px)) var(--netpro-screen-edge-inline, 1rem)
		max(1rem, env(safe-area-inset-bottom, 0px));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-account__inner {
	max-width: 22.5rem;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card--login {
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 1.35rem;
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: blur(22px) saturate(165%);
	backdrop-filter: blur(22px) saturate(165%);
	box-shadow:
		0 2px 6px rgba(0, 0, 0, 0.06),
		0 18px 48px rgba(0, 0, 0, 0.14);
	color: #0a0f1a;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__header--login {
	padding: 1.65rem 1.5rem 0.85rem;
	border-bottom: none;
	background: transparent;
	text-align: center;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__brand {
	display: flex;
	justify-content: center;
	margin-bottom: 0.85rem;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__seal {
	width: 3.75rem;
	height: 3.75rem;
	margin: 0;
	border-radius: 1.05rem;
	background: linear-gradient(145deg, #007aff 0%, #0055d4 100%);
	box-shadow:
		0 10px 24px rgba(0, 122, 255, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
	color: #fff;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__seal svg {
	width: 52%;
	height: 52%;
	display: block;
	margin: 0 auto;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__site {
	margin: 0 0 0.35rem;
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: rgba(10, 15, 26, 0.55);
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__title {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #0a0f1a;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__lead {
	margin-top: 0.55rem;
	font-size: 0.84rem;
	line-height: 1.65;
	color: rgba(10, 15, 26, 0.62);
	max-width: 18rem;
	margin-left: auto;
	margin-right: auto;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__steps {
	grid-template-columns: 1fr 1fr;
	gap: 0.55rem;
	padding: 0 1.35rem 0.15rem;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__step {
	border-radius: 0.85rem;
	border: 1px solid rgba(0, 0, 0, 0.06);
	background: rgba(242, 242, 247, 0.85);
	font-size: 0.74rem;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__step.is-active {
	border-color: rgba(0, 122, 255, 0.35);
	background: rgba(0, 122, 255, 0.1);
	color: #0055d4;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__step.is-done {
	border-color: rgba(52, 199, 89, 0.45);
	background: rgba(52, 199, 89, 0.12);
	color: #1b7a38;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__step.is-active .netpro-auth-card__step-num {
	background: #007aff;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__panel {
	padding: 0.85rem 1.35rem 1.1rem;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-field__input {
	padding: 0.82rem 0.95rem;
	border-radius: 0.85rem;
	border: 1px solid transparent;
	background: rgba(242, 242, 247, 0.95);
	font-size: 1.02rem;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-field__input:focus {
	border-color: rgba(0, 122, 255, 0.45);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.18);
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__btn--primary {
	border-radius: 0.9rem;
	padding: 0.82rem 1rem;
	font-size: 0.95rem;
	background: linear-gradient(180deg, #0a84ff 0%, #007aff 100%);
	border-color: transparent;
	box-shadow: 0 8px 20px rgba(0, 122, 255, 0.32);
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__btn--primary:hover {
	background: linear-gradient(180deg, #007aff 0%, #0062d1 100%);
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__btn--ghost {
	border-radius: 0.9rem;
	background: transparent;
	border-color: rgba(0, 0, 0, 0.08);
	color: rgba(10, 15, 26, 0.72);
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__waiting {
	margin: 0 0 0.75rem;
	border-radius: 0.85rem;
	border: 1px solid rgba(255, 149, 0, 0.35);
	background: rgba(255, 149, 0, 0.12);
	color: #9a4a00;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__footer--login {
	padding: 0.75rem 1.35rem 1.15rem;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	background: transparent;
	color: rgba(10, 15, 26, 0.5);
	font-size: 0.74rem;
}

body.netpro-mobile-account:not(.netpro-mobile-account-profile) .netpro-auth-card__trial-hint {
	margin: 0 !important;
	color: #0055d4;
}

body.netpro-mobile-account-profile .netpro-account {
	padding: 0;
	align-items: stretch;
}

body.netpro-mobile-account-profile .netpro-account__inner {
	max-width: none;
	width: 100%;
}

body.netpro-mobile-account-profile .netpro-mobile-stage .site-main--account {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

body.netpro-mobile-account-profile .netpro-account {
	overflow: hidden;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

body.netpro-mobile-account-profile .netpro-account__inner {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

body.netpro-mobile-account-profile .netpro-pulse-profile {
	flex: 1 1 auto;
	min-height: 0;
}

body.netpro-mobile-account-profile .netpro-mobile-viewport,
body.netpro-mobile-account-profile .netpro-mobile-viewport__main,
body.netpro-mobile-account-profile .netpro-mobile-stage,
body.netpro-mobile-account-profile .netpro-mobile-stage .site-main--account,
body.netpro-mobile-account-profile .netpro-account,
body.netpro-mobile-account-profile .netpro-account__inner {
	background: #fff !important;
}

.netpro-auth-card__step-label {
	min-width: 0;
	line-height: 1.35;
}

/* کارت رسمی */
.netpro-auth-card {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	background: #ffffff;
	border: 1px solid #d8dee6;
	border-radius: 12px;
	box-shadow:
		0 1px 2px rgba(16, 24, 40, 0.06),
		0 12px 32px rgba(16, 24, 40, 0.08);
	color: #1a2332;
	overflow: hidden;
}

.netpro-auth-card--panel {
	display: flex;
	flex-direction: column;
	background: #ffffff;
}

.netpro-auth-card__header {
	padding: 1.35rem 1.35rem 1rem;
	text-align: center;
	border-bottom: 1px solid #e8ecf1;
	background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.netpro-auth-card__seal {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 0.65rem;
	border-radius: 10px;
	background: #1e3a5f;
	color: #fff;
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.netpro-auth-card__seal-icon.netpro-app-icon__library-icon {
	width: 56%;
	height: 56%;
	color: #fff;
}

.netpro-auth-card__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.4;
	color: #0f172a;
}

.netpro-auth-card__lead {
	margin: 0.4rem 0 0;
	font-size: 0.82rem;
	line-height: 1.55;
	color: #5c6b7a;
}

.netpro-auth-card__steps {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0.85rem 1.1rem 0.25rem;
}

.netpro-auth-card__step {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 0.6rem;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	color: #64748b;
	font-size: 0.72rem;
}

.netpro-auth-card__step.is-active {
	border-color: #1e3a5f;
	background: #eef4fb;
	color: #1e3a5f;
	font-weight: 600;
}

.netpro-auth-card__step.is-done {
	border-color: #16a34a;
	background: #f0fdf4;
	color: #15803d;
}

.netpro-auth-card__step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	height: 1.35rem;
	border-radius: 999px;
	background: currentColor;
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
}

.netpro-auth-card__step.is-active .netpro-auth-card__step-num {
	background: #1e3a5f;
}

.netpro-auth-card__step.is-done .netpro-auth-card__step-num {
	background: #16a34a;
}

.netpro-auth-card__panel {
	padding: 1rem 1.35rem 1.25rem;
}

.netpro-auth-card__panel[hidden] {
	display: none !important;
}

.netpro-auth-card__panel-title {
	margin: 0 0 0.35rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #0f172a;
}

.netpro-auth-card__panel-desc {
	margin: 0 0 1rem;
	font-size: 0.8rem;
	line-height: 1.55;
	color: #5c6b7a;
}

.netpro-auth-card__waiting {
	margin: -0.5rem 0 0.85rem;
	padding: 0.55rem 0.65rem;
	border-radius: 8px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #9a3412;
	font-size: 0.76rem;
	line-height: 1.45;
}

.netpro-auth-card__form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.netpro-auth-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.netpro-auth-field__label {
	font-size: 0.78rem;
	font-weight: 600;
	color: #334155;
}

.netpro-auth-field__input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.72rem 0.85rem;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #0f172a;
	font-size: 1rem;
	line-height: 1.35;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.netpro-auth-field__input:focus {
	border-color: #1e3a5f;
	box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15);
}

.netpro-auth-field__input--otp {
	letter-spacing: 0.28em;
	text-align: center;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.netpro-auth-card__message {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.45;
}

.netpro-auth-card__message.is-error {
	color: #b91c1c;
}

.netpro-auth-card__message.is-success {
	color: #15803d;
}

.netpro-auth-card__btn {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding: 0.76rem 1rem;
	border-radius: 8px;
	border: 1px solid transparent;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.netpro-auth-card__btn--primary {
	color: #fff;
	background: #1e3a5f;
	border-color: #1e3a5f;
}

.netpro-auth-card__btn--primary:hover {
	background: #16304f;
}

.netpro-auth-card__btn--secondary {
	color: #fff;
	background: #334155;
}

.netpro-auth-card__btn--outline {
	color: #1e3a5f;
	background: #fff;
	border-color: #cbd5e1;
}

.netpro-auth-card__btn--ghost {
	color: #475569;
	background: #f8fafc;
	border-color: #e2e8f0;
}

.netpro-auth-card__btn[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}

.netpro-auth-card__footer {
	padding: 0.85rem 1.35rem 1.1rem;
	border-top: 1px solid #e8ecf1;
	background: #f8fafc;
	font-size: 0.72rem;
	line-height: 1.5;
	color: #64748b;
	text-align: center;
}

.netpro-auth-card__footer p {
	margin: 0;
}

.netpro-auth-card__trial-hint {
	margin-bottom: 0.45rem !important;
	font-weight: 600;
	color: #1e3a5f;
}

/* پنل کاربر */
.netpro-auth-card--panel .netpro-auth-card__header {
	border-bottom: 1px solid #e8ecf1;
}

.netpro-auth-card__meta {
	margin: 0;
	padding: 0.5rem 1.35rem 0.25rem;
	background: #ffffff;
}

.netpro-auth-card__meta-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.75rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid #edf0f4;
	font-size: 0.82rem;
}

.netpro-auth-card__meta-row:last-child {
	border-bottom: none;
}

.netpro-auth-card__meta-row dt {
	margin: 0;
	color: #64748b;
	font-weight: 500;
}

.netpro-auth-card__meta-row dd {
	margin: 0;
	color: #0f172a;
	font-weight: 600;
}

.netpro-auth-card__badge {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: #dcfce7;
	color: #166534;
	font-size: 0.72rem;
	font-weight: 600;
}

.netpro-auth-card__footer--panel {
	padding: 0;
	border-top: 1px solid #e8ecf1;
	background: #ffffff;
	text-align: inherit;
}

.netpro-auth-card__actions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	width: 100%;
	box-sizing: border-box;
	padding: 0.85rem 1.35rem 1.15rem;
	background: #ffffff;
}

/* لینک معرف */
.netpro-referral-card {
	margin: 0 1.35rem 0.85rem;
	padding: 0.85rem 0.9rem 0.95rem;
	border: 1px solid #dbe3ee;
	border-radius: 10px;
	background: #f8fafc;
	box-sizing: border-box;
}

.netpro-referral-card__head {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	margin-bottom: 0.7rem;
}

.netpro-referral-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 9px;
	background: #1e3a5f;
	color: #fff;
}

.netpro-referral-card__graphic.netpro-app-icon__library-icon {
	width: 58%;
	height: 58%;
	color: #fff;
}

.netpro-referral-card__title {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 700;
	color: #0f172a;
}

.netpro-referral-card__desc {
	margin: 0.2rem 0 0;
	font-size: 0.72rem;
	line-height: 1.45;
	color: #64748b;
}

.netpro-referral-card__label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.72rem;
	font-weight: 600;
	color: #475569;
}

.netpro-referral-card__code {
	margin-bottom: 0.65rem;
}

.netpro-referral-card__code-value {
	display: inline-block;
	padding: 0.25rem 0.55rem;
	border-radius: 6px;
	background: #e2e8f0;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	color: #0f172a;
}

.netpro-referral-card__link-wrap {
	display: block;
	margin-bottom: 0.65rem;
}

.netpro-referral-card__link-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.62rem 0.7rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	color: #0f172a;
	font-size: 0.74rem;
	line-height: 1.35;
}

.netpro-referral-card__copy {
	margin: 0;
}

.netpro-referral-card__hint {
	margin: 0.45rem 0 0;
	font-size: 0.72rem;
	color: #15803d;
	text-align: center;
}

.netpro-referral-card__hint.is-error {
	color: #b91c1c;
}

.netpro-referral-card__qr-row {
	display: flex;
	gap: 0.85rem;
	align-items: center;
	margin-bottom: 0.75rem;
}

.netpro-referral-card__qr {
	flex: 0 0 auto;
	width: 168px;
	height: 168px;
	padding: 0.35rem;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-sizing: border-box;
}

.netpro-referral-card__qr img,
.netpro-referral-card__qr-img {
	display: block;
	width: 100% !important;
	height: auto !important;
	max-width: 168px;
}

.netpro-referral-scan-dialog {
	position: fixed;
	inset: 0;
	z-index: 500;
}

.netpro-referral-scan-dialog__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.netpro-referral-scan-dialog__sheet {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.75rem 1rem 1.25rem;
	background: #fff;
	border-radius: 16px 16px 0 0;
}

.netpro-referral-scan-dialog__video {
	display: block;
	width: 100%;
	max-height: 52vh;
	border-radius: 12px;
	background: #000;
	object-fit: cover;
}

.netpro-referral-scan-dialog__hint {
	margin: 0.65rem 0;
	font-size: 0.82rem;
	color: #64748b;
	text-align: center;
}

html.netpro-referral-scan-open {
	overflow: hidden;
}

.netpro-referral-card__code-block {
	flex: 1 1 auto;
	min-width: 0;
}

.netpro-referral-card__code {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
}

.netpro-referral-card__code-copy {
	flex: 0 0 auto;
	padding: 0.35rem 0.65rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	font-size: 0.72rem;
	font-weight: 600;
	color: #1e3a5f;
	cursor: pointer;
}

.netpro-referral-card__apply-actions {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin-top: 0.55rem;
}

.netpro-referral-card__code-field {
	margin-bottom: 0;
	letter-spacing: 0.12em;
	font-variant-numeric: tabular-nums;
}

.netpro-referral-card__applied-name {
	margin: 0 0 0.25rem;
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
}

.netpro-referral-card__applied-code {
	margin: 0;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	color: #475569;
}

.netpro-profile-invite__card {
	margin: 0;
	border: none;
	background: transparent;
	padding: 0;
}

.netpro-settings-tg__referral-apply {
	margin: 0 0 0.85rem;
}

