.vpt-registration-page {
	background: var(--vp-color-bg);
}

.vpt-registration-hero {
	border-bottom: 1px solid var(--vp-color-border);
	background: var(--vp-color-surface);
}

.vpt-registration-hero__inner {
	display: grid;
	gap: var(--vp-space-5);
	align-items: end;
	padding-block: clamp(2.75rem, 5vw, 5rem);
}

.vpt-registration-eyebrow {
	margin: 0 0 var(--vp-space-2);
	color: var(--vp-bank-primary);
	font-size: var(--vp-font-size-sm);
	font-weight: var(--vp-font-weight-bold);
}

.vpt-registration-hero h1 {
	max-width: 18ch;
	margin: 0;
	font-size: clamp(2.35rem, 1.95rem + 1.7vw, 3.55rem);
}

.vpt-registration-hero__intro {
	max-width: 48rem;
	margin: var(--vp-space-4) 0 0;
	color: var(--vp-color-text-muted);
	font-size: var(--vp-font-size-lg);
}

.vpt-registration-login-link {
	display: inline-flex;
	align-items: center;
	gap: var(--vp-space-2);
	justify-self: start;
	color: var(--vp-bank-primary);
	font-size: var(--vp-font-size-sm);
	font-weight: var(--vp-font-weight-bold);
	text-decoration: none;
}

.vpt-registration-login-link:hover {
	text-decoration: underline;
}

.vpt-registration-login-link .vpt-icon {
	width: 1rem;
	height: 1rem;
}

.vpt-registration-section {
	padding-block: clamp(3rem, 7vw, 6.5rem);
	background: var(--vp-color-surface-muted);
}

.vpt-registration-grid {
	display: grid;
	gap: var(--vp-space-6);
	align-items: start;
}

.vpt-registration-card,
.vpt-registration-process,
.vpt-registration-success {
	border: 1px solid var(--vp-color-border);
	border-radius: var(--vp-radius-2xl);
	background: var(--vp-color-surface);
	box-shadow: var(--vp-shadow-sm);
}

.vpt-registration-card {
	padding: clamp(1.5rem, 3vw, 2.75rem);
}

.vpt-registration-card__head {
	max-width: 44rem;
	margin-bottom: var(--vp-space-7);
}

.vpt-registration-card__head h2,
.vpt-registration-process h2,
.vpt-registration-success h2 {
	margin: 0;
	font-size: clamp(1.7rem, 1.45rem + 0.8vw, 2.25rem);
}

.vpt-registration-card__head p,
.vpt-registration-process > p,
.vpt-registration-success > p {
	margin: var(--vp-space-3) 0 0;
	color: var(--vp-color-text-muted);
}

.vpt-registration-form-shell form {
	display: grid;
	gap: var(--vp-space-5);
}

.vpt-registration-form-shell p,
.vpt-registration-form-shell .div_text,
.vpt-registration-form-shell .req-text,
.vpt-registration-form-shell .form-row {
	margin-block: 0 var(--vp-space-4);
}

.vpt-registration-form-shell label {
	display: block;
	width: 100%;
	max-width: none;
	min-width: 0;
	box-sizing: border-box;
	margin-bottom: var(--vp-space-2);
	color: var(--vp-color-text-strong);
	font-size: var(--vp-font-size-sm);
	font-weight: var(--vp-font-weight-bold);
}

.vpt-registration-form-shell input[type="text"],
.vpt-registration-form-shell input[type="email"],
.vpt-registration-form-shell input[type="password"],
.vpt-registration-form-shell input[type="tel"],
.vpt-registration-form-shell input[type="number"],
.vpt-registration-form-shell input[type="date"],
.vpt-registration-form-shell select,
.vpt-registration-form-shell textarea {
	width: 100%;
	min-height: 3.25rem;
	border: 1px solid var(--vp-color-border-strong);
	border-radius: var(--vp-radius-md);
	background: #fff;
	color: var(--vp-color-text);
	padding: 0.75rem 0.9rem;
	font: inherit;
	transition: border-color var(--vp-duration-fast) var(--vp-ease), box-shadow var(--vp-duration-fast) var(--vp-ease);
}

.vpt-registration-form-shell textarea {
	min-height: 8rem;
	resize: vertical;
}

.vpt-registration-form-shell input:focus-visible,
.vpt-registration-form-shell select:focus-visible,
.vpt-registration-form-shell textarea:focus-visible {
	border-color: var(--vp-color-action);
	box-shadow: var(--vp-focus-ring);
	outline: none;
}

.vpt-registration-form-shell input[type="checkbox"],
.vpt-registration-form-shell input[type="radio"] {
	width: 1.15rem;
	height: 1.15rem;
	accent-color: var(--vp-color-action);
}

.vpt-registration-form-shell input[type="submit"],
.vpt-registration-form-shell button[type="submit"],
.vpt-registration-form-shell .button,
.vpt-registration-form-shell .buttons a {
	display: inline-flex;
	width: auto;
	min-height: 2.95rem;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--vp-color-action);
	border-radius: var(--vp-radius-pill);
	background: var(--vp-color-action);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: var(--vp-font-weight-bold);
	padding: 0.72rem 1.5rem;
	text-decoration: none;
}

.vpt-registration-form-shell input[type="submit"]:hover,
.vpt-registration-form-shell button[type="submit"]:hover,
.vpt-registration-form-shell .button:hover,
.vpt-registration-form-shell .buttons a:hover {
	background: var(--vp-color-action-hover);
	border-color: var(--vp-color-action-hover);
}

.vpt-registration-form-shell .err,
.vpt-registration-form-shell .error,
.vpt-registration-form-shell [role="alert"] {
	margin-bottom: var(--vp-space-5);
	border: 1px solid #f0b8b1;
	border-radius: var(--vp-radius-lg);
	background: #fff3f1;
	color: #8e2117;
	padding: var(--vp-space-4);
}

.vpt-registration-process {
	position: relative;
	overflow: hidden;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: var(--vp-color-surface-subtle);
}

.vpt-registration-process::before {
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: var(--vp-bank-accent);
	content: "";
}

.vpt-registration-steps {
	display: grid;
	gap: 0;
	margin: var(--vp-space-7) 0 0;
	padding: 0;
	list-style: none;
}

.vpt-registration-steps li {
	position: relative;
	display: grid;
	grid-template-columns: 2.4rem minmax(0, 1fr);
	gap: var(--vp-space-4);
	padding-bottom: var(--vp-space-6);
}

.vpt-registration-steps li:not(:last-child)::after {
	position: absolute;
	top: 2.25rem;
	bottom: 0.25rem;
	left: 1.15rem;
	width: 1px;
	background: var(--vp-color-border-strong);
	content: "";
}

.vpt-registration-step__number {
	position: relative;
	z-index: 1;
	display: grid;
	width: 2.35rem;
	height: 2.35rem;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	color: var(--vp-bank-primary);
	font-weight: var(--vp-font-weight-bold);
	box-shadow: inset 0 0 0 1px var(--vp-color-border);
}

.vpt-registration-steps strong {
	display: block;
	color: var(--vp-color-text-strong);
}

.vpt-registration-steps p {
	margin: var(--vp-space-1) 0 0;
	color: var(--vp-color-text-muted);
	font-size: var(--vp-font-size-sm);
}

.vpt-registration-process__login {
	margin-top: var(--vp-space-2);
	padding-top: var(--vp-space-5);
	border-top: 1px solid var(--vp-color-border);
}

.vpt-registration-process__login p {
	margin: 0 0 var(--vp-space-3);
	color: var(--vp-color-text-muted);
}

.vpt-registration-unavailable {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: var(--vp-space-4);
	align-items: start;
	border: 1px solid #c9deed;
	border-radius: var(--vp-radius-lg);
	background: #eef7fc;
	padding: var(--vp-space-5);
}

.vpt-registration-unavailable > span {
	display: grid;
	width: 2.5rem;
	height: 2.5rem;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	color: var(--vp-bank-primary);
}

.vpt-registration-unavailable .vpt-icon {
	width: 1.2rem;
	height: 1.2rem;
}

.vpt-registration-unavailable p {
	margin: var(--vp-space-2) 0 0;
	color: var(--vp-color-text-muted);
}

.vpt-registration-success {
	max-width: 46rem;
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.vpt-registration-success .vpt-button {
	margin-top: var(--vp-space-5);
}

@media (min-width: 56rem) {
	.vpt-registration-hero__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: var(--vp-space-8);
	}

	.vpt-registration-login-link {
		justify-self: end;
		margin-bottom: var(--vp-space-2);
	}

	.vpt-registration-grid {
		grid-template-columns: minmax(0, 1.4fr) minmax(20rem, 0.6fr);
		gap: var(--vp-space-7);
	}
}

/* Core 0.6.x native registration form sizing --------------------------------
 * Core supplies fields and validation. The theme only controls presentation.
 */
.vpt-registration-form-shell,
.vpt-registration-form-shell form {
	width: 100%;
	max-width: none;
	min-width: 0;
}

.vpt-registration-form-shell :where(
	.vp-registration-form,
	.vp-form,
	.vp-form-row,
	.vp-form-field,
	.vp-registration-field,
	.vp-field,
	.vp-field-row,
	.vp-field-wrap,
	.vp-input-wrap
) {
	width: 100%;
	max-width: none;
	min-width: 0;
	box-sizing: border-box;
}

.vpt-registration-form-shell input[type="text"],
.vpt-registration-form-shell input[type="email"],
.vpt-registration-form-shell input[type="password"],
.vpt-registration-form-shell input[type="tel"],
.vpt-registration-form-shell input[type="number"],
.vpt-registration-form-shell input[type="date"],
.vpt-registration-form-shell select,
.vpt-registration-form-shell textarea {
	display: block;
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
}

@media (min-width: 56rem) {
	.vpt-registration-form-shell form > :where(div, p, fieldset) {
		max-width: none;
	}
}

/* 0.1.30 — Native registration fields use the available form column width.
 * Core owns all field markup and logic; the theme only normalizes presentation.
 */
.vpt-registration-page .vpt-registration-card .vpt-registration-form-shell form,
.vpt-registration-page .vpt-registration-card .vpt-registration-form-shell form > :where(div, p, fieldset),
.vpt-registration-page .vpt-registration-card .vpt-registration-form-shell form :where(div, p, fieldset, label) {
	max-inline-size: none !important;
}

.vpt-registration-page .vpt-registration-card .vpt-registration-form-shell form > :where(div, p, fieldset) {
	inline-size: 100% !important;
}

.vpt-registration-page .vpt-registration-card .vpt-registration-form-shell input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.vpt-registration-page .vpt-registration-card .vpt-registration-form-shell select,
.vpt-registration-page .vpt-registration-card .vpt-registration-form-shell textarea {
	display: block !important;
	inline-size: 100% !important;
	width: 100% !important;
	max-inline-size: none !important;
	max-width: none !important;
	min-inline-size: 0 !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

@media (min-width: 56rem) {
	.vpt-registration-page .vpt-registration-card .vpt-registration-form-shell {
		inline-size: 100%;
	}

	.vpt-registration-page .vpt-registration-card .vpt-registration-form-shell form {
		inline-size: 100% !important;
		max-inline-size: none !important;
	}
}

/* 0.1.31 — Core 0.6.x native registration layout --------------------------
 * The form column defines the usable width. Native controls simply stretch to
 * that column. Checkbox/radio controls intentionally remain intrinsic.
 */
.vpt-registration-page .vpt-registration-form-shell {
	width: 100%;
	max-width: 44rem;
	min-width: 0;
}

.vpt-registration-page .vpt-registration-form-shell form {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	justify-items: stretch;
}

.vpt-registration-page .vpt-registration-form-shell form > *,
.vpt-registration-page .vpt-registration-form-shell :where(
	.vp-registration-form,
	.vp-form,
	.vp-form-row,
	.vp-form-field,
	.vp-registration-field,
	.vp-field,
	.vp-field-row,
	.vp-field-wrap,
	.vp-input-wrap,
	[class*="vp-"][class*="field"],
	[class*="vp-"][class*="row"],
	[class*="vp-"][class*="wrap"]
) {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	justify-self: stretch;
}

.vpt-registration-page .vpt-registration-form-shell input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.vpt-registration-page .vpt-registration-form-shell select,
.vpt-registration-page .vpt-registration-form-shell textarea {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
}

.vpt-registration-page .vpt-registration-form-shell input[type="checkbox"],
.vpt-registration-page .vpt-registration-form-shell input[type="radio"] {
	width: 1.15rem !important;
	max-width: 1.15rem !important;
	min-width: 1.15rem !important;
}

@media (max-width: 55.99rem) {
	.vpt-registration-page .vpt-registration-form-shell {
		max-width: none;
	}
}
/* 0.1.32 — Core 0.6.4 label/wrapper normalization --------------------------
 * Core may wrap a native text control inside its <label>. An inline-block
 * label then shrink-wraps to the control's intrinsic width, so width:100% on
 * the input only means 100% of that narrow label. Normal field labels therefore
 * participate in the full form-column width. Choice labels stay intrinsic.
 */
.vpt-registration-page .vpt-registration-form-shell label {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
}

.vpt-registration-page .vpt-registration-form-shell label:has(
	input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"])
),
.vpt-registration-page .vpt-registration-form-shell label:has(select),
.vpt-registration-page .vpt-registration-form-shell label:has(textarea) {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
}

.vpt-registration-page .vpt-registration-form-shell label:has(input[type="checkbox"]),
.vpt-registration-page .vpt-registration-form-shell label:has(input[type="radio"]) {
	display: inline-flex !important;
	width: auto !important;
	max-width: 100% !important;
	align-items: flex-start;
	gap: var(--vp-space-2);
}

.vpt-registration-page .vpt-registration-form-shell label > :where(
	input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
	select,
	textarea
) {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin-top: var(--vp-space-2);
}

@media (min-width: 56rem) {
	.vpt-registration-page .vpt-registration-card .vpt-registration-form-shell {
		width: min(100%, 44rem);
	}
}

