/* Registration Thank-You (Full / IY) — distraction-free fullscreen onboarding page */
body.iy-regty-fullscreen {
	margin: 0;
	background: var(--bb-body-background-color, #f5f6f6);
}
/* Minimal top bar: logo left, logout right (no site nav) */
.iy-regty-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 28px;
	background: #fff;
	border-bottom: 1px solid var(--bb-content-border-color, #e4e4e4);
}
.iy-regty-bar__logo { display: inline-flex; align-items: center; font-weight: 800; color: #1c2b2c; text-decoration: none; }
.iy-regty-bar__logo a { display: inline-flex; align-items: center; line-height: 1.2; font-size: 15px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--iy-gold, #A77637); text-decoration: none; }
.iy-regty-bar__logo img,
.iy-regty-bar__logo .custom-logo {
	max-height: 36px !important;
	width: auto !important;
	height: auto !important;
	display: block;
}
.iy-regty-bar__right { display: inline-flex; align-items: center; gap: 22px; }
.iy-regty-bar__right .iy-lang-switcher { position: relative; }
/* The globe's hover balloon ("Language", BuddyBoss data-balloon-pos="down") is
   centred under the toggle. Invisible (opacity 0) but still laid out, so at the
   right screen edge it pushed the page ~7-16px wider than the phone = sideways
   scrolling on join/checkout. Anchor it to the toggle's right edge instead. */
.iy-regty-bar .iy-lang-toggle[data-balloon]::after {
	left: auto !important;
	right: 0 !important;
	transform: none !important;
}
.iy-regty-bar .iy-lang-toggle[data-balloon]::before {
	left: auto !important;
	right: 4px !important;
	transform: none !important;
}
.iy-regty-bar__logout {
	font-size: 13px;
	font-weight: 700;
	color: #6b6b6b;
	text-decoration: none;
	padding: 8px 16px;
	border: 1px solid var(--bb-content-border-color, #e4e4e4);
	border-radius: 100px;
	white-space: nowrap; /* narrow phones: the pill must not break into two lines */
	flex-shrink: 0;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.iy-regty-bar__logout:hover {
	color: var(--iy-teal, #3B6063);
	border-color: var(--iy-teal, #3B6063);
}

.iy-regty-screen {
	min-height: calc(100vh - 66px);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 8vh 16px 40px;
	box-sizing: border-box;
}

/* Onboarding checkout card (MemberPress form on the fullscreen template). */
.iy-onboarding-card {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	background: var(--iy-card, #fff);
	border: 1px solid var(--iy-line, #e6e6e6);
	border-radius: 20px; /* library card radius */
	padding: 30px 30px 34px;
	box-shadow: 0 10px 30px rgba(28, 43, 44, .06);
	box-sizing: border-box;
}
.iy-onboarding-card__title {
	margin: 0 0 18px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	color: var(--bb-headings-color, #1c2b2c);
}
.iy-onboarding-card__body input[type="text"],
.iy-onboarding-card__body input[type="email"],
.iy-onboarding-card__body input[type="password"],
.iy-onboarding-card__body input[type="tel"],
.iy-onboarding-card__body select,
.iy-onboarding-card__body .mp-form-row .mp-form-input {
	width: 100%;
	box-sizing: border-box;
}

.iy-regty {
	width: 100%;
	max-width: 620px;
	margin: 0;
	padding: 40px 32px;
	background: var(--iy-card, #fff);
	border: 1px solid var(--iy-line, #e4e4e4);
	border-radius: 20px; /* library card radius */
	text-align: center;
	box-sizing: border-box;
}

/* Path label above the h1 — eyebrow style (gold), flanked by short rules.
   Reads as a label, not a button. Both variants gold. */
.iy-regty__tag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	color: var(--iy-gold, #A77637);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.iy-regty__tag::before,
.iy-regty__tag::after {
	content: "";
	width: 20px;
	height: 2px;
	background: var(--iy-gold, #A77637);
	opacity: 0.55;
	flex: none;
}

.iy-regty__title {
	margin: 0 0 10px;
	font-size: 30px;
	font-weight: 700 !important; /* force-equal on both variants (kill Elementor/theme h1 overrides) */
	line-height: 1.15;
	color: var(--bb-headings-color, #1c2b2c);
}
.iy-regty__intro {
	margin: 0 auto 32px;
	max-width: 460px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--bb-alternate-text-color, #6b6b6b);
}

/* Steps */
.iy-regty__steps {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: stretch;
	text-align: left;
}
.iy-regty__step {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border: 1px solid var(--iy-line, #eee);
	border-radius: 12px;
	background: #fafafa;
}
.iy-regty__step.is-active {
	border-color: var(--iy-gold, #A77637);
	background: #fff;
	box-shadow: 0 0 0 2px rgba(167, 118, 55, 0.12);
}
.iy-regty__ico {
	width: 24px;
	height: 24px;
	flex: none;
}
.iy-regty__ico--done { fill: var(--iy-teal, #3B6063); }
.iy-regty__ico--active { fill: var(--iy-gold, #A77637); }
.iy-regty__steptitle {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #1c2b2c;
}

/* Form area (Zoho button / IY button / pending note) */
.iy-regty__form {
	margin-top: 14px;
	text-align: center;
}
/* Both variants render the same .zoho-prefill-btn (styled in custom.css). */
.iy-regty__pending {
	margin: 10px 0 0;
	font-size: 13px;
	color: #9a8052;
	font-style: italic;
}

/* Profile step (ticket 20): the /edit-profile/ form inside the registration
   card. .iy-flowup + .iy-pe carry the field styles; here only the frame. */
.iy-regty__panel.iy-flowup {
	max-width: none;
	margin: -4px 0 4px;
	padding: 22px 24px 8px;
	border: 1px solid var(--iy-line, #eee);
	border-radius: 12px; /* same as the step rows */
	background: #fff;
	text-align: left;
}
.iy-regty__panelintro {
	margin: 0 0 4px;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--bb-alternate-text-color, #6b6b6b);
}
/* A step that opens once the one before is done. */
.iy-regty__step.is-locked { opacity: .6; }
.iy-regty__ico--locked {
	display: grid !important;
	place-items: center;
	font-size: 20px;
	color: #8a8a8a;
}
.iy-regty__locknote {
	margin: -6px 0 0;
	padding-left: 4px;
	font-size: 13.5px;
	text-align: left;
	color: var(--bb-alternate-text-color, #6b6b6b);
}

@media (max-width: 680px) {
	.iy-regty { margin: 24px 14px; padding: 28px 20px; }
	.iy-regty__panel.iy-flowup { padding: 18px 14px 6px; }
	.iy-regty__title { font-size: 25px; }
}

/* License gate (locked content) */
.iy-gate {
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	background: var(--iy-card, #fff);
	border: 1px solid var(--iy-line, #e6e6e6);
	border-radius: 20px; /* library card radius */
	padding: 40px 32px 34px;
	box-shadow: 0 10px 30px rgba(28, 43, 44, .06);
	text-align: center;
	box-sizing: border-box;
}
.iy-gate__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 0 18px;
	border-radius: 50%;
	background: rgba(167, 118, 55, .12);
	color: var(--iy-gold, #A77637);
	font-size: 28px;
}
.iy-gate__title {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--bb-headings-color, #1c2b2c);
}
.iy-gate__text {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.55;
	color: #5d6b6c;
}
.iy-gate__cta { display: inline-block; }
.iy-gate__back {
	display: block;
	margin: 16px 0 0;
	font-size: 13px;
	color: #8a8a8a;
	text-decoration: none;
}
.iy-gate__back:hover { color: var(--iy-teal, #3B6063); }

/* Upgrade landing (gate CTA target) — sits inside .iy-onboarding-card, so no
   card chrome of its own (avoids a card-in-a-card). */
.iy-upgrade {
	width: 100%;
}
.iy-upgrade__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--iy-gold, #A77637);
}
.iy-upgrade__title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--bb-headings-color, #1c2b2c);
}
.iy-upgrade__sub { margin: 0 0 16px; font-size: 14px; color: #6b6b6b; line-height: 1.5; }
.iy-upgrade__price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 16px; }
.iy-upgrade__price .amt { font-size: 32px; font-weight: 900; color: #1c2b2c; }
.iy-upgrade__price .per { font-size: 13px; color: #8a8a8a; }
.iy-upgrade__feat { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.iy-upgrade__feat li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #333; line-height: 1.4; }
.iy-upgrade__feat li i { color: var(--iy-teal, #3B6063); font-size: 16px; flex: none; }
.iy-upgrade__cta { display: inline-block; }

/* Column wrapper: payment confirmation card stacked above the process card */
.iy-regty-col {
  width: 100%;
  max-width: 620px;
  display: grid;
  gap: 16px;
}

.iy-regty-col .iy-regty {
  max-width: none;
}

/* Payment confirmation card (own card, shown right after a successful payment) */
.iy-regty-paidcard {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: var(--iy-card, #fff);
  border: 1px solid var(--iy-line, #e4e4e4);
  border-radius: 20px; /* library card radius */
  text-align: left;
  box-sizing: border-box;
}

.iy-regty-paidcard i {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--iy-teal, #3b6063);
  color: #fff;
  font-size: 16px;
}

.iy-regty-paidcard b {
  display: block;
  font-size: 16px; /* matches .iy-regty__steptitle */
  line-height: 1.3;
  font-weight: 700;
  color: var(--bb-headings-color, #1c2b2c);
  margin-bottom: 3px;
}

.iy-regty-paidcard span {
  display: block; /* inline spans inherit the parent's 27px line strut — as a block its own line-height rules */
  font-size: 15px; /* matches .iy-regty__intro */
  line-height: 1.55;
  color: var(--bb-alternate-text-color, #6b6b6b);
}

/* "In review" state after the Zoho validation form was submitted */
.iy-regty__reviewnote {
  margin: 0 auto 14px;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--bb-alternate-text-color, #6b6b6b);
}

.iy-regty__help {
  margin: 0 auto;
  max-width: 460px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--bb-alternate-text-color, #6b6b6b);
}

.iy-regty__help + .iy-regty__help {
  margin-top: 10px;
}

.iy-regty__help a {
  font-weight: 600;
  color: var(--iy-teal, #3b6063);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Legal links at the bottom of every fullscreen onboarding page (ticket 9) */
.iy-onboarding-legal {
	/* the screen is a flex ROW: the footer must take a full row of its own,
	   otherwise it sits as a second column next to the page (2026-09-16) */
	flex: 0 0 100%;
	order: 99;
	display: flex;
	justify-content: center;
	gap: 18px;
	width: 100%;
	padding: 28px 16px 8px;
	font-size: 13px;
}
.iy-regty-screen {
	flex-wrap: wrap;
}
.iy-onboarding-legal a {
	color: var(--iy-ink-soft, #5A6C6A);
	text-decoration: none;
}
.iy-onboarding-legal a:hover {
	color: var(--iy-teal, #3B6063);
	text-decoration: underline;
}
/* Phones (ticket 3): log-out pill and legal links readable and tappable */
@media (max-width: 600px) {
	.iy-regty-bar__logout {
		font-size: 14px;
		padding: 11px 16px;
	}
	.iy-onboarding-legal {
		font-size: 14px;
	}
	.iy-onboarding-legal a {
		display: inline-block;
		padding: 10px 4px;
	}
}

/* Phones (ticket 3, mobile pass): the checkout nested three frames (screen
   padding + card padding + price box / form padding) and left ~250px for the
   fields. Slimmer frames, readable sizes, finger-sized secondary links. */
@media (max-width: 600px) {
	.iy-regty-bar { padding: 12px 16px; }
	.iy-regty-screen { padding: 24px 12px 32px; }
	.iy-onboarding-card { padding: 20px 14px 24px; }
	.iy-onboarding-card .iy-price-box { padding: 16px; }
	.iy-onboarding-card .iy-price-box__header {
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 8px 12px;
	}
	.iy-onboarding-card .iy-price-box__title { font-size: 22px; line-height: 1.2; }
	.iy-onboarding-card .iy-billing-head__sub { font-size: 14.5px; }
	.iy-onboarding-card .have-coupon-link {
		display: inline-block;
		padding: 9px 0;
		font-size: 15px;
	}
	.iy-onboarding-card input[type="checkbox"] {
		width: 22px;
		height: 22px;
		flex: none;
	}
	.iy-onboarding-legal { padding-top: 16px; gap: 0 8px; flex-wrap: wrap; text-align: center; }
	.iy-onboarding-legal a {
		display: inline-block;
		padding: 11px 8px;
		font-size: 14px;
	}
}
