/**
 * MSAD 2026 -- Register/checkout page (87982). Restyles Ultimate
 * Membership Pro's own registration form + checkout markup to match the
 * site's clean-input look used elsewhere (see .msad-h26__contact-input
 * etc. in contact-2026.css) -- same tokens, same shapes, none of the
 * plugin's own flat grey boxes. Applies regardless of which membership
 * level (?lid=) is being registered for, since every level renders the
 * exact same markup on this one page.
 */

body.page-id-87982 #brx-content {
	background: var(--h26-band, #F7F8FA);
	padding-bottom: 64px;
}

body.page-id-87982 .iump-register-form {
	max-width: 640px;
	margin: 40px auto 0;
	background: #fff;
	border: 1px solid var(--h26-border);
	border-radius: 14px;
	padding: 36px 38px;
	box-shadow: 0 14px 34px rgba(15, 25, 52, 0.08);
}

/* Field rows -------------------------------------------------------- */

body.page-id-87982 .iump-form-line-register {
	position: relative;
	margin-top: 18px;
}

body.page-id-87982 .iump-form-line-register:first-child {
	margin-top: 0;
}

body.page-id-87982 .iump-labels-register {
	display: block;
	font-weight: 700;
	font-size: 14px;
	color: var(--h26-navy, var(--brand-primary));
	margin-bottom: 7px;
}

body.page-id-87982 .iump-form-line-register input[type="text"],
body.page-id-87982 .iump-form-line-register input[type="email"],
body.page-id-87982 .iump-form-line-register input[type="tel"],
body.page-id-87982 .iump-form-line-register input[type="password"],
body.page-id-87982 select.iump-form-select {
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	border: 1.5px solid var(--h26-hairline, var(--h26-border));
	border-radius: 8px;
	padding: 12px 14px;
	font-family: var(--h26-font-body);
	font-size: 15.5px;
	color: var(--h26-text, #3b3f47);
	background: #fff;
}

/* Password fields get extra right padding so the show/hide eye icon
   never overlaps typed text. */
body.page-id-87982 .iump-form-line-register input[type="password"] {
	padding-right: 44px;
}

body.page-id-87982 .iump-form-line-register input::placeholder {
	color: var(--h26-muted, #5c6270);
	opacity: 1;
}

body.page-id-87982 .iump-form-line-register input:focus,
body.page-id-87982 .iump-form-select:focus {
	outline: var(--h26-focus, 2px solid var(--brand-secondary));
	outline-offset: 2px;
}

/* Show/hide password toggle, repositioned to sit inside the input. */
body.page-id-87982 .ihc-hide-pw {
	position: absolute;
	right: 14px;
	top: 24px;
	color: var(--h26-muted, #5c6270);
	cursor: pointer;
}

body.page-id-87982 .ihc-strength-wrapper {
	margin-top: 8px;
}

/* Checkbox groups (contact preference, etc.) -------------------------- */

body.page-id-87982 .iump-form-checkbox-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding-top: 4px;
}

/* Scoped to a direct child of the wrapper -- the OUTER row div (one per
   checkbox GROUP, e.g. contact preference) confusingly reuses this exact
   same class name too; without the child combinator this rule would also
   flex-ify that outer row. */
body.page-id-87982 .iump-form-checkbox-wrapper > .iump-form-checkbox {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 15px;
	color: var(--h26-text, #3b3f47);
}

body.page-id-87982 .iump-form-checkbox-wrapper > .iump-form-checkbox input[type="checkbox"] {
	accent-color: var(--brand-primary);
	width: 17px;
	height: 17px;
}

/* Checkout / membership summary --------------------------------------- */

body.page-id-87982 .ihc-checkout-page-left-side,
body.page-id-87982 .ihc-checkout-page-right-side {
	max-width: 640px;
	margin: 24px auto 0;
}

body.page-id-87982 .ihc-checkout-page-box-wrapper {
	background: #fff;
	border: 1px solid var(--h26-border);
	border-radius: 14px;
	padding: 24px 28px;
	margin-bottom: 20px;
	box-shadow: 0 14px 34px rgba(15, 25, 52, 0.08);
}

body.page-id-87982 .ihc-checkout-page-box-title {
	font-family: var(--h26-font-head);
	font-weight: 700;
	font-size: 20px;
	color: var(--h26-navy, var(--brand-primary));
	margin-bottom: 14px;
}

body.page-id-87982 .ihc-product-details-table {
	width: 100%;
	border-collapse: collapse;
}

body.page-id-87982 .ihc-product-name {
	font-weight: 700;
	color: var(--h26-navy, var(--brand-primary));
}

body.page-id-87982 .ihc-product-description {
	font-size: 14px;
	color: var(--h26-muted, #5c6270);
	margin-top: 4px;
}

body.page-id-87982 .ihc-product-price {
	font-weight: 700;
	font-size: 18px;
	color: var(--h26-navy, var(--brand-primary));
	text-align: right;
}

body.page-id-87982 .ihc-product-price-detail {
	font-weight: 500;
	font-size: 13px;
	color: var(--h26-muted, #5c6270);
}

body.page-id-87982 .ihc-checkout-page-input,
body.page-id-87982 .ihc-stripe-connect-form-card-name-wrap input {
	width: 100%;
	box-sizing: border-box;
	min-height: 46px;
	border: 1.5px solid var(--h26-hairline, var(--h26-border));
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 15px;
}

body.page-id-87982 .ihc-stripe-connect-form-card-number-input {
	border: 1.5px solid var(--h26-hairline, var(--h26-border));
	border-radius: 8px;
	padding: 12px 14px;
}

/* !important on colour/border here because checkout.css ships several
   overlapping rules for this button (plain, ".ihc-dynamic-price-wrapper
   ... button[type=submit]", ".ihc-register-{lid} ...") at specificities
   up to 3 classes deep -- rather than chase each one, target this
   button's own id (#ihc-apply-dynamic-price), which always outranks any
   number of class selectors regardless of how it's nested. */
body.page-id-87982 #ihc-apply-dynamic-price {
	min-height: 46px;
	padding: 0 20px;
	border: 2px solid var(--brand-primary, #1b2d59) !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: var(--brand-primary, #1b2d59) !important;
	font-weight: 700;
	font-size: 15px !important;
	line-height: normal !important;
	width: auto !important;
	height: auto !important;
	cursor: pointer;
	transition: background-color var(--h26-transition, 140ms ease), color var(--h26-transition, 140ms ease);
}

body.page-id-87982 #ihc-apply-dynamic-price:hover,
body.page-id-87982 #ihc-apply-dynamic-price:focus-visible {
	background: var(--brand-primary, #1b2d59) !important;
	color: #fff !important;
}

/* Final submit ("Register") -------------------------------------------- */

body.page-id-87982 .iump-submit-form {
	max-width: 640px;
	margin: 24px auto 0;
}

/* Same !important note as .ihc-checkout-page-apply above -- this exact
   button (id="ihc_submit_bttn") is the one templates.min.css targets via
   ".ihc-register-{lid} .iump-submit-form input", scoped per membership
   level, always with !important. */
body.page-id-87982 #ihc_submit_bttn {
	width: 100%;
	font-family: var(--h26-font-body);
	font-weight: 700 !important;
	font-size: 16px !important;
	padding: 0 28px !important;
	min-height: 52px;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--brand-cranberry) !important;
	color: var(--white) !important;
	text-transform: none !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color var(--h26-transition, 140ms ease), color var(--h26-transition, 140ms ease);
}

body.page-id-87982 #ihc_submit_bttn:hover,
body.page-id-87982 #ihc_submit_bttn:focus-visible {
	background: var(--brand-cranberry-700) !important;
	color: var(--white) !important;
}

@media (max-width: 700px) {
	body.page-id-87982 .iump-register-form,
	body.page-id-87982 .ihc-checkout-page-left-side,
	body.page-id-87982 .ihc-checkout-page-right-side,
	body.page-id-87982 .iump-submit-form {
		margin-left: 20px;
		margin-right: 20px;
	}
}
