/*
 * CSI MemberPress Registration Pages — Funnel Design Alignment
 *
 * Scope: body.single-memberpressproduct
 *
 * Inherits the full funnel palette, atmosphere layer, and component
 * language from chipstock-mockup-v3 / pricing-app.
 *
 * No content or logic changes — pure visual refinement.
 *
 * Palette reference:
 *   Midnight Navy  : #020617
 *   Deep Purple    : #0A002E
 *   Dark Indigo    : #050015
 *   Accent Blue    : #0066FF
 *   Accent Pink    : #FF00E5
 *   Electric Purple: rgba(212, 0, 255, 0.3)
 */

/* =====================================================================
   DESIGN TOKENS
   ===================================================================== */
body.single-memberpressproduct {
	--csi-bg:             #020617;
	--csi-deep-purple:    #0A002E;
	--csi-dark-indigo:    #050015;
	--csi-image-purple:   #4E0380;
	--csi-image-deep:     #11003B;

	--csi-blue:           #0066FF;
	--csi-pink:           #FF00E5;
	--csi-cyan:           #00F0FF;
	--csi-purple:         rgba(212, 0, 255, 0.3);
	--csi-green:          #22C55E;
	--csi-green-2:        #00FBDE;

	--csi-text:           #FFFFFF;
	--csi-text-muted:     rgba(255, 255, 255, 0.72);
	--csi-text-faint:     rgba(255, 255, 255, 0.50);

	--csi-border:         rgba(255, 255, 255, 0.10);
	--csi-border-strong:  rgba(255, 255, 255, 0.18);

	--csi-card-bg:        rgba(8, 6, 18, 0.88);
	--csi-ease:           cubic-bezier(0.4, 0, 0.2, 1);
	--csi-radius-card:    16px;
	--csi-radius-input:   8px;
	--csi-radius-btn:     999px;
}


/* =====================================================================
   PAGE CANVAS — deep navy-to-purple gradient background
   ===================================================================== */
body.single-memberpressproduct,
body.single-memberpressproduct.elementor-kit-993,
body.single-memberpressproduct.elementor {
	background-color:   var(--csi-bg) !important;
	background-image:   linear-gradient(180deg, #020617 0%, #11003B 33%, #4E0380 66%, #050015 100%) !important;
	background-attachment: initial !important;
	background-size:    cover !important;
	min-height: 100vh;
	overflow-x: hidden;
}

/* =====================================================================
   ATMOSPHERE LAYER — matches funnel .atmosphere + .grid-lines classes
   ===================================================================== */

/* Radial glow atmosphere: purple top, blue left-mid, pink right-mid */
body.single-memberpressproduct #page::before,
body.single-memberpressproduct .site::before {
	content: "";
	position: fixed;
	inset: 0;
	background:
		radial-gradient(circle at 50% 0%,    rgba(212, 0, 255, 0.30), transparent 70%),
		radial-gradient(circle at 15% 50%,   rgba(0, 102, 255, 0.20), transparent 60%),
		radial-gradient(circle at 85% 50%,   rgba(255, 0, 229, 0.20), transparent 60%),
		linear-gradient(180deg, #020617 0%, #11003B 33%, #4E0380 66%, #050015 100%);
	pointer-events: none;
	z-index: 0;
}

/* Subtle circuit grid — matches funnel .grid-lines */
body.single-memberpressproduct #page::after,
body.single-memberpressproduct .site::after {
	content: "";
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 40px 40px;
	pointer-events: none;
	z-index: 0;
}

/* =====================================================================
   LAYOUT — ensure all content layers sit above the atmospheric bg
   ===================================================================== */
body.single-memberpressproduct #page,
body.single-memberpressproduct .site {
	background: transparent !important;
	position: relative;
}

body.single-memberpressproduct .site-main,
body.single-memberpressproduct #content,
body.single-memberpressproduct .page-header,
body.single-memberpressproduct .page-content,
body.single-memberpressproduct .elementor-section-wrap,
body.single-memberpressproduct .elementor,
body.single-memberpressproduct .elementor-inner {
	position: relative;
	z-index: 1;
	background: transparent !important;
	background-image: none !important;
	background-color: transparent !important;
}

/* Nav + footer above atmospheric bg */
body.single-memberpressproduct .site-header,
body.single-memberpressproduct .site-footer {
	position: relative;
	z-index: 10;
}


/* =====================================================================
   PAGE TITLE  ("SEMICONDUCTOR INSIDER MONTHLY")
   ===================================================================== */
body.single-memberpressproduct .page-header {
	text-align: center;
	padding: clamp(36px, 5vw, 72px) 20px clamp(20px, 3vw, 36px);
	background: transparent;
}

body.single-memberpressproduct h1.entry-title {
	font-family: "Spectral", "Source Serif 4", ui-serif, Georgia, serif;
	font-size: clamp(1.75rem, 4.5vw, 3rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	line-height: 1.08;
	color: #FFFFFF !important;
	background: none !important;
	-webkit-text-fill-color: #FFFFFF !important;
	text-shadow:
		0 0 1px  rgba(255, 255, 255, 0.70),
		0 0 28px rgba(255, 0, 229, 0.55),
		0 0 60px rgba(212, 0, 255, 0.30);
	margin: 0;
}

/* Decorative gradient rule below the title */
body.single-memberpressproduct .page-header::after {
	content: "";
	display: block;
	width: min(80%, 360px);
	height: 1px;
	margin: 20px auto 0;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 0, 229, 0.45),
		rgba(0, 102, 255, 0.45),
		transparent
	);
}


/* =====================================================================
   FORM WRAPPER — glassmorphism card, centered
   ===================================================================== */
body.single-memberpressproduct .mp_wrapper {
	max-width: 680px;
	width: 100%;
	margin: clamp(34px, 6vw, 72px) auto clamp(60px, 8vw, 100px);
	padding: 0 10px;
	position: relative;
	z-index: 1;
}

body.single-memberpressproduct .mepr-signup-form,
body.single-memberpressproduct .mepr-form {
	background:
		radial-gradient(120% 75% at 50% -12%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 22%, rgba(255, 255, 255, 0) 56%),
		var(--csi-card-bg) !important;
	border: 1px solid var(--csi-border) !important;
	border-radius: var(--csi-radius-card) !important;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	padding: clamp(28px, 4vw, 48px) clamp(24px, 4.5vw, 44px) !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 0 0 1px rgba(255, 0, 229, 0.10),
		0 30px 80px rgba(0, 0, 0, 0.85),
		0 0 90px rgba(255, 0, 229, 0.06) !important;
	position: relative;
	overflow: visible;
	margin-top: 0;
}

/* Top-edge shimmer line on the card */
body.single-memberpressproduct .mepr-signup-form::before {
	content: "";
	position: absolute;
	top: 0;
	left: 20%;
	right: 20%;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 0, 229, 0.50),
		rgba(0, 102, 255, 0.50),
		transparent
	);
	pointer-events: none;
}

/* Corner accent borders — matches funnel corner-border pattern */
body.single-memberpressproduct .mepr-signup-form::after {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: var(--csi-radius-card);
	border: 1.5px solid transparent;
	background:
		linear-gradient(#0a0616, #0a0616) padding-box,
		linear-gradient(135deg, rgba(0, 102, 255, 0.55) 0%, transparent 35%, transparent 65%, rgba(255, 0, 229, 0.55) 100%) border-box;
	pointer-events: none;
	z-index: -1;
}


/* =====================================================================
   PRICE / TERMS ROW
   ===================================================================== */
body.single-memberpressproduct .mp-form-row.mepr_price {
	display: block;
	padding: 0 0 14px;
	margin: 0 0 20px;
	border-bottom: 1px solid var(--csi-border);
	position: relative;
}

body.single-memberpressproduct .mp-form-row.mepr_price::before {
	content: var(--csi-register-product-title, "Membership Checkout");
	display: block;
	font-family: "Spectral", "Source Serif 4", ui-serif, Georgia, serif;
	font-size: clamp(1.2rem, 2vw, 1.7rem);
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.08;
	white-space: pre-line;
	hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
	text-transform: uppercase;
	color: #FFFFFF;
	background: none;
	-webkit-background-clip: unset;
	background-clip: unset;
	-webkit-text-fill-color: #FFFFFF;
	text-align: center;
	padding: 2px 0 0;
	text-shadow:
		0 0 1px  rgba(255, 255, 255, 0.70),
		0 0 28px rgba(255, 0, 229, 0.55),
		0 0 60px rgba(212, 0, 255, 0.30);
	animation: none;
}

body.single-memberpressproduct.postid-12765 .mp-form-row.mepr_price::before {
	content: "1 Hour Chip Stock Investor\A 1-On-1 Consultation";
}

/* Remove now-empty hero spacer container on the three live register products */
body.single-memberpressproduct.postid-12763 .elementor-element.elementor-element-1d212899,
body.single-memberpressproduct.postid-12764 .elementor-element.elementor-element-1d212899,
body.single-memberpressproduct.postid-12765 .elementor-element.elementor-element-1d212899 {
	display: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}


body.single-memberpressproduct .mepr_price_cell_label {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	font-family: "Inter", "IBM Plex Sans", system-ui, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--csi-text-faint);
}

body.single-memberpressproduct .mepr_price_cell {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	font-family: "Spectral", ui-serif, Georgia, serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--csi-text);
}

/* Belt-and-suspenders: if any plugin CSS flips display back on, keep row text hidden */
body.single-memberpressproduct .mp-form-row.mepr_price .mepr_price_cell_label,
body.single-memberpressproduct .mp-form-row.mepr_price .mepr_price_cell {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
}


/* =====================================================================
   FORM ROWS
   ===================================================================== */
body.single-memberpressproduct .mp-form-row {
	margin-bottom: 16px;
	position: relative;
}

body.single-memberpressproduct .mp-form-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
}

body.single-memberpressproduct .mp-form-label label {
	font-family: "Spectral", "Source Serif 4", ui-serif, Georgia, serif;
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.10em;
	color: var(--csi-text-faint);
	display: block;
}

body.single-memberpressproduct .mp-form-label .cc-error {
	font-size: 0.70rem;
	color: #FF5A5A;
	letter-spacing: 0.02em;
}


/* =====================================================================
   INPUTS (text, email, password, select, textarea)
   ===================================================================== */
body.single-memberpressproduct .mepr-form-input,
body.single-memberpressproduct input.mepr-form-input,
body.single-memberpressproduct select.mepr-form-input,
body.single-memberpressproduct textarea.mepr-form-input {
	width: 100% !important;
	background:  rgba(255, 255, 255, 0.04) !important;
	border:      1px solid rgba(255, 255, 255, 0.10) !important;
	border-radius: var(--csi-radius-input) !important;
	color:       #FFFFFF !important;
	font-family: "Spectral", "Source Serif 4", ui-serif, Georgia, serif;
	font-size:   0.9375rem !important;
	line-height: 1.5;
	padding:     11px 14px !important;
	outline:     none !important;
	box-shadow:  none !important;
	-webkit-appearance: none;
	appearance:  none;
	transition:  border-color 0.2s var(--csi-ease), box-shadow 0.2s var(--csi-ease), background 0.2s var(--csi-ease);
}

body.single-memberpressproduct .mepr-form-input:focus,
body.single-memberpressproduct input.mepr-form-input:focus,
body.single-memberpressproduct select.mepr-form-input:focus,
body.single-memberpressproduct textarea.mepr-form-input:focus {
	border-color: rgba(0, 102, 255, 0.65) !important;
	border-bottom-color: rgba(0, 102, 255, 0.65) !important;
	background:   rgba(0, 102, 255, 0.05) !important;
	box-shadow:
		0 0 0 3px rgba(0, 102, 255, 0.12),
		0 0 14px rgba(0, 102, 255, 0.15) !important;
}

body.single-memberpressproduct .mepr-form-input::placeholder {
	color: rgba(255, 255, 255, 0.24);
}

/* Select: custom arrow + option background */
body.single-memberpressproduct select.mepr-form-input {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 12px !important;
	padding-right: 38px !important;
}

body.single-memberpressproduct select.mepr-form-input option {
	background: #0a0816;
	color: #ffffff;
}


/* =====================================================================
   PASSWORD TOGGLE BUTTON
   ===================================================================== */
body.single-memberpressproduct .mp-hide-pw {
	position: relative;
	display: block;
}

body.single-memberpressproduct .mp-hide-pw input.mepr-form-input {
	padding-right: 44px !important;
}

body.single-memberpressproduct .mp-hide-pw .button.mp-hide-pw {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent !important;
	border: none !important;
	color: rgba(255, 255, 255, 0.35);
	cursor: pointer;
	padding: 4px;
	line-height: 1;
	transition: color 0.15s;
}

body.single-memberpressproduct .mp-hide-pw .button.mp-hide-pw:hover {
	color: rgba(255, 255, 255, 0.70);
}


/* =====================================================================
   CHECKBOX FIELDS (TOS, Privacy Policy, Newsletter)
   ===================================================================== */
body.single-memberpressproduct .mp-form-row.mepr_tos,
body.single-memberpressproduct .mp-form-row:has(input[type="checkbox"]) {
	margin-bottom: 10px;
}

/* Label wrapping the checkbox row */
body.single-memberpressproduct label.mepr-checkbox-field {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-family: "Spectral", "Source Serif 4", ui-serif, Georgia, serif;
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--csi-text-muted);
	cursor: pointer;
}

/* Custom checkbox */
body.single-memberpressproduct label.mepr-checkbox-field input[type="checkbox"],
body.single-memberpressproduct .mp-form-row input[type="checkbox"] {
	width: 16px !important;
	height: 16px !important;
	min-width: 16px;
	flex-shrink: 0;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
	border-radius: 3px !important;
	background: rgba(255, 255, 255, 0.04) !important;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	margin-top: 2px;
	position: relative;
	padding: 0 !important;
	box-shadow: none !important;
	transition: border-color 0.15s, background 0.15s;
}

body.single-memberpressproduct label.mepr-checkbox-field input[type="checkbox"]:checked,
body.single-memberpressproduct .mp-form-row input[type="checkbox"]:checked {
	background: var(--csi-blue) !important;
	border-color: var(--csi-blue) !important;
}

/* Checkmark via pseudo-element */
body.single-memberpressproduct label.mepr-checkbox-field input[type="checkbox"]:checked::after,
body.single-memberpressproduct .mp-form-row input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 4px;
	width: 5px;
	height: 9px;
	border: 2px solid #fff;
	border-top: none;
	border-left: none;
	transform: rotate(45deg);
}

/* Links inside checkbox labels */
body.single-memberpressproduct label.mepr-checkbox-field a,
body.single-memberpressproduct label.mepr-checkbox-field ~ a {
	font-family: "Spectral", "Source Serif 4", ui-serif, Georgia, serif !important;
	color: #00F0FF;
	text-decoration: none;
	transition: color 0.15s;
}

body.single-memberpressproduct label.mepr-checkbox-field a:hover {
	color: #ffffff;
}

/* Newsletter opt-in label (no mepr-checkbox-field class) */
body.single-memberpressproduct .mp-form-row:has(input[type="checkbox"]) > label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-family: "Spectral", "Source Serif 4", ui-serif, Georgia, serif;
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--csi-text-muted);
}

body.single-memberpressproduct #mepr-mailchimptags-privacy {
	margin-top: 6px;
}

/* MemberPress/3rd-party checkbox helpers can inject their own fonts */
body.single-memberpressproduct .mp_wrapper .mepr_tos a,
body.single-memberpressproduct .mp_wrapper .mepr_tos label a,
body.single-memberpressproduct .mp_wrapper .mepr-mailchimptags-message,
body.single-memberpressproduct .mp_wrapper .mepr-mailchimptags-message a,
body.single-memberpressproduct .mp_wrapper .mepr-mailchimptags-message span,
body.single-memberpressproduct .mp_wrapper .mepr-mailchimptags-message *,
body.single-memberpressproduct .mp_wrapper #mepr-mailchimptags-privacy,
body.single-memberpressproduct .mp_wrapper #mepr-mailchimptags-privacy small,
body.single-memberpressproduct .mp_wrapper #mepr-mailchimptags-privacy a {
	font-family: "Spectral", "Source Serif 4", ui-serif, Georgia, serif !important;
}


/* =====================================================================
   COUPON LINK
   ===================================================================== */
body.single-memberpressproduct a.have-coupon-link {
	display: block;
	font-family: "Spectral", "Source Serif 4", ui-serif, Georgia, serif;
	font-size: 0.82rem;
	font-weight: 500;
	color: #00F0FF;
	text-decoration: none;
	margin-bottom: 18px;
	letter-spacing: 0.03em;
	opacity: 0.80;
	transition: opacity 0.15s, color 0.15s;
}

body.single-memberpressproduct a.have-coupon-link:hover {
	opacity: 1;
	color: #ffffff;
}


/* =====================================================================
   PAYMENT METHODS
   ===================================================================== */
body.single-memberpressproduct .mepr-payment-methods-wrapper {
	margin: 14px 0 6px;
}

body.single-memberpressproduct .mepr-payment-method {
	color: var(--csi-text-muted);
	font-family: "Spectral", "Source Serif 4", ui-serif, Georgia, serif;
	font-size: 0.875rem;
}

body.single-memberpressproduct .mepr-payment-method input[type="radio"] {
	accent-color: var(--csi-blue);
}

body.single-memberpressproduct .mepr-payment-method-label-text {
	color: var(--csi-text-muted);
}

/* ---------------------------------------------------------------------
   CONSENT BLOCK RHYTHM (mobile-first, high-specificity overrides)
   --------------------------------------------------------------------- */
body.single-memberpressproduct .mp_wrapper .mp-form-row.mepr_tos,
body.single-memberpressproduct .mp_wrapper .mp-form-row:has(input[type="checkbox"]) {
	margin-bottom: 14px !important;
}

body.single-memberpressproduct .mp_wrapper .mp-form-row.mepr_tos label,
body.single-memberpressproduct .mp_wrapper .mp-form-row:has(input[type="checkbox"]) > label,
body.single-memberpressproduct .mp_wrapper .mepr-mailchimptags-message {
	line-height: 1.72 !important;
	font-size: 0.96rem !important;
}

body.single-memberpressproduct .mp_wrapper .mp-form-row.mepr_tos label,
body.single-memberpressproduct .mp_wrapper .mp-form-row:has(input[type="checkbox"]) > label {
	display: flex !important;
	align-items: flex-start !important;
}

/* MemberPress adds .mepr-form-input on checkbox labels; reset field chrome */
body.single-memberpressproduct .mp_wrapper label.mepr-checkbox-field.mepr-form-input,
body.single-memberpressproduct .mp_wrapper .mp-form-row.mepr_tos label.mepr-form-input,
body.single-memberpressproduct .mp_wrapper .mp-form-row:has(input[type="checkbox"]) > label.mepr-form-input {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 2px 0 !important;
}

body.single-memberpressproduct .mp_wrapper .mp-form-row.mepr_tos label,
body.single-memberpressproduct .mp_wrapper .mp-form-row:has(input[type="checkbox"]) > label {
	padding: 2px 0 !important;
	gap: 12px !important;
}

body.single-memberpressproduct .mp_wrapper .mp-form-row.mepr_tos input[type="checkbox"],
body.single-memberpressproduct .mp_wrapper .mp-form-row:has(input[type="checkbox"]) input[type="checkbox"],
body.single-memberpressproduct .mp_wrapper .mepr-mailchimptags-message input[type="checkbox"] {
	margin-top: 5px !important;
}

/* Newsletter row uses a different structure: #mepr-mailchimptags-checkbox */
body.single-memberpressproduct .mp_wrapper #mepr-mailchimptags-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

body.single-memberpressproduct .mp_wrapper #mepr-mailchimptags-checkbox input[type="checkbox"] {
	margin-top: 5px !important;
}

body.single-memberpressproduct .mp_wrapper #mepr-mailchimptags-checkbox .mepr-mailchimptags-message {
	margin: 0 !important;
}

body.single-memberpressproduct .mp_wrapper #mepr-mailchimptags-privacy {
	margin-top: 10px !important;
}

body.single-memberpressproduct .mp_wrapper .mp-form-submit {
	margin-top: 30px !important;
}


/* =====================================================================
   SUBMIT BUTTON — funnel .btn-brand pattern (green-to-teal gradient)
   ===================================================================== */
body.single-memberpressproduct .mp-form-submit {
	margin-top: 22px;
	text-align: center;
}

body.single-memberpressproduct input.mepr-submit,
body.single-memberpressproduct .mepr-submit {
	display: block;
	width: 100%;
	padding: 14px 32px !important;
	background: linear-gradient(90deg, rgba(0, 171, 58, 0.79) 43%, rgba(0, 251, 228, 0.56)) !important;
	border: none !important;
	border-radius: 0 !important;
	color: #FFFFFF !important;
	font-family: "Spectral", "Source Serif 4", ui-serif, Georgia, serif;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		0 4px 20px rgba(0, 171, 58, 0.28) !important;
	transition: background 0.25s var(--csi-ease), box-shadow 0.25s var(--csi-ease);
	-webkit-appearance: none;
	appearance: none;
}

body.single-memberpressproduct input.mepr-submit:hover,
body.single-memberpressproduct .mepr-submit:hover {
	background: linear-gradient(90deg, rgba(0, 171, 58, 0.95) 43%, rgba(0, 251, 228, 0.80)) !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		0 0 25px rgba(0, 171, 58, 0.50),
		0 0 40px rgba(0, 251, 228, 0.22) !important;
}

body.single-memberpressproduct input.mepr-submit:active,
body.single-memberpressproduct .mepr-submit:active {
	transform: scale(0.98);
}


/* =====================================================================
   VALIDATION ERRORS + SUCCESS MESSAGES
   ===================================================================== */
body.single-memberpressproduct .mp_wrapper .cc-error,
body.single-memberpressproduct .mp_wrapper .mepr-form-has-errors,
body.single-memberpressproduct .mp_wrapper .mepr-validation-error {
	color: #FF5A5A;
	font-size: 0.72rem;
}

body.single-memberpressproduct .mp_wrapper .cc-success {
	color: #22C55E;
	font-size: 0.72rem;
}

body.single-memberpressproduct .mepr_error,
body.single-memberpressproduct .mepr-errors-wrapper {
	background:    rgba(255, 90, 90, 0.08);
	border:        1px solid rgba(255, 90, 90, 0.28);
	border-radius: 8px;
	padding:       10px 14px;
	font-family:   "Inter", system-ui, sans-serif;
	font-size:     0.875rem;
	color:         #FF5A5A;
	margin-bottom: 16px;
}


/* =====================================================================
   SPACER
   ===================================================================== */
body.single-memberpressproduct .mepr_spacer {
	margin: 12px 0 0;
}


/* =====================================================================
   FUNNEL HEADER + FOOTER MATCH
   Keep register page chrome identical to funnel shell styles.
   ===================================================================== */
body.single-memberpressproduct .site-header,
body.single-memberpressproduct header.site-header,
body.single-memberpressproduct header {
	background: #000000 !important;
	background-image: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.single-memberpressproduct .csi-site-header {
	background: #000000 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

body.single-memberpressproduct .csi-funnel-header .csi-header-inner {
	max-width: 100%;
	padding: 0 24px;
	height: 76px;
	gap: 24px;
}

body.single-memberpressproduct .csi-funnel-header-logo {
	padding-left: 12px;
	border-left: 2px solid rgba(0, 102, 255, 0.6);
	opacity: 0.86;
}

body.single-memberpressproduct .csi-funnel-header .csi-header-logo img,
body.single-memberpressproduct .csi-funnel-header .csi-header-logo .custom-logo {
	height: 30px;
	width: auto;
}

body.single-memberpressproduct .csi-funnel-header .csi-funnel-nav-list {
	gap: 26px;
}

body.single-memberpressproduct .csi-funnel-header .csi-funnel-nav-list a {
	color: rgba(255, 255, 255, 0.68) !important;
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0.13em;
}

body.single-memberpressproduct .csi-funnel-header .csi-funnel-nav-list li:nth-child(odd) > a:hover {
	color: #00f0ff !important;
}

body.single-memberpressproduct .csi-funnel-header .csi-funnel-nav-list li:nth-child(even) > a:hover {
	color: #ff00e5 !important;
}

body.single-memberpressproduct .csi-funnel-header .csi-header-actions {
	gap: 16px;
}

body.single-memberpressproduct .csi-funnel-header .csi-btn-login {
	color: rgba(255, 255, 255, 0.7) !important;
	font-size: 14px;
	font-style: normal;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

body.single-memberpressproduct .csi-funnel-header .csi-btn-cta {
	padding: 10px 20px;
	border-radius: 4px;
	letter-spacing: 0.14em;
	font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
	font-size: 15px;
	font-weight: 800;
	background: linear-gradient(90deg, rgba(0, 171, 58, 0.79) 43%, rgba(0, 251, 228, 0.56));
	color: #fff !important;
	box-shadow: 0 8px 22px rgba(0, 171, 58, 0.34);
	transition: all 0.2s;
}

body.single-memberpressproduct .csi-funnel-header .csi-mobile-toggle {
	border: 1px solid rgba(0, 240, 255, 0.4);
	border-radius: 4px;
}

body.single-memberpressproduct .csi-funnel-header .csi-hamburger span {
	background: #00f0ff;
}

body.single-memberpressproduct .csi-funnel-header .csi-mobile-nav {
	background: #000;
	border-top: 1px solid rgba(0, 240, 255, 0.25);
	padding: 0;
}

body.single-memberpressproduct .csi-funnel-mobile-nav-list {
	margin: 0;
	padding: 8px 0;
}

body.single-memberpressproduct .csi-funnel-mobile-nav-list li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.single-memberpressproduct .csi-funnel-mobile-nav-list li a {
	display: block;
	padding: 14px 24px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 400;
	color: #ffffff !important;
	text-decoration: none;
}

body.single-memberpressproduct .csi-funnel-mobile-nav-list .csi-btn-cta {
	margin: 12px 24px;
	text-align: center;
	border-radius: 4px;
	padding: 12px 16px;
	color: #000 !important;
	background: linear-gradient(90deg, rgba(0, 171, 58, 0.92) 0%, rgba(0, 251, 228, 0.72) 100%);
}

body.single-memberpressproduct .csi-site-footer,
body.single-memberpressproduct footer#csi-site-footer,
body.single-memberpressproduct footer.site-footer {
	background: #000000 !important;
	background-image: none !important;
	border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

body.single-memberpressproduct .csi-footer-tagline,
body.single-memberpressproduct .csi-footer-copy,
body.single-memberpressproduct .csi-footer-copy p,
body.single-memberpressproduct .csi-footer-nav a {
	color: rgba(255, 255, 255, 0.55) !important;
}

/* Funnel footer layout for register pages */
body.single-memberpressproduct .csi-funnel-footer {
	background: #000 !important;
	padding: 56px 24px 32px !important;
}

body.single-memberpressproduct .csi-funnel-footer-inner {
	max-width: 1320px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 26px;
}

body.single-memberpressproduct .csi-funnel-footer-brand img,
body.single-memberpressproduct .csi-funnel-footer-brand .custom-logo {
	height: 40px;
	width: auto;
}

body.single-memberpressproduct .csi-funnel-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	justify-content: center;
}

body.single-memberpressproduct .csi-funnel-footer-links a {
	color: rgba(209, 213, 219, 0.96) !important;
	text-decoration: none;
	font-family: "Inter", "IBM Plex Sans", system-ui, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	transition: color 0.2s ease;
}

body.single-memberpressproduct .csi-funnel-footer-links a:hover {
	color: #ffffff !important;
}

body.single-memberpressproduct .csi-funnel-join-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	max-width: 100%;
	padding: 10px 20px;
	background: linear-gradient(90deg, rgba(0, 171, 58, 0.95) 0%, rgba(0, 251, 228, 0.75) 100%);
	color: #fff !important;
	text-decoration: none;
	text-transform: uppercase;
	font-family: "Space Mono", "JetBrains Mono", ui-monospace, monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	border-radius: 4px;
	min-width: max-content;
	white-space: nowrap;
	word-break: keep-all;
	overflow-wrap: normal;
}

body.single-memberpressproduct .csi-funnel-join-btn br {
	display: none;
}

body.single-memberpressproduct .csi-funnel-footer-divider {
	max-width: 1320px;
	margin: 28px auto 20px;
	height: 1px;
	background: rgba(255, 255, 255, 0.10);
}

body.single-memberpressproduct .csi-funnel-footer-meta {
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	color: rgba(156, 163, 175, 0.95);
	font-family: "Inter", "IBM Plex Sans", system-ui, sans-serif;
	font-size: 12px;
}

body.single-memberpressproduct .csi-funnel-copy-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
}

body.single-memberpressproduct .csi-funnel-copy-links a {
	color: rgba(209, 213, 219, 0.92) !important;
	text-decoration: none;
}

body.single-memberpressproduct .csi-funnel-copy-links a:hover {
	color: #ffffff !important;
}

body.single-memberpressproduct .csi-funnel-social {
	display: flex;
	align-items: center;
	gap: 8px;
}

body.single-memberpressproduct .csi-funnel-social a {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.10);
	background: rgba(255, 255, 255, 0.05);
	color: rgba(209, 213, 219, 0.95) !important;
	text-decoration: none;
	line-height: 0;
}

body.single-memberpressproduct .csi-funnel-social a svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

body.single-memberpressproduct .csi-funnel-social a:hover {
	background: rgba(255, 255, 255, 0.10);
	border-color: rgba(255, 255, 255, 0.22);
}

/* =====================================================================
   ELEMENTOR SECTION / CONTAINER OVERRIDES
   Override any Elementor-applied background colors or images on sections
   that wrap the MemberPress form content.
   ===================================================================== */
body.single-memberpressproduct .elementor-section,
body.single-memberpressproduct .elementor-top-section,
body.single-memberpressproduct .e-container,
body.single-memberpressproduct .elementor-container {
	background-color: transparent !important;
	background-image: none !important;
}

/* Force labels to white (override any green/yellow theme label colour) */
body.single-memberpressproduct .mp-form-label label,
body.single-memberpressproduct .mp_wrapper label {
	color: rgba(255, 255, 255, 0.55) !important;
}

/* Force input bottom-border override (theme sometimes uses border-bottom only) */
body.single-memberpressproduct input.mepr-form-input,
body.single-memberpressproduct select.mepr-form-input,
body.single-memberpressproduct textarea.mepr-form-input {
	border-bottom-color: rgba(255, 255, 255, 0.10) !important;
}

/* Any anchor colour overrides (green links → cyan) */
body.single-memberpressproduct .mp_wrapper a,
body.single-memberpressproduct .mepr-form a {
	color: #00F0FF !important;
	text-decoration: none;
}


/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
	body.single-memberpressproduct .mepr-signup-form,
	body.single-memberpressproduct .mepr-form {
		padding: 28px 18px !important;
		border-radius: 12px !important;
	}

	body.single-memberpressproduct h1.entry-title {
		font-size: clamp(1.35rem, 6vw, 1.9rem);
		letter-spacing: 0.10em;
	}

	body.single-memberpressproduct .mp_wrapper {
		padding: 0 8px;
	}

	body.single-memberpressproduct .mp-form-row {
		margin-bottom: 18px !important;
	}

	body.single-memberpressproduct .mp-form-row.mepr_price {
		margin-bottom: 22px !important;
		padding-bottom: 16px !important;
	}

	body.single-memberpressproduct .mp-form-row.mepr_price::before {
		line-height: 1.2;
		padding: 4px 0 2px;
	}

	body.single-memberpressproduct .mp-form-row.mepr_tos,
	body.single-memberpressproduct .mp-form-row:has(input[type="checkbox"]) {
		margin-bottom: 14px !important;
	}

	body.single-memberpressproduct label.mepr-checkbox-field,
	body.single-memberpressproduct .mp-form-row:has(input[type="checkbox"]) > label {
		gap: 12px;
		line-height: 1.7 !important;
		font-size: 0.95rem;
	}

	body.single-memberpressproduct label.mepr-checkbox-field input[type="checkbox"],
	body.single-memberpressproduct .mp-form-row input[type="checkbox"] {
		margin-top: 4px;
	}

	body.single-memberpressproduct a.have-coupon-link {
		margin-bottom: 16px !important;
		font-size: 0.92rem;
	}

	body.single-memberpressproduct .mp-form-submit {
		margin-top: 28px !important;
	}

	body.single-memberpressproduct #mepr-mailchimptags-privacy {
		margin-top: 8px;
	}

	body.single-memberpressproduct .csi-funnel-footer {
		padding: 34px 16px 22px !important;
	}

	body.single-memberpressproduct .csi-funnel-footer-inner {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		gap: 18px;
	}

	body.single-memberpressproduct .csi-funnel-footer-links {
		gap: 12px 18px;
	}

	body.single-memberpressproduct .csi-funnel-footer-links a {
		font-size: 13px;
	}

	body.single-memberpressproduct .csi-funnel-footer-meta {
		flex-direction: column;
		font-size: 12px;
		align-items: center;
		text-align: center;
	}

	body.single-memberpressproduct .csi-funnel-copy-links {
		justify-content: center;
		gap: 10px 16px;
	}
}
