/* Request page: Nels Home lead journey + vendor/customer actions */

.nh-request-view-page .nelshome-leads-journey,
.nh-request-view-page .nelshome-leads-reject,
.nh-request-view-page .nelshome-leads-report,
.nh-request-view-page .nelshome-leads-quota {
	font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nelshome-leads-quota--exhausted {
	border-color: rgba(220, 38, 38, 0.25);
	background: #fef2f2;
}

.nelshome-leads-quota__exhausted p {
	margin: 0 0 10px;
	color: #991b1b;
}

.nelshome-leads-quota-banner {
	margin: 0 0 20px;
	padding: 18px 20px;
	border: 1px solid rgba(220, 38, 38, 0.2);
	border-radius: 14px;
	background: #fef2f2;
	color: #7f1d1d;
}

.nelshome-leads-quota-banner__title {
	margin: 0 0 6px;
	font-size: 1rem;
	font-weight: 700;
}

.nelshome-leads-quota-banner__text {
	margin: 0 0 12px;
	font-size: 0.9375rem;
}

.nh-account-hub__body--leads .nelshome-leads-quota-banner {
	max-width: 920px;
}

.nelshome-leads-journey {
	margin: 0 0 24px;
	padding: 22px 22px 18px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	background: linear-gradient(165deg, #f8fafc 0%, #eef2ff 100%);
	font-size: 15px;
	line-height: 1.45;
	color: #0f172a;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.nelshome-leads-journey__title {
	margin: 0 0 0.35rem;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0b2d5b;
}

.nelshome-leads-journey__intro {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	color: #64748b;
}

.nelshome-leads-journey__steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: nlstep;
	display: grid;
	gap: 10px;
}

.nelshome-leads-journey__step {
	position: relative;
	margin: 0;
	padding: 0.75rem 0.75rem 0.75rem 2.85rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	counter-increment: nlstep;
}

.nelshome-leads-journey__step::before {
	content: counter(nlstep);
	position: absolute;
	left: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.75rem;
	text-align: center;
	background: #cbd5e1;
	color: #fff;
}

.nelshome-leads-journey__step--done {
	border-color: rgba(4, 120, 87, 0.25);
	background: #ecfdf5;
}

.nelshome-leads-journey__step--done::before {
	background: #059669;
}

.nelshome-leads-journey__step--current {
	border-color: rgba(27, 79, 216, 0.35);
	box-shadow: 0 0 0 1px rgba(27, 79, 216, 0.12);
	background: #fff;
}

.nelshome-leads-journey__step--current::before {
	background: #1b4fd8;
}

.nelshome-leads-journey__step--inactive {
	opacity: 0.72;
}

.nelshome-leads-journey__step--upcoming {
	opacity: 0.88;
}

.nelshome-leads-journey__label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.2rem;
	color: #0b2d5b;
}

.nelshome-leads-journey__hint {
	display: block;
	font-size: 0.875rem;
	color: #64748b;
}

.nelshome-leads-journey__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	font-size: 0.875rem;
	color: #64748b;
}

.nelshome-leads-journey__note {
	margin: 0.85rem 0 0;
	padding: 0.75rem 0.85rem;
	border-radius: 10px;
	background: #fffbeb;
	border: 1px solid rgba(217, 119, 6, 0.25);
	font-size: 0.875rem;
	color: #92400e;
}

.nelshome-leads-reject,
.nelshome-leads-report {
	margin: 20px 0;
	padding: 20px 22px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.nelshome-leads-reject {
	background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.nelshome-leads-report {
	background: #fff;
}

.nelshome-leads-reject__title,
.nelshome-leads-report__title {
	margin: 0 0 8px;
	font-size: 1rem;
	font-weight: 700;
	color: #0b2d5b;
}

.nelshome-leads-reject__text,
.nelshome-leads-report__text {
	margin: 0 0 14px;
	font-size: 0.9375rem;
	color: #64748b;
	line-height: 1.5;
}

.nelshome-leads-reject__btn {
	border-radius: 999px !important;
	font-weight: 700 !important;
	padding: 10px 18px !important;
}

.nelshome-leads-reject-msg,
.nelshome-leads-report-msg {
	display: block;
	margin-top: 10px;
	font-size: 0.875rem;
}

.nelshome-leads-report-reason {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 12px;
	font-family: inherit;
	font-size: 0.9375rem;
	line-height: 1.5;
	resize: vertical;
}

.nelshome-leads-report-reason:focus {
	outline: none;
	border-color: #1b4fd8;
	box-shadow: 0 0 0 3px rgba(27, 79, 216, 0.15);
}

.nelshome-leads-report__actions {
	margin: 12px 0 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.nelshome-leads-report__btn {
	border-radius: 999px !important;
	font-weight: 600 !important;
}

.nelshome-leads-quota {
	padding: 18px 20px;
	margin-bottom: 16px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.nelshome-leads-quota__title {
	margin: 0 0 12px;
	font-size: 1rem;
	font-weight: 700;
	color: #0b2d5b;
}

.nelshome-leads-quota__row {
	margin: 0 0 6px;
	font-size: 0.9375rem;
	color: #334155;
}

.nelshome-leads-quota__row strong {
	color: #0b2d5b;
}

@media (max-width: 767px) {
	.nelshome-leads-journey,
	.nelshome-leads-reject,
	.nelshome-leads-report {
		padding: 18px 16px;
	}
}
