/* ── Auth page shell ─────────────────────────────────────── */
.wbp-account-page {
	background: var(--wbp-cream);
}

.wbp-account-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	min-height: calc(100vh - 76px);
}

.wbp-account-form-panel {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem);
}

.wbp-account-form-panel__inner {
	width: min(100%, 520px);
}

.wbp-account-header {
	margin-bottom: var(--wbp-space-lg);
}

.wbp-account-title {
	margin: 0 0 var(--wbp-space-sm);
	font-family: var(--wbp-font-serif);
	line-height: 1.15;
}

.wbp-account-title__main {
	display: block;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	color: var(--wbp-green-deep);
}

.wbp-account-title__accent {
	display: block;
	margin-top: 0.35rem;
	font-size: clamp(1.125rem, 2vw, 1.35rem);
	font-weight: 600;
	color: var(--wbp-red-accent);
}

.wbp-account-subtitle {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--wbp-text-muted);
	max-width: 46ch;
}

.wbp-account-card {
	background: var(--wbp-white);
	border: 1px solid var(--wbp-border);
	border-radius: var(--wbp-radius-lg);
	box-shadow: var(--wbp-shadow-sm);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.wbp-account-card .wbp-tab-panel {
	display: none;
}

.wbp-account-card .wbp-tab-panel.is-active {
	display: block;
}

.wbp-account-footnote {
	margin: var(--wbp-space-md) 0 0;
	font-size: 0.875rem;
	color: var(--wbp-text-muted);
	line-height: 1.5;
}

/* ── Visual panel ────────────────────────────────────────── */
.wbp-account-visual-panel {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(2rem, 4vw, 3rem);
	background-color: var(--wbp-beige);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.wbp-account-visual-panel--has-graphic {
	background-color: var(--wbp-beige);
}

.wbp-account-visual-panel__content {
	position: relative;
	z-index: 1;
	width: min(100%, 440px);
	display: flex;
	flex-direction: column;
	gap: var(--wbp-space-lg);
	padding: clamp(1.5rem, 3vw, 2rem);
	background: rgba(255, 255, 255, 0.97);
	border: 1px solid var(--wbp-border);
	border-radius: var(--wbp-radius-lg);
	box-shadow: var(--wbp-shadow-md);
}

.wbp-account-visual-panel__eyebrow {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--wbp-green-primary);
}

.wbp-account-visual-panel__quote {
	margin: 0;
	padding: 0;
	border: none;
	font-family: var(--wbp-font-serif);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	line-height: 1.25;
	color: var(--wbp-green-deep);
}

.wbp-account-visual-panel__lead {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--wbp-text-muted);
}

.wbp-account-benefits {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.wbp-account-benefits li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--wbp-text);
}

.wbp-account-benefits__icon {
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: rgba(45, 90, 39, 0.12);
	color: var(--wbp-green-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
}

.wbp-account-visual-panel__note {
	padding: var(--wbp-space-md);
	border-radius: var(--wbp-radius-md);
	background: var(--wbp-cream);
	border: 1px solid var(--wbp-border);
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--wbp-text-muted);
}

.wbp-account-visual-panel__note strong {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--wbp-green-deep);
}

/* ── Auth forms ──────────────────────────────────────────── */
.wbp-auth-form__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin: 0.25rem 0 var(--wbp-space-md);
}

.wbp-auth-form__link {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wbp-green-deep);
	text-decoration: none;
}

.wbp-auth-form__link:hover {
	text-decoration: underline;
}

.wbp-auth-form__checks {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: var(--wbp-space-md);
}

.wbp-auth-form__submit {
	width: 100%;
	margin-top: 0.25rem;
}

.wbp-auth-divider {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: var(--wbp-space-lg) 0 var(--wbp-space-md);
	color: var(--wbp-text-muted);
	font-size: 0.8125rem;
	text-transform: lowercase;
}

.wbp-auth-divider::before,
.wbp-auth-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--wbp-border);
}

.wbp-btn--google {
	width: 100%;
	justify-content: center;
	gap: 0.5rem;
	background: var(--wbp-white);
	border: 1px solid var(--wbp-border);
	color: var(--wbp-text);
	font-weight: 600;
}

.wbp-btn--google:hover {
	background: var(--wbp-beige);
	border-color: var(--wbp-green-primary);
	color: var(--wbp-green-deep);
}

.wbp-form-message--success {
	background: #eef5ec;
	border-left: 4px solid var(--wbp-green-primary);
	color: var(--wbp-green-deep);
}

/* ── Role cards ──────────────────────────────────────────── */
.wbp-role-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--wbp-space-md);
	margin-bottom: var(--wbp-space-lg);
}

.wbp-role-card {
	appearance: none;
	text-align: left;
	padding: var(--wbp-space-md);
	border: 2px solid var(--wbp-border);
	border-radius: var(--wbp-radius-md);
	background: var(--wbp-white);
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.wbp-role-card:hover {
	border-color: rgba(45, 90, 39, 0.35);
}

.wbp-role-card.is-selected {
	border-color: var(--wbp-green-primary);
	box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.12);
}

.wbp-role-card__icon {
	display: block;
	font-size: 1.35rem;
	margin-bottom: 0.5rem;
	line-height: 1;
}

.wbp-role-card strong {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--wbp-green-deep);
	font-size: 0.9375rem;
}

.wbp-role-card span:last-child {
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--wbp-text-muted);
}

/* ── Trust strip ─────────────────────────────────────────── */
.wbp-account-trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--wbp-space-md);
	padding: var(--wbp-space-lg) 0 var(--wbp-space-xl);
	border-top: 1px solid var(--wbp-border);
}

.wbp-account-trust__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.35rem;
	font-size: 0.875rem;
	color: var(--wbp-text-muted);
}

.wbp-account-trust__icon {
	font-size: 1.25rem;
	line-height: 1;
}

.wbp-account-trust__item strong {
	color: var(--wbp-green-deep);
	font-size: 0.8125rem;
	font-weight: 600;
}

/* ── Onboarding (unchanged core) ───────────────────────── */
.wbp-onboarding-stepper {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.wbp-onboarding-step {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: var(--wbp-white);
	border: 1px solid var(--wbp-border);
	font-size: 0.75rem;
	color: var(--wbp-text-muted);
}

.wbp-onboarding-step.is-active {
	border-color: var(--wbp-green-primary);
	color: var(--wbp-green-deep);
	font-weight: 600;
}

.wbp-onboarding-step.is-done {
	background: #eef5ec;
}

.wbp-onboarding-step__num {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--wbp-beige);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.7rem;
}

.wbp-onboarding-step.is-active .wbp-onboarding-step__num {
	background: var(--wbp-green-deep);
	color: #fff;
}

@media (max-width: 1024px) {
	.wbp-account-layout {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.wbp-account-visual-panel {
		display: none;
	}

	.wbp-account-trust {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.wbp-role-cards {
		grid-template-columns: 1fr;
	}

	.wbp-account-trust {
		grid-template-columns: 1fr 1fr;
		gap: var(--wbp-space-sm);
	}
}
