/* Partner Studio v2 — modern onboarding surface */
:root {
	--bp2-ink: #10233f;
	--bp2-ink-soft: #3d516b;
	--bp2-mist: #e7eef5;
	--bp2-paper: rgba(255, 255, 255, 0.78);
	--bp2-teal: #0f766e;
	--bp2-teal-deep: #115e59;
	--bp2-sand: #d7c4a4;
	--bp2-glow: rgba(15, 118, 110, 0.28);
	--bp2-radius: 1.5rem;
	--bp2-font: "Outfit", "Segoe UI", sans-serif;
	--bp2-serif: "Source Serif 4", Georgia, serif;
}

.bp2Body,
.bp2Page,
.bp2App {
	font-family: var(--bp2-font) !important;
	background: transparent !important;
}

.bp2Body {
	min-height: 100%;
	background:
		radial-gradient(900px 520px at 8% -5%, rgba(15, 118, 110, 0.22), transparent 60%),
		radial-gradient(800px 480px at 100% 0%, rgba(215, 196, 164, 0.35), transparent 55%),
		radial-gradient(700px 500px at 70% 110%, rgba(16, 35, 63, 0.12), transparent 50%),
		linear-gradient(165deg, #f4f7fb 0%, #e9eef4 45%, #f7f3ea 100%) !important;
}

.bp2Scene {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	padding: 1.25rem 1.1rem 2.5rem;
	box-sizing: border-box;
	isolation: isolate;
}

.bp2Scene::before,
.bp2Scene::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
	z-index: -1;
	pointer-events: none;
	animation: bp2Float 12s ease-in-out infinite;
}

.bp2Scene::before {
	width: 180px;
	height: 180px;
	right: 4%;
	top: 8%;
	background: radial-gradient(circle, rgba(15, 118, 110, 0.35), transparent 70%);
}

.bp2Scene::after {
	width: 140px;
	height: 140px;
	left: 2%;
	bottom: 12%;
	background: radial-gradient(circle, rgba(215, 196, 164, 0.55), transparent 70%);
	animation-delay: -4s;
}

@keyframes bp2Float {
	0%, 100% { transform: translateY(0) scale(1); opacity: 0.85; }
	50% { transform: translateY(-18px) scale(1.05); opacity: 1; }
}

.bp2TopNav {
	margin-bottom: 1.25rem;
	gap: 0.75rem;
}

.bp2Brand {
	gap: 0.75rem;
}

.bp2Mark {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background:
		linear-gradient(145deg, var(--bp2-teal) 0%, var(--bp2-ink) 100%);
	box-shadow: 0 10px 24px var(--bp2-glow);
	position: relative;
}

.bp2Mark::after {
	content: "";
	position: absolute;
	inset: 10px;
	border: 2px solid rgba(255, 255, 255, 0.7);
	border-radius: 8px;
	border-right-color: transparent;
	transform: rotate(18deg);
}

.bp2BrandName {
	font-weight: 700 !important;
	font-size: 1.05rem !important;
	color: var(--bp2-ink) !important;
	letter-spacing: -0.02em;
}

.bp2BrandTag {
	font-size: 0.72rem !important;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--bp2-ink-soft) !important;
}

.bp2GhostLink {
	margin-right: 0.75rem;
	font-weight: 500;
}

.bp2GhostBtn.sapMBtn {
	border-radius: 999px !important;
}

.bp2Stage {
	gap: 1.25rem;
	align-items: stretch;
}

.bp2Rail {
	flex: 1 1 280px;
	max-width: 360px;
	padding: 1.6rem 1.4rem;
	border-radius: var(--bp2-radius);
	color: #f5f8fc;
	background:
		linear-gradient(160deg, rgba(16, 35, 63, 0.96) 0%, rgba(17, 94, 89, 0.92) 58%, rgba(15, 118, 110, 0.88) 100%);
	box-shadow: 0 24px 50px rgba(16, 35, 63, 0.28);
	position: relative;
	overflow: hidden;
	min-height: 520px;
}

.bp2Rail::before {
	content: "";
	position: absolute;
	inset: auto -30% -20% auto;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(215, 196, 164, 0.28), transparent 70%);
	pointer-events: none;
}

.bp2RailKicker {
	font-size: 0.72rem !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.72;
	margin-bottom: 0.55rem;
}

.bp2Rail .bp2RailTitle.sapMTitle,
.bp2RailTitle {
	color: #ffffff !important;
	font-family: var(--bp2-serif) !important;
	font-weight: 600 !important;
	font-size: 2rem !important;
	line-height: 1.15 !important;
	margin-bottom: 0.65rem;
}

.bp2RailCopy {
	color: rgba(245, 248, 252, 0.82) !important;
	line-height: 1.5 !important;
	margin-bottom: 1.5rem;
}

.bp2Stepper {
	gap: 0;
	margin-bottom: 1.5rem;
}

.bp2StepRow {
	gap: 0.75rem;
	opacity: 0.45;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.bp2StepRow.is-on {
	opacity: 0.85;
}

.bp2StepRow.is-current {
	opacity: 1;
	transform: translateX(4px);
}

.bp2Dot {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.75);
	border: 1.5px solid rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.06);
	transition: all 0.35s ease;
}

.bp2StepRow.is-on .bp2Dot {
	background: rgba(215, 196, 164, 0.2);
	border-color: rgba(215, 196, 164, 0.65);
	color: #fff;
}

.bp2StepRow.is-current .bp2Dot {
	background: #d7c4a4;
	border-color: #d7c4a4;
	color: #10233f;
	box-shadow: 0 0 0 6px rgba(215, 196, 164, 0.2);
}

.bp2Stem {
	width: 2px;
	height: 18px;
	margin: 0.2rem 0 0.2rem 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
}

.bp2StepLabel {
	color: #fff !important;
	font-weight: 600 !important;
	font-size: 0.92rem !important;
}

.bp2StepCaption {
	color: rgba(255, 255, 255, 0.65) !important;
	font-size: 0.75rem !important;
}

.bp2Progress.sapMPI {
	margin-top: auto;
	background: rgba(255, 255, 255, 0.12) !important;
	border-radius: 999px !important;
}

.bp2Progress .sapMPIBar {
	background: #d7c4a4 !important;
}

.bp2Progress .sapMPIText {
	color: rgba(255, 255, 255, 0.9) !important;
}

.bp2Canvas {
	flex: 2 1 520px;
	min-width: min(100%, 320px);
	padding: 1.5rem 1.4rem 1.1rem;
	border-radius: var(--bp2-radius);
	background: var(--bp2-paper);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.7);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.8) inset,
		0 18px 48px rgba(16, 35, 63, 0.1);
}

.bp2Panel {
	animation: bp2PanelIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes bp2PanelIn {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: translateY(0); }
}

.bp2PanelTitle {
	font-family: var(--bp2-serif) !important;
	font-size: 1.65rem !important;
	font-weight: 600 !important;
	color: var(--bp2-ink) !important;
	letter-spacing: -0.02em;
	margin-bottom: 0.35rem;
}

.bp2PanelLead {
	color: var(--bp2-ink-soft) !important;
	line-height: 1.5 !important;
	margin-bottom: 1.25rem;
	max-width: 40rem;
}

.bp2SearchGrid {
	gap: 0.85rem;
	margin-bottom: 0.75rem;
}

.bp2Field {
	flex: 1 1 160px;
}

.bp2FieldWide {
	flex: 2 1 240px;
}

.bp2Field .sapMLabel {
	margin-bottom: 0.25rem;
	color: var(--bp2-ink-soft);
}

.bp2Canvas .sapMInputBaseContentWrapper,
.bp2Canvas .sapMSlt {
	border-radius: 0.85rem !important;
	border-color: rgba(16, 35, 63, 0.12) !important;
	background: rgba(255, 255, 255, 0.92) !important;
	min-height: 2.6rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bp2Canvas .sapMInputBaseContentWrapper:focus-within,
.bp2Canvas .sapMSlt:focus-within {
	border-color: var(--bp2-teal) !important;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.bp2Toolbar {
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.bp2Hint {
	color: #6b7c90 !important;
	font-size: 0.84rem !important;
	max-width: 28rem;
}

.bp2Primary.sapMBtn,
.bp2Primary .sapMBtnInner {
	border-radius: 999px !important;
}

.bp2Primary .sapMBtnInner {
	background: linear-gradient(120deg, var(--bp2-teal) 0%, var(--bp2-teal-deep) 100%) !important;
	border: none !important;
	color: #fff !important;
	font-weight: 600 !important;
	padding-left: 1.15rem !important;
	padding-right: 1.15rem !important;
	box-shadow: 0 10px 22px var(--bp2-glow);
}

.bp2Primary:hover .sapMBtnInner {
	filter: brightness(1.05);
}

.bp2SectionLabel {
	font-size: 0.75rem !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600 !important;
	color: var(--bp2-ink-soft) !important;
	margin-bottom: 0.4rem;
}

.bp2CardList {
	border: none !important;
	background: transparent !important;
	margin-top: 0.5rem;
}

.bp2CardList .sapMListUl {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.bp2CompanyCard {
	border: 1px solid rgba(16, 35, 63, 0.08) !important;
	border-radius: 1rem !important;
	background: rgba(255, 255, 255, 0.9) !important;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bp2CompanyCard:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(16, 35, 63, 0.1);
	border-color: rgba(15, 118, 110, 0.35) !important;
}

.bp2CardList .sapMLIBSelected.bp2CompanyCard,
.bp2CompanyCard.sapMLIBSelected {
	border-color: var(--bp2-teal) !important;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2), 0 14px 28px rgba(16, 35, 63, 0.08);
	background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), #fff) !important;
}

.bp2CompanyInner {
	padding: 0.95rem 1rem;
	gap: 0.2rem;
}

.bp2CompanyName {
	color: var(--bp2-ink) !important;
	font-weight: 650 !important;
}

.bp2CompanyMeta,
.bp2CompanyAddr,
.bp2CompanyAteco {
	color: var(--bp2-ink-soft) !important;
	font-size: 0.84rem !important;
}

.bp2CompanyAteco {
	opacity: 0.85;
}

.bp2RoleDeck {
	margin-top: 0.75rem;
	padding: 1rem 1.05rem;
	border-radius: 1rem;
	background:
		linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(215, 196, 164, 0.18));
	border: 1px solid rgba(15, 118, 110, 0.14);
}

.bp2ReviewCard {
	padding: 1.15rem 1.2rem;
	border-radius: 1.1rem;
	background: linear-gradient(180deg, #f7faf9 0%, #ffffff 100%);
	border: 1px solid rgba(16, 35, 63, 0.08);
	min-height: 100%;
	box-sizing: border-box;
	box-shadow: 0 10px 24px rgba(16, 35, 63, 0.04);
}

.bp2ReviewName {
	font-family: var(--bp2-serif) !important;
	margin-bottom: 0.55rem;
	color: var(--bp2-ink) !important;
}

.bp2LaunchBar {
	margin-top: 1.1rem;
}

.bp2Launch .sapMBtnInner {
	min-width: 15rem;
	min-height: 2.75rem;
}

.bp2Footer {
	margin-top: 1.35rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(16, 35, 63, 0.08);
}

.bp2SuccessScene {
	min-height: 75vh;
}

.bp2SuccessCard {
	width: min(480px, 100%);
	padding: 2.4rem 1.8rem;
	border-radius: 1.6rem;
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.75);
	box-shadow: 0 24px 60px rgba(16, 35, 63, 0.14);
	text-align: center;
	position: relative;
	overflow: hidden;
	animation: bp2PanelIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.bp2SuccessBurst {
	position: absolute;
	inset: -40% -20% auto;
	height: 220px;
	background: radial-gradient(circle, rgba(15, 118, 110, 0.18), transparent 70%);
	pointer-events: none;
}

.bp2SuccessIcon {
	font-size: 2.8rem !important;
	margin-bottom: 0.6rem;
}

.bp2SuccessTitle {
	font-family: var(--bp2-serif) !important;
	font-size: 2rem !important;
	color: var(--bp2-ink) !important;
}

.bp2SuccessText {
	color: var(--bp2-ink-soft) !important;
	line-height: 1.5 !important;
}

@media (max-width: 900px) {
	.bp2Rail {
		max-width: none;
		min-height: 0;
	}

	.bp2RailTitle {
		font-size: 1.55rem !important;
	}
}

@media (max-width: 600px) {
	.bp2Scene {
		padding: 0.85rem 0.7rem 1.75rem;
	}

	.bp2Canvas,
	.bp2Rail {
		padding: 1.15rem 1rem;
		border-radius: 1.15rem;
	}

	.bp2PanelTitle {
		font-size: 1.35rem !important;
	}
}
