/* Apex Login & Register — registration wizard
   Matches the provided mockup: one unified white card holding a progress
   bar, the active step's badge/title/fields, and text-link Back/Continue
   nav. Only the active step is shown; earlier/later steps stay hidden. */

.apexlr-register-wrap,
.apexlr-register-wrap * {
	box-sizing: border-box;
}

.apexlr-register-wrap {
	--apexlr-navy: #002559;
	--apexlr-navy-soft: #2a3a78;
	--apexlr-text: #5b6673;
	--apexlr-text-light: #9aa3ad;
	--apexlr-text-faint: #94a0ab;
	--apexlr-border: #dcdfe3;
	--apexlr-bg-soft: #f6f8fb;
	--apexlr-input-bg: #fdfdfc;
	--apexlr-card-border: #b0b0b0;
	--apexlr-track-bg: #e6e7e8;
	--apexlr-orange: #f68b1f;
	--apexlr-danger: #da2128;
	--apexlr-danger-bg: #fdecea;
	--apexlr-success: #1f9d55;
	--apexlr-radius-lg: 18px;
	--apexlr-radius-md: 12px;
	--apexlr-radius-sm: 9px;
	--apexlr-blue: #002559;
	--apexlr-red: #e8484f;
	--apexlr-purple: #9b4fd1;

	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--apexlr-text);
	max-width: 894px;
	margin: 0 auto;
	padding: 24px;
}

.apexlr-card {
	background: #fff;
	border: 1px solid var(--apexlr-card-border);
	border-radius: 10px;
	padding: 40px 48px 44px;
}

.apexlr-progress-header {
	margin-bottom: 40px;
}
.apexlr-nav-link.apexlr-nav-link--continue, .apexlr-nav-link.apexlr-nav-link--back{
	color: var(--apexlr-orange);
	padding: 12px 16px;
	background: initial;
	box-shadow: none;
}

.apexlr-progress-label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--apexlr-text-faint);
	margin-bottom: 10px;
}

.apexlr-progress-section-of {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
	color: #6b7684;
}

.apexlr-progress-track {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
}

.apexlr-progress-seg {
	flex: 1;
	height: 8px;
	border-radius: 3px;
	background: var(--apexlr-track-bg);
	transition: background 0.2s ease;
}

.apexlr-progress-seg.is-active,
.apexlr-progress-seg.is-complete {
	background: var(--apexlr-navy);
}

.apexlr-progress-labels {
	display: flex;
	justify-content: space-between;
	font-size: 11.5px;
	color: var(--apexlr-text-light);
	font-weight: 600;
}

.apexlr-progress-labels .is-active {
	color: var(--apexlr-navy);
}

.apexlr-global-alert {
	margin-bottom: 16px;
}

.apexlr-alert {
	border-radius: var(--apexlr-radius-sm);
	padding: 10px 14px;
	font-size: 13px;
}

.apexlr-alert-error {
	background: var(--apexlr-danger-bg);
	color: var(--apexlr-danger);
}

.apexlr-steps {
	display: flex;
	flex-direction: column;
}

.apexlr-step {
	transition: opacity 0.2s ease;
}

.apexlr-step--collapsed {
	display: none;
}

.apexlr-step-header {
	width: 100%;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 0;
	margin-bottom: 32px;
	background: none;
	border: none;
	text-align: left;
	cursor: default;
	font: inherit;
	color: inherit;
}

.apexlr-step--complete .apexlr-step-header {
	cursor: pointer;
}

.apexlr-step-badge {
	position: relative;
	flex-shrink: 0;
	width: 27px;
	height: 26px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	margin-top: 3px;
}

.apexlr-step--badge-blue .apexlr-step-badge {
	background: var(--apexlr-blue);
}

.apexlr-step--badge-orange .apexlr-step-badge {
	background: var(--apexlr-orange);
}

.apexlr-step--badge-red .apexlr-step-badge {
	background: var(--apexlr-red);
}

.apexlr-step--badge-purple .apexlr-step-badge {
	background: var(--apexlr-purple);
}

.apexlr-step-badge-check {
	display: none;
	align-items: center;
	justify-content: center;
}

.apexlr-step--complete .apexlr-step-badge-num {
	display: none;
}

.apexlr-step--complete .apexlr-step-badge-check {
	display: flex;
}

.apexlr-step-heading {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.apexlr-step-title {
	font-weight: 700;
	color: var(--apexlr-navy);
	font-size: 19px;
}

.apexlr-step-subtitle {
	font-size: 13.5px;
	color: var(--apexlr-text);
}

.apexlr-step--collapsed .apexlr-step-subtitle {
	display: none;
}

.apexlr-step-body {
	padding: 0;
}

.apexlr-step--collapsed .apexlr-step-body {
	display: none;
}

.apexlr-fields-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.apexlr-field {
	margin-bottom: 16px;
}

.apexlr-field label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--apexlr-navy);
	margin-bottom: 7px;
}

.apexlr-req {
	color: var(--apexlr-danger);
}

.apexlr-optional {
	color: var(--apexlr-text-light);
	font-weight: 500;
}

.apexlr-field input[type="text"],
.apexlr-field input[type="email"],
.apexlr-field input[type="tel"],
.apexlr-field input[type="url"],
.apexlr-field input[type="password"],
.apexlr-field select,
.apexlr-input-wrap input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--apexlr-border);
	border-radius: var(--apexlr-radius-sm);
	background-color: var(--apexlr-input-bg);
	font-size: 14px;
	color: var(--apexlr-navy);
	font-family: inherit;
}

.apexlr-field input::placeholder {
	color: #757575;
}

.apexlr-field input:focus,
.apexlr-field select:focus {
	outline: none;
	border-color: var(--apexlr-navy-soft);
	background-color: #fff;
}

.apexlr-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.apexlr-input-wrap input {
	padding-right: 40px;
}

.apexlr-toggle-visibility {
	position: absolute;
	right: 12px;
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	color: var(--apexlr-text-light);
	display: flex;
}

.apexlr-toggle-visibility .apexlr-icon-eye-off {
	display: none;
}

.apexlr-toggle-visibility.is-visible .apexlr-icon-eye-on {
	display: none;
}

.apexlr-toggle-visibility.is-visible .apexlr-icon-eye-off {
	display: flex;
}

.apexlr-hint {
	display: block;
	font-size: 11.5px;
	color: var(--apexlr-text-faint);
	margin-top: 6px;
}

.apexlr-field-error {
	display: block;
	color: var(--apexlr-danger);
	font-size: 12px;
	margin-top: 6px;
}

.apexlr-field-group {
	margin-bottom: 24px;
}

.apexlr-field-group h4 {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--apexlr-navy-soft);
	margin: 0 0 12px;
	border-left: 3px solid var(--apexlr-orange);
	padding-left: 10px;
}

.apexlr-checkbox-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 20px;
}

.apexlr-checkbox {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13.5px;
	color: var(--apexlr-text);
	cursor: pointer;
	padding: 9px 12px;
	border: 1px solid var(--apexlr-border);
	border-radius: var(--apexlr-radius-sm);
	background: var(--apexlr-bg-soft);
}

.apexlr-checkbox input {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	accent-color: var(--apexlr-navy);
}

.apexlr-legal-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.apexlr-legal-list .apexlr-checkbox {
	background: none;
	border: none;
	padding: 4px 0;
}

.apexlr-legal-list a {
	color: var(--apexlr-navy);
	font-weight: 700;
}

.apexlr-switch-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 4px 0 20px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--apexlr-navy);
	cursor: pointer;
}

.apexlr-switch {
	position: relative;
	display: inline-flex;
}

.apexlr-switch input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}

.apexlr-switch-track {
	width: 40px;
	height: 22px;
	border-radius: 999px;
	background: var(--apexlr-border);
	display: block;
	position: relative;
	transition: background 0.15s ease;
}

.apexlr-switch-thumb {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s ease;
}

.apexlr-switch input:checked + .apexlr-switch-track {
	background: var(--apexlr-blue);
}

.apexlr-switch input:checked + .apexlr-switch-track .apexlr-switch-thumb {
	transform: translateX(18px);
}

.apexlr-billing-subform {
	border-top: 1px dashed var(--apexlr-border);
	padding-top: 18px;
	margin-top: -4px;
}

.apexlr-step-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 28px;
	gap: 12px;
}

.apexlr-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	padding: 0;
	color: var(--apexlr-orange);
	font-weight: 500;
	font-size: 16px;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
}

.apexlr-nav-link:hover {
	text-decoration: underline;
}

.apexlr-nav-link .apexlr-icon-chevron {
	flex-shrink: 0;
}

.apexlr-nav-link--continue .apexlr-icon-chevron {
	transform: rotate(180deg);
}

.apexlr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--apexlr-radius-sm);
	font-weight: 700;
	font-size: 14.5px;
	padding: 12px 22px;
	border: none;
	cursor: pointer;
	text-decoration: none;
}

.apexlr-btn-block {
	width: 100%;
}

.apexlr-btn-primary {
	background: var(--apexlr-orange);
	color: #fff;
}

.apexlr-btn-primary:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.apexlr-btn-secondary {
	background: var(--apexlr-bg-soft);
	color: var(--apexlr-navy);
	border: 1px solid var(--apexlr-border);
}

.apexlr-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.apexlr-register-login-link {
	text-align: left;
	font-size: 12px;
	line-height: 1.33;
	color: var(--apexlr-navy);
	margin-top: 20px;
}

.apexlr-register-login-link a {
	color: var(--apexlr-orange);
	font-weight: 400;
	text-decoration: none;
}

.apexlr-register-login-link a:hover {
	text-decoration: underline;
}

.apexlr-already-in {
	max-width: 420px;
	margin: 24px auto;
	background: #fff;
	border: 1px solid var(--apexlr-border);
	border-radius: var(--apexlr-radius-md);
	padding: 24px;
	text-align: center;
}

.apexlr-already-in p {
	margin: 0 0 16px;
}

.apexlr-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 20, 50, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 9999;
}

.apexlr-modal-overlay[hidden] {
	display: none;
}

.apexlr-modal {
	position: relative;
	background: #fff;
	border-radius: var(--apexlr-radius-lg);
	max-width: 420px;
	width: 100%;
	padding: 40px 32px 32px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.apexlr-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: none;
	border: none;
	padding: 6px;
	cursor: pointer;
	color: var(--apexlr-text-light);
	display: flex;
}

.apexlr-modal-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--apexlr-success);
	color: #fff;
	margin: 0 auto 20px;
}

.apexlr-modal-check .apexlr-icon,
.apexlr-modal-close .apexlr-icon {
	position: static; /* login.css makes every .apexlr-icon absolute (for input icons) - that threw the check and the X out of place. */
	left: auto;
	pointer-events: none;
}

.apexlr-modal-check .apexlr-icon {
	width: 24px;
	height: 24px;
}

.apexlr-modal p:last-child {
	margin-bottom: 0;
}

.apexlr-modal h3 {
	font-size: 20px;
	color: var(--apexlr-navy);
	margin: 0 0 10px;
}

.apexlr-modal p {
	font-size: 13.5px;
	color: var(--apexlr-text);
	margin: 0 0 24px;
}

.apexlr-modal-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.g-recaptcha {
	margin-bottom: 8px;
}

@media (max-width: 600px) {
	.apexlr-fields-row,
	.apexlr-checkbox-grid {
		grid-template-columns: 1fr;
	}

	.apexlr-card {
		padding: 24px 20px 28px;
	}

	.apexlr-progress-labels span {
		display: none;
	}

	.apexlr-progress-labels .is-active {
		display: block;
	}
}
