/* ==========================================================================
   Podify Referrals — customer-facing styles
   Shared by [podify_referral_form], [podify_referral_portal],
   [podify_referrer_login] and [podify_referrer_register].
   ========================================================================== */

.podref, .podref-portal {
	--podref-accent: #ff0080;
	--pp-ink: #111114;
	--pp-ink-2: #3a3a42;
	--pp-muted: #6f6f78;
	--pp-line: rgba(17, 17, 20, 0.08);
	--pp-line-2: rgba(17, 17, 20, 0.12);
	--pp-soft: #f6f6f3;
	--pp-error: #c0263a;
	--pp-good: #12805c;
	--pp-ease: cubic-bezier(0.32, 0.72, 0, 1);
	--pp-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--pp-bezel: 0 0 0 6px rgba(17, 17, 20, 0.035), 0 0 0 7px rgba(17, 17, 20, 0.045), 0 30px 60px -40px rgba(17, 17, 20, 0.35);
	box-sizing: border-box;
	color: var(--pp-ink);
	font-family: var(--pp-font);
	-webkit-font-smoothing: antialiased;
}
.podref *, .podref *::before, .podref *::after,
.podref-portal *, .podref-portal *::before, .podref-portal *::after { box-sizing: border-box; }
.podref-i { display: inline-block; flex: none; width: 1.25em; line-height: 1; text-align: center; vertical-align: -0.125em; }
.pp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Motion ---------- */
@keyframes pp-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.pp-rise { animation: pp-rise 0.9s var(--pp-ease) both; animation-delay: calc(var(--d, 0) * 70ms); }
@media (prefers-reduced-motion: reduce) {
	.pp-rise { animation: none; }
	.podref *, .podref-portal * { transition: none !important; }
}

/* ==========================================================================
   The form card (also used standalone)
   ========================================================================== */
.podref {
	max-width: 760px;
	margin: 8px auto;
	padding: clamp(24px, 4vw, 44px);
	border-radius: 26px;
	background: #fff;
	box-shadow: var(--pp-bezel);
}
.podref__title {
	margin: 0 0 8px;
	color: var(--pp-ink);
	font-family: var(--pp-font);
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.03em;
}
.podref__lede { margin: 0 0 28px; color: var(--pp-muted); font-size: 16px; line-height: 1.6; }
.podref__lede strong { color: var(--pp-ink); font-weight: 600; }

.podref__group { margin: 0 0 22px; padding: 0; border: 0; }
.podref__group legend {
	margin: 0 0 14px; padding: 0;
	color: var(--pp-muted); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.podref__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .podref__grid { grid-template-columns: 1fr; } }

.podref__field { margin: 0 0 16px; }
.podref__field label { display: block; margin: 0 0 7px; color: var(--pp-ink); font-size: 14px; font-weight: 600; }
.podref__req { color: var(--podref-accent); }
.podref__opt { color: var(--pp-muted); font-size: 12.5px; font-weight: 500; }

.podref input[type="text"], .podref input[type="email"], .podref input[type="tel"], .podref input[type="password"], .podref textarea,
.podref-portal input[type="text"], .podref-portal input[type="email"], .podref-portal input[type="tel"], .podref-portal input[type="password"] {
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 13px 16px;
	border: 0;
	border-radius: 14px;
	background: var(--pp-soft);
	box-shadow: inset 0 0 0 1px var(--pp-line);
	color: var(--pp-ink);
	font-family: var(--pp-font);
	font-size: 16px;
	line-height: 1.4;
	transition: box-shadow 0.4s var(--pp-ease), background-color 0.4s var(--pp-ease);
}
.podref textarea { min-height: 104px; resize: vertical; }
.podref input:hover, .podref textarea:hover, .podref-portal input:hover { box-shadow: inset 0 0 0 1px var(--pp-line-2); }
.podref input:focus, .podref textarea:focus, .podref-portal input:focus {
	outline: none;
	background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--podref-accent), 0 0 0 5px color-mix(in srgb, var(--podref-accent) 14%, transparent);
}
.podref ::placeholder { color: #a1a1aa; }
.podref__field--error input, .podref__field--error textarea { box-shadow: inset 0 0 0 1.5px var(--pp-error) !important; background: #fff; }
.podref__error { display: block; margin-top: 7px; color: var(--pp-error); font-size: 13px; font-weight: 500; }
.podref__hint { display: block; margin-top: 7px; color: var(--pp-muted); font-size: 12.5px; }

.podref__check { margin: 0 0 12px; color: var(--pp-ink-2); font-size: 14.5px; line-height: 1.5; }
.podref__check label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.podref__check input[type="checkbox"] {
	flex: none; width: 20px; height: 20px; margin: 1px 0 0;
	accent-color: var(--podref-accent); cursor: pointer;
}
.podref__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.podref__alert, .pp-notice {
	display: flex; align-items: center; gap: 10px;
	margin: 0 0 22px; padding: 13px 16px; border-radius: 14px;
	font-size: 14.5px; font-weight: 500;
}
.podref__alert { background: #fdf0f2; color: var(--pp-error); box-shadow: inset 0 0 0 1px rgba(192, 38, 58, 0.15); }
.pp-notice, .podref__notice { background: #ecf8f2; color: #0e5e44; box-shadow: inset 0 0 0 1px rgba(18, 128, 92, 0.15); }

.podref__as {
	margin: 0 0 20px; padding: 14px 16px; border-radius: 14px;
	background: var(--pp-soft); color: var(--pp-muted); font-size: 14px; line-height: 1.5;
}
.podref__as a, .podref__link { color: var(--podref-accent) !important; font-weight: 600; text-decoration: none !important; }
.podref__as a:hover, .podref__link:hover { text-decoration: underline !important; text-underline-offset: 3px; }

/* ---------- Button: pill with nested icon ---------- */
.podref__button, .pp-btn {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
	min-height: 54px; margin: 6px 0 0; padding: 7px 7px 7px 24px;
	border: 0; border-radius: 999px;
	background: var(--podref-accent); color: #fff !important;
	font-family: var(--pp-font); font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em;
	text-decoration: none !important; cursor: pointer;
	box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--podref-accent) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition: transform 0.5s var(--pp-ease), filter 0.5s var(--pp-ease), box-shadow 0.5s var(--pp-ease);
}
.podref__button:hover, .pp-btn--primary:hover { filter: brightness(0.96); color: #fff !important; box-shadow: 0 18px 32px -14px color-mix(in srgb, var(--podref-accent) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.podref__button:active, .pp-btn:active { transform: scale(0.98); }
.podref__button:focus-visible, .pp-btn:focus-visible, .pp-iconbtn:focus-visible { outline: 3px solid var(--pp-ink); outline-offset: 3px; }
.podref__btnicon, .pp-btn__icon {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	transition: transform 0.5s var(--pp-ease);
}
.podref__button:hover .podref__btnicon, .pp-btn:hover .pp-btn__icon { transform: translate(2px, -1px) scale(1.06); }
.podref__button--full { width: 100%; }

.podref__fine { margin: 18px 0 0; color: var(--pp-muted); font-size: 12.5px; line-height: 1.55; }

/* ---------- Thank-you ---------- */
.podref--thanks { text-align: left; }
.podref__success { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: #ecf8f2; color: var(--pp-good); }
.podref--thanks > p { color: var(--pp-ink-2); font-size: 16px; line-height: 1.6; }
.podref__steps { margin: 20px 0 26px; padding: 0; list-style: none; counter-reset: pp; }
.podref__steps li { position: relative; margin: 0 0 12px; padding-left: 40px; color: var(--pp-ink-2); font-size: 15.5px; line-height: 1.55; counter-increment: pp; }
.podref__steps li::before {
	content: counter(pp); position: absolute; left: 0; top: 0;
	display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
	background: color-mix(in srgb, var(--podref-accent) 12%, #fff); color: var(--podref-accent); font-size: 12.5px; font-weight: 700;
}

/* Honeypot */
.podref__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Portal — shared pieces
   ========================================================================== */
.podref-portal { max-width: 1120px; margin: 0 auto; }
.pp-eyebrow {
	display: inline-block; padding: 6px 12px; border-radius: 999px;
	background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	color: #ff86c0; font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.pp-hero__glow {
	position: absolute; z-index: -1; right: -140px; top: -240px; width: 640px; height: 560px; pointer-events: none;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--podref-accent) 45%, transparent), color-mix(in srgb, var(--podref-accent) 12%, transparent) 55%, transparent 76%);
}
.pp-hero__glow::after {
	content: ""; position: absolute; left: -360px; top: 300px; width: 440px; height: 340px;
	background: radial-gradient(closest-side, rgba(124, 92, 255, 0.2), transparent 70%);
}

/* ---------- Logged out: split ---------- */
.pp-auth {
	display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden;
	border-radius: 30px; background: #fff; box-shadow: var(--pp-bezel);
}
.pp-auth__brand {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column; align-items: flex-start;
	padding: clamp(32px, 5vw, 56px);
	background: #0f0f12; color: #fff;
}
.pp-auth__title {
	margin: 22px 0 34px; color: #fff;
	font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: 1.06; letter-spacing: -0.04em;
}
.pp-auth__steps { margin: auto 0 0; padding: 0; list-style: none; }
.pp-auth__steps li { display: flex; gap: 16px; margin: 0; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.pp-auth__steps span { flex: none; padding-top: 2px; color: #ff86c0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.pp-auth__steps div { color: rgba(255, 255, 255, 0.62); font-size: 14px; line-height: 1.55; }
.pp-auth__steps strong { display: block; margin-bottom: 2px; color: #fff; font-size: 15px; font-weight: 700; }
.pp-auth__panel { padding: clamp(28px, 5vw, 56px); }
.pp-auth__heading { margin: 0 0 22px; color: var(--pp-ink); font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.pp-solo { max-width: 520px; margin: 0 auto; padding: clamp(28px, 5vw, 48px); border-radius: 26px; background: #fff; box-shadow: var(--pp-bezel); }
@media (max-width: 860px) {
	.pp-auth { grid-template-columns: 1fr; border-radius: 24px; }
	.pp-auth__title { margin-bottom: 24px; }
}

/* Segmented tabs */
.podref__tabs { display: flex; gap: 4px; margin: 0 0 26px; padding: 5px; border-radius: 999px; background: var(--pp-soft); box-shadow: inset 0 0 0 1px var(--pp-line); }
.podref__tab {
	flex: 1; padding: 11px 14px; border-radius: 999px;
	color: var(--pp-muted) !important; font-size: 14.5px; font-weight: 600; text-align: center; text-decoration: none !important;
	transition: background-color 0.5s var(--pp-ease), color 0.5s var(--pp-ease), box-shadow 0.5s var(--pp-ease);
}
.podref__tab:hover { color: var(--pp-ink) !important; }
.podref__tab.is-active { background: #fff; color: var(--pp-ink) !important; box-shadow: 0 1px 2px rgba(17, 17, 20, 0.06), 0 6px 16px -10px rgba(17, 17, 20, 0.3); }
.podref__tab:focus-visible { outline: 2px solid var(--podref-accent); outline-offset: 2px; }
.pp-auth__panel .podref__form .podref__grid { grid-template-columns: 1fr; }

/* ---------- Signed in: hero ---------- */
.pp-hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	margin: 0 0 16px; padding: clamp(28px, 4vw, 44px);
	border-radius: 30px; background: #0f0f12; color: #fff;
	box-shadow: 0 0 0 6px rgba(17, 17, 20, 0.04), 0 36px 70px -44px rgba(17, 17, 20, 0.6);
}
.pp-hero__title { margin: 18px 0 6px; color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -0.045em; }
.pp-hero__sub { margin: 0; color: rgba(255, 255, 255, 0.64); font-size: 16px; line-height: 1.5; }
.pp-hero__actions { display: flex; align-items: center; gap: 10px; }
.pp-btn { margin: 0; }
.pp-iconbtn {
	display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
	background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.85) !important;
	transition: background-color 0.5s var(--pp-ease);
}
.pp-iconbtn:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- Stats ---------- */
.pp-stats { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 14px; margin: 0 0 16px; }
.pp-stat { padding: 5px; border-radius: 24px; background: rgba(17, 17, 20, 0.035); box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.045); }
.pp-stat__in {
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px; height: 100%;
	padding: 20px 22px; border-radius: 19px; background: #fff;
	box-shadow: 0 1px 2px rgba(17, 17, 20, 0.04), 0 18px 36px -28px rgba(17, 17, 20, 0.3), inset 0 1px 0 #fff;
}
.pp-stat__icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 12px; background: var(--pp-soft); color: var(--pp-ink-2); }
.pp-stat__num { color: var(--pp-ink); font-size: 32px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pp-stat__label { color: var(--pp-muted); font-size: 13px; line-height: 1.4; }
.pp-stat--reward .pp-stat__in { background: linear-gradient(160deg, color-mix(in srgb, var(--podref-accent) 9%, #fff), #fff 70%); }
.pp-stat--reward .pp-stat__icon { background: var(--podref-accent); color: #fff; box-shadow: 0 10px 20px -10px var(--podref-accent); }
.pp-stat--reward .pp-stat__num { font-size: 40px; }
@media (max-width: 860px) { .pp-stats { grid-template-columns: 1fr 1fr; } .pp-stat--reward { grid-column: 1 / -1; } }

/* ---------- Layout ---------- */
.pp-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 16px; align-items: start; }
.pp-side { position: sticky; top: 24px; scroll-margin-top: 24px; }
.pp-side .podref { max-width: none; margin: 0; padding: 30px; border-radius: 26px; }
.pp-side .podref__grid { grid-template-columns: 1fr; }
.pp-side .podref__title { font-size: 24px; }
.pp-side .podref__lede { font-size: 14.5px; }
@media (max-width: 980px) { .pp-layout { grid-template-columns: minmax(0, 1fr); } .pp-side { position: static; } }

/* ---------- Referral list ---------- */
.pp-list { padding: 5px; border-radius: 26px; background: rgba(17, 17, 20, 0.035); box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.045); }
.pp-list > * { background: #fff; }
.pp-list__head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	padding: 22px 24px 14px; border-radius: 21px 21px 0 0;
}
.pp-list__head h3 { margin: 0; color: var(--pp-ink); font-family: var(--pp-font); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.pp-pill { padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--podref-accent) 10%, #fff); color: color-mix(in srgb, var(--podref-accent) 75%, #000); font-size: 12.5px; font-weight: 600; }
.pp-refs { margin: 0; padding: 0 12px 12px; border-radius: 0 0 21px 21px; list-style: none; }
.pp-ref { margin: 0; padding: 18px 12px; border-top: 1px solid var(--pp-line); }
.pp-ref__top { display: flex; align-items: center; gap: 14px; }
.pp-ref__who { flex: 1; min-width: 0; }
.pp-ref__who strong { display: block; color: var(--pp-ink); font-size: 15.5px; font-weight: 700; }
.pp-ref__who span { display: block; overflow: hidden; color: var(--pp-muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.pp-ref__note { margin: 12px 0 0 54px; color: var(--pp-muted); font-size: 13.5px; line-height: 1.5; }
.pp-ref__note--good { color: var(--pp-good); font-weight: 600; }

/* Progress tracker */
.pp-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px 0 0 54px; padding: 0; list-style: none; }
.pp-track li { position: relative; margin: 0; padding-top: 20px; color: #a1a1aa; font-size: 12px; font-weight: 600; }
.pp-track li::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: #ececea; }
.pp-track li:last-child::before { right: auto; width: 6px; }
.pp-track li.is-done::before { background: var(--podref-accent); }
.pp-track li.is-now::before { background: linear-gradient(90deg, var(--podref-accent) 0 6px, #ececea 6px); }
.pp-track__dot { position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #dcdcd8; }
.pp-track li.is-done .pp-track__dot { background: var(--podref-accent); box-shadow: none; }
.pp-track li.is-now .pp-track__dot { box-shadow: 0 0 0 4px color-mix(in srgb, var(--podref-accent) 20%, transparent); }
.pp-track li.is-done { color: var(--pp-ink-2); }
.pp-track li.is-now { color: var(--pp-ink); }
@media (max-width: 560px) {
	.pp-track, .pp-ref__note { margin-left: 0; }
	.pp-track__label { font-size: 11px; }
}

/* Status badges */
.podref-badge { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 11px 4px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.podref-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.podref-badge--introduced { background: #fff5e6; color: #a15c07; }
.podref-badge--talking    { background: #eef3ff; color: #2856c7; }
.podref-badge--customer   { background: #e9f7f1; color: #12805c; }
.podref-badge--duplicate  { background: #f2edff; color: #5a35b0; }
.podref-badge--not_fit, .podref-badge--expired { background: #f1f1ef; color: #6f6f78; }

/* Avatars */
.podref-av { display: inline-grid; place-items: center; flex: none; border-radius: 50%; font-weight: 700; letter-spacing: 0.02em; font-family: var(--pp-font); }
.podref-av--md { width: 40px; height: 40px; font-size: 13px; }
.podref-av--sm { width: 28px; height: 28px; font-size: 10.5px; }
.podref-av--t0 { background: #ffe4f1; color: #a3004f; }
.podref-av--t1 { background: #e7ecff; color: #2c46a8; }
.podref-av--t2 { background: #e5f6ee; color: #10694b; }
.podref-av--t3 { background: #fff1dc; color: #8c4f05; }
.podref-av--t4 { background: #efe9ff; color: #5a35b0; }

/* Empty */
.pp-empty { padding: 36px 24px 40px; border-radius: 0 0 21px 21px; text-align: center; }
.pp-empty__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 50%; background: color-mix(in srgb, var(--podref-accent) 10%, #fff); color: var(--podref-accent); }
.pp-empty__title { margin: 0 0 4px; color: var(--pp-ink); font-size: 17px; font-weight: 700; }
.pp-empty p { max-width: 380px; margin-left: auto; margin-right: auto; color: var(--pp-muted); font-size: 14.5px; line-height: 1.55; }

@media (max-width: 600px) {
	.pp-hero { border-radius: 24px; }
	.pp-hero__actions { width: 100%; }
	.pp-hero__actions .pp-btn { flex: 1; }
}

/* ==========================================================================
   v1.3 — full width + spacing
   ========================================================================== */
.podref-portal.podref-portal,
.podref.podref--standalone {
	width: 100%;
	max-width: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.podref-portal { padding-inline: 0; }
.podref-portal--solo { padding-inline: 0; }
.podref.podref--standalone { padding: clamp(28px, 4vw, 56px); }
.podref--standalone .podref__grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 20px; }
.podref--standalone.podref--thanks { max-width: none; }

/* Field rhythm */
.podref__field { margin-bottom: 20px; }
.podref__group { margin-bottom: 28px; }
.podref__group legend { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.podref__group legend .podref-i { color: var(--podref-accent); }
.podref__as { display: flex; align-items: flex-start; gap: 10px; }
.podref__as .podref-i { margin-top: 3px; color: var(--pp-muted); }
.podref__button { margin-top: 10px; }

/* Signed-in layout */
.pp-hero { margin-bottom: 24px; padding: clamp(32px, 4vw, 52px) clamp(28px, 4vw, 56px); }
.pp-stats { gap: 20px; margin-bottom: 24px; }
.pp-stat__in { padding: 24px 26px; }
.pp-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 24px; }
.pp-side .podref { padding: 36px; }
.pp-list__head { padding: 26px 28px 18px; }
.pp-list__head h3 { display: inline-flex; align-items: center; gap: 10px; }
.pp-list__head h3 .podref-i { color: var(--podref-accent); }
.pp-refs { padding: 0 16px 16px; }
.pp-ref { padding: 22px 12px; }
.pp-list { container-type: inline-size; }
@container (min-width: 880px) {
	.pp-refs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
}

/* Logged-out split, full width */
.pp-auth { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 620px; }
.pp-auth__brand { padding: clamp(36px, 5vw, 72px); }
.pp-auth__title { max-width: 560px; font-size: clamp(32px, 3.8vw, 54px); }
.pp-auth__steps { width: 100%; max-width: 560px; }
.pp-auth__steps li { gap: 18px; padding: 20px 0; }
.pp-auth__ico {
	display: grid !important; place-items: center; flex: none; width: 40px; height: 40px; padding: 0 !important;
	border-radius: 12px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); color: #ff86c0 !important;
}
.pp-auth__panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 72px); }
.pp-auth__panel > * { width: 100%; max-width: 460px; margin-left: auto; margin-right: auto; }
.pp-solo { max-width: 540px; }

/* Icons inside buttons and badges */
.podref__btnicon .podref-i, .pp-btn__icon .podref-i { width: auto; }
.pp-iconbtn .podref-i, .pp-stat__icon .podref-i, .pp-empty__icon .podref-i, .podref__success .podref-i { width: auto; }
.pp-stat--reward .pp-stat__num { font-size: 44px; }

@media (max-width: 980px) { .pp-auth { min-height: 0; } }
@media (max-width: 860px) { .pp-auth { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
	.podref-portal { padding-inline: 0; }
	.pp-stats { gap: 12px; }
	.pp-stat__in { padding: 16px 14px; }
	.pp-side .podref { padding: 24px; }
	.pp-list__head { padding: 22px 20px 14px; }
	.pp-refs { padding: 0 8px 8px; }
}

/* Responsive overrides (must stay last) */
@media (max-width: 980px) {
	.pp-layout { grid-template-columns: minmax(0, 1fr); }
	.pp-side { position: static; }
}
@media (max-width: 860px) {
	.pp-stats { grid-template-columns: 1fr 1fr; }
	.pp-stat--reward { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.pp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.pp-stat__in { padding: 16px 14px; }
	.pp-stat__icon { margin-bottom: 8px; }
	.pp-stat__num { font-size: 26px; }
	.pp-stat--reward .pp-stat__num { font-size: 36px; }
	.pp-stat__label { font-size: 12px; }
	.pp-hero { padding: 28px 22px; border-radius: 24px; }
	.pp-hero__actions { width: 100%; }
	.pp-hero__actions .pp-btn { flex: 1; }
}
@media (max-width: 480px) {
	.pp-ref__top { flex-wrap: wrap; }
	.pp-ref__who { flex: 1 1 calc(100% - 60px); }
	.pp-ref__top .podref-badge { margin-left: 54px; }
	.pp-track, .pp-ref__note { margin-left: 0; }
}
.pp-stats.pp-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-track.pp-track--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ==========================================================================
   Button hardening — beats theme / Elementor Kit global button styles
   (e.g. `.elementor-kit-X button`, `[type="submit"]`) that were forcing a
   transparent background + thin border and hiding the white label.
   ========================================================================== */
.podref .podref__button,
.podref-portal .podref__button,
.podref-portal .pp-btn--primary,
body button.podref__button,
body button.podref__button[type="submit"],
body a.podref__button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 14px !important;
	min-height: 54px !important;
	height: auto !important;
	padding: 7px 7px 7px 24px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #ff0080 !important;
	background: var(--podref-accent, #ff0080) !important;
	background-image: none !important;
	color: #ffffff !important;
	font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
	font-size: 15.5px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
	text-align: left !important;
	text-decoration: none !important;
	text-shadow: none !important;
	opacity: 1 !important;
	cursor: pointer !important;
	box-shadow: 0 14px 28px -14px rgba(255, 0, 128, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
	box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--podref-accent, #ff0080) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
.podref .podref__button--full,
.podref-portal .podref__button--full,
body .podref__button.podref__button--full { width: 100% !important; max-width: 100% !important; }

.podref .podref__button > span,
.podref-portal .podref__button > span,
body .podref__button > span { color: #ffffff !important; }

/* Hover / focus / active keep the solid fill instead of the theme's colours */
.podref .podref__button:hover,
.podref .podref__button:focus,
.podref-portal .podref__button:hover,
.podref-portal .podref__button:focus,
.podref-portal .pp-btn--primary:hover,
body button.podref__button:hover,
body button.podref__button:focus,
body a.podref__button:hover,
body a.podref__button:focus {
	background: #e60073 !important;
	background: var(--podref-accent, #ff0080) !important;
	color: #ffffff !important;
	border: 0 !important;
	filter: brightness(0.94);
	box-shadow: 0 18px 32px -14px rgba(255, 0, 128, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
	box-shadow: 0 18px 32px -14px color-mix(in srgb, var(--podref-accent, #ff0080) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}
.podref .podref__button:active,
.podref-portal .podref__button:active,
body .podref__button:active { transform: scale(0.98); filter: brightness(0.9); }
.podref .podref__button:focus-visible,
.podref-portal .podref__button:focus-visible,
body .podref__button:focus-visible { outline: 3px solid #111114 !important; outline-offset: 3px !important; }

/* Icon chip */
.podref .podref__button .podref__btnicon,
.podref-portal .podref__button .podref__btnicon,
body .podref__button .podref__btnicon {
	display: grid !important;
	place-items: center !important;
	flex: none !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.2) !important;
	color: #ffffff !important;
}
body .podref__button .podref__btnicon .podref-i,
body .podref__button .podref__btnicon i,
body .podref__button .podref__btnicon svg { color: #ffffff !important; fill: currentColor; }


/* ---------- Instant Log in / Create account switching ---------- */
.podref-portal .podref__pane[hidden] { display: none !important; }
.podref-portal .podref__pane.is-entering { animation: podref-pane-in 0.35s cubic-bezier(0.32, 0.72, 0, 1) both; }
@keyframes podref-pane-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .podref-portal .podref__pane.is-entering { animation: none; } }
.podref-portal .podref__tab { cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* ==========================================================================
   v1.8 — Affiliate section on the Referral Dashboard (pa-*)
   ========================================================================== */
.podref-portal .pa { display: flex; flex-direction: column; gap: 20px; margin: 0 0 24px; scroll-margin-top: 24px; }
.podref-portal .pa > .pp-notice { margin: 0; }
.podref-portal .pa-notice--warn { background: #fff5e6; color: #8c4f05; box-shadow: inset 0 0 0 1px rgba(161, 92, 7, 0.18); }

/* Journey strip */
.podref-portal .pa-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 6px; list-style: none; border-radius: 22px; background: rgba(17, 17, 20, 0.035); box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.045); counter-reset: none; }
.podref-portal .pa-steps li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border-radius: 16px; color: #6f6f78; font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.podref-portal .pa-steps li small { display: block; margin-bottom: 2px; color: #a1a1aa; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.podref-portal .pa-steps__ico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #ffffff; color: #a1a1aa; box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.08); }
.podref-portal .pa-steps__ico .podref-i { width: auto; }
.podref-portal .pa-steps li.is-done { color: #111114; }
.podref-portal .pa-steps li.is-done .pa-steps__ico { background: #12805c; color: #ffffff; box-shadow: none; }
.podref-portal .pa-steps li.is-now { background: #ffffff; color: #111114; box-shadow: 0 1px 2px rgba(17, 17, 20, 0.05), 0 10px 24px -14px rgba(17, 17, 20, 0.35); }
.podref-portal .pa-steps li.is-now small { color: #ff0080; }
.podref-portal .pa-steps li.is-now .pa-steps__ico { background: #ff0080; color: #ffffff; box-shadow: 0 8px 18px -8px rgba(255, 0, 128, 0.7); }
@media (max-width: 1000px) { .podref-portal .pa-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .podref-portal .pa-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Cards */
.podref-portal .pa-card { padding: 5px; border-radius: 26px; background: rgba(17, 17, 20, 0.035); box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.045); }
.podref-portal .pa-card__in { position: relative; height: 100%; box-sizing: border-box; padding: 28px 30px; border-radius: 21px; background: #ffffff; box-shadow: 0 1px 2px rgba(17, 17, 20, 0.04), 0 18px 40px -26px rgba(17, 17, 20, 0.22); }
.podref-portal .pa-h3 { display: flex; align-items: center; gap: 10px; margin: 0; color: #111114; font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.podref-portal .pa-h3 .podref-i { width: auto; color: #ff0080; }
.podref-portal .pa-h3--lg { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.podref-portal .pa-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.podref-portal .pa-head--sub { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(17, 17, 20, 0.07); }
.podref-portal .pa-muted { margin: 0 0 14px; color: #6f6f78; font-size: 13.5px; line-height: 1.55; }
.podref-portal .pa-label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.podref-portal .pa-eyebrow { display: inline-block; margin-bottom: 12px; padding: 5px 11px; border-radius: 999px; background: #fff0f7; color: #c20062; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }

/* Status (pending / suspended) */
.podref-portal .pa-status { display: flex; align-items: flex-start; gap: 18px; }
.podref-portal .pa-status__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 16px; background: #fff5e6; color: #a15c07; }
.podref-portal .pa-status__icon .podref-i { width: auto; }
.podref-portal .pa-status p { margin: 8px 0 0; color: #3a3a42; font-size: 14.5px; line-height: 1.6; }

/* Apply */
.podref-portal .pa-apply { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 36px; align-items: start; }
.podref-portal .pa-apply__intro p { margin: 12px 0 0; color: #3a3a42; font-size: 15px; line-height: 1.6; }
@media (max-width: 860px) { .podref-portal .pa-apply { grid-template-columns: 1fr; gap: 20px; } }
.podref-portal .pa-field { margin: 0 0 16px; }
.podref-portal .pa-field label { display: block; margin: 0 0 7px; color: #111114; font-size: 13.5px; font-weight: 600; }
.podref-portal .pa-opt { margin-left: 4px; color: #a1a1aa; font-size: 11.5px; font-weight: 500; }
.podref-portal .pa-form input[type="url"],
.podref-portal .pa-form input[type="text"],
.podref-portal .pa-form textarea,
.podref-portal .pa-form select {
	width: 100%; box-sizing: border-box; min-height: 48px; margin: 0; padding: 12px 16px;
	border: 0; border-radius: 14px; background: #f6f6f3; box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.08);
	color: #111114; font-family: inherit; font-size: 15px;
}
.podref-portal .pa-form textarea { min-height: 96px; resize: vertical; }
.podref-portal .pa-form input:focus, .podref-portal .pa-form textarea:focus, .podref-portal .pa-form select:focus { outline: 0; background: #ffffff; box-shadow: inset 0 0 0 1.5px #ff0080, 0 0 0 4px rgba(255, 0, 128, 0.12); }
.podref-portal .pa-terms { margin: 0 0 6px; }
.podref-portal .pa-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
	border: 0; border-radius: 999px; background: #111114 !important; color: #ffffff !important; cursor: pointer;
	font-family: inherit; font-size: 14px; font-weight: 700; transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}
.podref-portal .pa-btn:hover { background: #2a2a30 !important; }
.podref-portal .pa-btn:active { transform: scale(0.98); }

/* Referral ID card */
.podref-portal .pa-card--dark .pa-card__in { overflow: hidden; isolation: isolate; background: #0f0f12; color: #ffffff; box-shadow: 0 30px 60px -36px rgba(17, 17, 20, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.podref-portal .pa-id { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 32px; align-items: center; padding: 32px 34px; }
.podref-portal .pa-id__glow { position: absolute; z-index: -1; right: -140px; top: -220px; width: 560px; height: 460px; background: radial-gradient(closest-side, rgba(255, 0, 128, 0.4), rgba(255, 0, 128, 0.1) 55%, transparent 75%); }
.podref-portal .pa-id .pa-label { color: #ff7ab8; }
.podref-portal .pa-id__code { display: block; color: #ffffff; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; word-break: break-all; }
.podref-portal .pa-id__rate { display: block; margin-top: 12px; color: rgba(255, 255, 255, 0.66); font-size: 14px; line-height: 1.5; }
@media (max-width: 860px) { .podref-portal .pa-id { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; } }
.podref-portal .pa-copy { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.podref-portal .pa-copy input[type="text"] { flex: 1; min-width: 0; min-height: 40px; margin: 0; padding: 0 14px; border: 0; background: transparent !important; box-shadow: none !important; color: #ffffff; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; }
.podref-portal .pa-copy__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none; min-height: 40px; padding: 0 18px;
	border: 0; border-radius: 999px; background: #ff0080 !important; color: #ffffff !important; cursor: pointer;
	font-family: inherit; font-size: 13px; font-weight: 700; white-space: nowrap;
	box-shadow: 0 10px 22px -10px rgba(255, 0, 128, 0.8); transition: background-color 0.3s ease, transform 0.3s ease;
}
.podref-portal .pa-copy__btn:hover { background: #e60073 !important; }
.podref-portal .pa-copy__btn:active { transform: scale(0.97); }
.podref-portal .pa-copy__btn.is-copied { background: #12805c !important; box-shadow: none; }
.podref-portal .pa-copy__btn--ghost { background: #ffffff !important; color: #111114 !important; box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.14); }
.podref-portal .pa-copy__btn--ghost:hover { background: #f6f6f3 !important; }
.podref-portal .pa-gen { margin-top: 12px; }
.podref-portal .pa-gen summary { cursor: pointer; color: rgba(255, 255, 255, 0.7); font-size: 13px; font-weight: 600; }
.podref-portal .pa-gen summary:hover { color: #ffffff; }
.podref-portal .pa-gen__row { display: flex; gap: 8px; margin-top: 10px; }
.podref-portal .pa-gen__in { flex: 1; min-width: 0; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.08) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14) !important; color: #ffffff; font-size: 13.5px; }
.podref-portal .pa-gen__in::placeholder { color: rgba(255, 255, 255, 0.4); }
.podref-portal .pa-gen__out { display: block; margin-top: 8px; color: #ff7ab8; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; word-break: break-all; }

/* Stats */
.podref-portal .pa-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.podref-portal .pa-stats .pp-stat__label strong { color: #111114; }
@media (max-width: 1000px) { .podref-portal .pa-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .podref-portal .pa-stats { grid-template-columns: 1fr; } }

/* Two-column area */
.podref-portal .pa-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1000px) { .podref-portal .pa-grid { grid-template-columns: 1fr; } }

/* Click bars */
.podref-portal .pa-bars { display: flex; align-items: flex-end; gap: 3px; height: 96px; padding: 4px 0; }
.podref-portal .pa-bars span { flex: 1; min-height: 3px; border-radius: 4px 4px 2px 2px; background: #efeff0; }
.podref-portal .pa-bars span.has { background: linear-gradient(180deg, #ff4fa3, #ff0080); }

/* Tables + badges */
.podref-portal .pa-tablewrap { overflow-x: auto; }
.podref-portal .pa-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 13.5px; }
.podref-portal .pa-table th { padding: 0 10px 10px; border: 0; background: none; color: #6f6f78; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-align: left; text-transform: uppercase; }
.podref-portal .pa-table td { padding: 12px 10px; border: 0; border-top: 1px solid rgba(17, 17, 20, 0.07); background: none; color: #3a3a42; }
.podref-portal .pa-num { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.podref-portal .pa-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: #f4f4f5; color: #3a3a42; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.podref-portal .pa-badge--pending { background: #fff5e6; color: #a15c07; }
.podref-portal .pa-badge--approved { background: #eef3ff; color: #2856c7; }
.podref-portal .pa-badge--paid { background: #e9f7f1; color: #12805c; }
.podref-portal .pa-badge--rejected { background: #fdecee; color: #c0263a; }

/* Payouts */
.podref-portal .pa-payouts { margin: 0 0 18px; padding: 0; list-style: none; }
.podref-portal .pa-payouts li { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 10px 0; border-top: 1px solid rgba(17, 17, 20, 0.07); font-size: 14px; color: #3a3a42; }
.podref-portal .pa-payouts li strong { margin-left: auto; color: #111114; font-variant-numeric: tabular-nums; }
.podref-portal .pa-form--payout { margin-top: 6px; padding-top: 18px; border-top: 1px solid rgba(17, 17, 20, 0.07); }

/* Marketing kit */
.podref-portal .pa-kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.podref-portal .pa-kit__item { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #ffffff; box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.08); }
.podref-portal .pa-kit__preview { display: grid; place-items: center; height: 150px; padding: 12px; background: repeating-conic-gradient(#f6f6f3 0% 25%, #ffffff 0% 50%) 50% / 18px 18px; }
.podref-portal .pa-kit__preview img { max-width: 100%; max-height: 126px; height: auto; border-radius: 8px; }
.podref-portal .pa-kit__preview--text { background: #fff0f7; }
.podref-portal .pa-kit__preview--text span { color: #c20062; font-size: 15px; font-weight: 700; text-align: center; text-decoration: underline; text-underline-offset: 4px; }
.podref-portal .pa-kit__meta { display: flex; justify-content: space-between; gap: 8px; padding: 14px 16px 6px; font-size: 14px; color: #111114; }
.podref-portal .pa-kit__meta span { color: #6f6f78; font-size: 12px; }
.podref-portal .pa-kit__actions { display: flex; gap: 8px; padding: 8px 16px 16px; }
.podref-portal .pa-kit__actions .pa-copy__btn { flex: 1; min-height: 36px; padding: 0 12px; font-size: 12.5px; }

/* v1.8.1 — affiliate application on the sign-up form + captions in the kit */
.podref-portal .podref__affapply { margin: 4px 0 18px; padding: 16px 16px 2px; border-radius: 16px; background: #fff0f7; box-shadow: inset 0 0 0 1px rgba(255, 0, 128, 0.12); }
.podref-portal .podref__affapply-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; color: #8a0045; font-size: 13.5px; line-height: 1.5; }
.podref-portal .podref__affapply-note .podref-i { width: auto; margin-top: 3px; color: #ff0080; }
.podref-portal .podref__affapply input, .podref-portal .podref__affapply textarea { background: #ffffff !important; }
.podref-portal .podref__affapply textarea { width: 100%; box-sizing: border-box; min-height: 84px; padding: 12px 16px; border: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.08); font-family: inherit; font-size: 15px; resize: vertical; }
.podref-portal .pa-kit__preview--caption { place-items: stretch; background: #f6f6f3; }
.podref-portal .pa-kit__preview--caption p { margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; color: #3a3a42; font-size: 13px; line-height: 1.55; }
.podref-portal a.pa-copy__btn { text-decoration: none !important; }
.podref-portal .pa-kit__actions { flex-wrap: wrap; }
.podref-portal .pa-kit__actions .pa-copy__btn { flex: 1 1 auto; }
.podref-portal .podref__affapply input[type="url"] { width: 100%; box-sizing: border-box; min-height: 52px; margin: 0; padding: 0 16px; border: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.08); color: #111114; font-family: inherit; font-size: 15px; }
.podref-portal .podref__affapply input[type="url"]:focus, .podref-portal .podref__affapply textarea:focus { outline: 0; box-shadow: inset 0 0 0 1.5px #ff0080, 0 0 0 4px rgba(255, 0, 128, 0.12); }

/* ==========================================================================
   v1.9 — Waiting-for-approval experience
   ========================================================================== */
@keyframes pa-pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(245, 158, 11, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); } }
.podref-portal .pa-pulse { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; animation: pa-pulse 1.8s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .podref-portal .pa-pulse { animation: none; } }

/* Hero status pill */
.podref-portal .pp-hero__status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 0 8px; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; vertical-align: middle; }
.podref-portal .pp-hero__status .podref-i { width: auto; }
.podref-portal .pp-hero__status--pending { background: rgba(245, 158, 11, 0.14); color: #fbbf24; box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.3); }
.podref-portal .pp-hero__status--approved { background: rgba(34, 176, 125, 0.16); color: #4ade80; box-shadow: inset 0 0 0 1px rgba(34, 176, 125, 0.32); }

/* Success + celebration banners */
.podref-portal .pa-success, .podref-portal .pa-celebrate { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 20px; background: #ecf8f2; box-shadow: inset 0 0 0 1px rgba(18, 128, 92, 0.16); }
.podref-portal .pa-success strong, .podref-portal .pa-celebrate strong { display: block; color: #0e5e44; font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; }
.podref-portal .pa-success > div > span, .podref-portal .pa-celebrate > div > span { display: block; margin-top: 2px; color: #2f6b55; font-size: 13.5px; line-height: 1.5; }
.podref-portal .pa-success__icon, .podref-portal .pa-celebrate__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #12805c; color: #ffffff; box-shadow: 0 10px 22px -10px rgba(18, 128, 92, 0.8); }
.podref-portal .pa-success__icon .podref-i, .podref-portal .pa-celebrate__icon .podref-i { width: auto; }
.podref-portal .pa-celebrate { background: linear-gradient(120deg, #fff0f7, #ffffff 70%); box-shadow: inset 0 0 0 1px rgba(255, 0, 128, 0.16); }
.podref-portal .pa-celebrate strong { color: #8a0045; }
.podref-portal .pa-celebrate div span { color: #6f6f78; }
.podref-portal .pa-celebrate__icon { background: #ff0080; box-shadow: 0 10px 22px -10px rgba(255, 0, 128, 0.8); }

/* Pending card */
.podref-portal .pa-card--pending .pa-card__in { padding: 34px 36px; overflow: hidden; }
.podref-portal .pa-card--pending .pa-card__in::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 360px; background: radial-gradient(closest-side, rgba(245, 158, 11, 0.12), transparent 70%); pointer-events: none; }
.podref-portal .pa-pending__head { position: relative; max-width: 720px; }
.podref-portal .pa-pending__head p { margin: 12px 0 0; color: #3a3a42; font-size: 15px; line-height: 1.65; }
.podref-portal .pa-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 13px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.podref-portal .pa-pill--pending { background: #fff5e6; color: #a15c07; box-shadow: inset 0 0 0 1px rgba(161, 92, 7, 0.16); }

/* Timeline */
.podref-portal .pa-timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.podref-portal .pa-timeline::before { content: ""; position: absolute; left: 16px; right: 16px; top: 16px; height: 2px; background: linear-gradient(90deg, #12805c 0 18%, #f59e0b 18% 36%, #ececec 36%); }
.podref-portal .pa-timeline li { position: relative; display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 0; }
.podref-portal .pa-timeline__dot { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: #ffffff; color: #a1a1aa; font-size: 13px; font-weight: 800; box-shadow: inset 0 0 0 2px #ececec; }
.podref-portal .pa-timeline__dot .podref-i { width: auto; }
.podref-portal .pa-timeline li.is-done .pa-timeline__dot { background: #12805c; color: #ffffff; box-shadow: 0 8px 18px -8px rgba(18, 128, 92, 0.8); }
.podref-portal .pa-timeline li.is-now .pa-timeline__dot { background: #fff5e6; box-shadow: inset 0 0 0 2px #f59e0b; }
.podref-portal .pa-timeline strong { color: #111114; font-size: 14px; font-weight: 700; }
.podref-portal .pa-timeline small { color: #6f6f78; font-size: 12.5px; }
.podref-portal .pa-timeline li:not(.is-done):not(.is-now) strong { color: #6f6f78; }
@media (max-width: 760px) {
	.podref-portal .pa-timeline { grid-template-columns: 1fr; gap: 14px; }
	.podref-portal .pa-timeline::before { left: 16px; right: auto; top: 16px; bottom: 16px; width: 2px; height: auto; background: linear-gradient(180deg, #12805c 0 22%, #f59e0b 22% 45%, #ececec 45%); }
	.podref-portal .pa-timeline li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
	.podref-portal .pa-timeline__dot { grid-row: span 2; margin: 0; }
}

/* Summary + unlocks */
.podref-portal .pa-pending__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 30px; padding-top: 28px; border-top: 1px solid rgba(17, 17, 20, 0.07); }
@media (max-width: 860px) { .podref-portal .pa-pending__grid { grid-template-columns: 1fr; } }
.podref-portal .pa-pending .pa-label { color: #ff0080; }
.podref-portal .pa-summary dl { margin: 0; }
.podref-portal .pa-summary dl > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid rgba(17, 17, 20, 0.06); }
.podref-portal .pa-summary dl > div:first-child { border-top: 0; }
.podref-portal .pa-summary dt { margin: 0; color: #6f6f78; font-size: 13px; }
.podref-portal .pa-summary dd { margin: 0; color: #111114; font-size: 14px; font-weight: 600; word-break: break-word; }
.podref-portal .pa-summary dd .pa-muted { margin: 0; font-weight: 500; }
.podref-portal .pa-unlock ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.podref-portal .pa-unlock li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; border-radius: 16px; background: #f6f6f3; box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.05); }
.podref-portal .pa-unlock__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: #ffffff; color: #ff0080; box-shadow: 0 1px 2px rgba(17, 17, 20, 0.06); }
.podref-portal .pa-unlock__icon .podref-i, .podref-portal .pa-unlock__lock .podref-i { width: auto; }
.podref-portal .pa-unlock__txt { flex: 1; min-width: 0; }
.podref-portal .pa-unlock__txt strong { display: block; color: #111114; font-size: 14px; font-weight: 700; }
.podref-portal .pa-unlock__txt small { display: block; margin-top: 1px; color: #6f6f78; font-size: 12.5px; line-height: 1.4; }
.podref-portal .pa-unlock__lock { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #ffffff; color: #a1a1aa; box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.08); }

/* "While you wait" divider */
.podref-portal .pa-while { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 4px 0 18px; padding: 0 6px; }
.podref-portal .pa-while span { color: #111114; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.podref-portal .pa-while p { margin: 0; color: #6f6f78; font-size: 14px; }

/* v1.9.1: keep every circular icon perfectly round */
.podref-portal .pp-btn__icon, .podref-portal .podref__btnicon, .podref-portal .pp-stat__icon, .podref-portal .pp-iconbtn { flex: none; aspect-ratio: 1 / 1; }
.podref .podref__btnicon { flex: none; aspect-ratio: 1 / 1; }
