/* صفحه ورود/ثبت‌نام: بدون هدر/فوتر سایت، تمام‌صفحه و متمرکز */
html:has(.negin-auth-body) { height: 100%; }
.negin-auth-body { margin: 0; min-height: 100vh; background: var(--negin-surface); }

.negin-auth-page {
	display: grid;
	grid-template-columns: 1fr;
	min-height: 100vh;
}
@media (min-width: 900px) {
	.negin-auth-page { grid-template-columns: 5fr 6fr; }
}

/* ---- پنل برند (سمت راست در دسکتاپ) ---- */
.negin-auth-brand {
	display: none;
	position: relative;
	background: linear-gradient(155deg, var(--negin-ink) 0%, var(--negin-ink-2) 100%);
	color: var(--negin-cream);
	padding: 40px 48px;
	flex-direction: column;
	justify-content: space-between;
}
@media (min-width: 900px) {
	.negin-auth-brand { display: flex; }
}
.negin-auth-logo { display: inline-block; color: #fff; font-size: 18px; font-weight: 700; }
.negin-auth-logo img { max-height: 34px; filter: brightness(0) invert(1); }

.negin-auth-brand-content { max-width: 420px; }
.negin-auth-brand-content .negin-eyebrow { margin-bottom: 16px; }
.negin-auth-brand-content h1 {
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.5;
	font-weight: 700;
	margin: 0 0 28px;
}
.negin-auth-brand-content h1 em { font-style: normal; color: var(--negin-gold); }

.negin-auth-benefits { display: flex; flex-direction: column; gap: 14px; }
.negin-auth-benefits li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	color: rgba(246,241,228,.85);
}
.negin-auth-benefits li::before {
	content: '';
	width: 8px;
	height: 8px;
	flex-shrink: 0;
	background: var(--negin-gold);
	clip-path: polygon(50% 0%, 90% 35%, 78% 100%, 22% 100%, 10% 35%);
}

/* ---- پنل فرم (سمت چپ در دسکتاپ) ---- */
.negin-auth-form-panel {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 24px;
}
.negin-auth-form-wrap { width: 100%; max-width: 380px; }

.negin-auth-form-wrap h2 { font-size: 21px; margin: 0 0 22px; }

.negin-auth-tabs {
	display: flex;
	gap: 4px;
	background: var(--negin-bg);
	border-radius: var(--negin-radius-sm);
	padding: 4px;
	margin-bottom: 28px;
}
.negin-auth-tabs a {
	flex: 1;
	text-align: center;
	padding: 10px;
	border-radius: calc(var(--negin-radius-sm) - 2px);
	font-size: 14px;
	font-weight: 600;
	color: var(--negin-muted);
	transition: background .15s ease, color .15s ease;
}
.negin-auth-tabs a.is-active { background: var(--negin-surface); color: var(--negin-text); box-shadow: 0 2px 6px rgba(20,20,30,.08); }

.negin-auth-form p { margin-bottom: 16px; }
.negin-auth-form input { max-width: 100%; }
.negin-auth-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; font-size: 12.5px; }
.negin-auth-checkbox { display: flex; align-items: center; gap: 6px; font-weight: 400; color: var(--negin-muted); }
.negin-auth-checkbox input { width: auto; }
.negin-auth-row a { color: var(--negin-primary); font-weight: 600; }

.negin-btn-block { width: 100%; justify-content: center; padding: 12px; font-size: 14.5px; }
.negin-auth-hint { font-size: 13px; color: var(--negin-muted); margin-top: 18px; text-align: center; }
.negin-auth-hint a { color: var(--negin-primary); font-weight: 600; }

@media (max-width: 899px) {
	.negin-auth-form-panel { padding: 32px 20px; min-height: 100vh; }
}
