/**
 * Onboarding B2B post-Stripe — shortcode [avision_btob_onboarding]
 * Glass navy / or, scoped .avi-btob-onboarding
 */

.avi-btob-onboarding {
	--avi-btob-text: #f8fafc;
	--avi-btob-muted: rgba(248, 250, 252, 0.72);
	--avi-btob-navy: 15, 23, 42;
	--avi-btob-slate: 30, 41, 59;
	--avi-btob-gold: #f59e0b;
	--avi-btob-gold-soft: rgba(245, 158, 11, 0.35);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--avi-btob-text);
	line-height: 1.5;
	box-sizing: border-box;
	margin: 2rem auto;
	max-width: 440px;
	width: 100%;
	padding: 0 0.75rem;
}

.avi-btob-onboarding *,
.avi-btob-onboarding *::before,
.avi-btob-onboarding *::after {
	box-sizing: border-box;
}

.avi-btob-onboarding__card {
	padding: clamp(1.75rem, 4vw, 2.5rem);
	border-radius: 20px;
	background: linear-gradient(
		165deg,
		rgba(var(--avi-btob-slate), 0.58) 0%,
		rgba(var(--avi-btob-navy), 0.78) 50%,
		rgba(15, 23, 42, 0.88) 100%
	);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow:
		0 0 0 1px rgba(245, 158, 11, 0.12),
		0 12px 40px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.avi-btob-onboarding__title {
	font-size: clamp(1.35rem, 3vw, 1.6rem);
	font-weight: 800;
	margin: 0 0 0.35rem;
	letter-spacing: -0.02em;
}

.avi-btob-onboarding__intro {
	margin: 0 0 1.5rem;
	font-size: 0.9375rem;
	color: var(--avi-btob-muted);
}

.avi-btob-onboarding__label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--avi-btob-muted);
	margin-bottom: 0.5rem;
}

.avi-btob-onboarding__input {
	width: 100%;
	padding: 0.85rem 1rem;
	font-size: 1rem;
	color: var(--avi-btob-text);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.avi-btob-onboarding__input::placeholder {
	color: rgba(148, 163, 184, 0.9);
}

.avi-btob-onboarding__input:focus {
	outline: none;
	border-color: rgba(245, 158, 11, 0.55);
	box-shadow: 0 0 0 3px var(--avi-btob-gold-soft);
}

.avi-btob-onboarding__submit {
	display: block;
	width: 100%;
	margin-top: 1.35rem;
	padding: 0.9rem 1.25rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #0f172a;
	cursor: pointer;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 12px;
	background: linear-gradient(135deg, #fcd34d 0%, var(--avi-btob-gold) 45%, #d97706 100%);
	box-shadow: 0 6px 24px var(--avi-btob-gold-soft);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avi-btob-onboarding__submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 32px rgba(245, 158, 11, 0.4);
}

.avi-btob-onboarding__notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	border-radius: 10px;
}

.avi-btob-onboarding__notice--error {
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.35);
	color: #fecaca;
}

.avi-btob-onboarding__notice--success {
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.35);
	color: #a7f3d0;
}

.avi-btob-onboarding__login {
	text-align: center;
	padding: 1.5rem;
	color: var(--avi-btob-muted);
}

.avi-btob-onboarding__login a {
	color: var(--avi-btob-gold);
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	.avi-btob-onboarding__submit {
		transition: none;
	}
}
