/* Side-by-side buttons on confirmation page */
body.pmpro-confirmation .pmpro_actions_nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

<div class="pmpro_actions_nav">
  <a href="/membership-account/" class="fm-conf-btn">View Your Account</a>
  <a href="/dashboard/" class="fm-conf-btn fm-conf-btn-primary">Go to Your Dashboard →</a>
</div>

.fm-conf-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid #3A5A40;
  color: #3A5A40;
  border-radius: 999px;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--fm-font-body, 'Work Sans', 'DM Sans', -apple-system, sans-serif);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.12s ease;
}

.fm-conf-btn:hover {
  background: #3A5A40;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.fm-conf-btn.fm-conf-btn-primary {
  background: #BCCF97;
  border-color: #BCCF97;
  color: #151515;
  box-shadow: 0 2px 10px rgba(188, 207, 151, 0.25);
}

.fm-conf-btn.fm-conf-btn-primary:hover {
  background: #9FAF80;
  border-color: #9FAF80;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(159, 175, 128, 0.35);
}

@media screen and (max-width: 767px) {
  .fm-conf-btn {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   FRAMED MINDS — MEMBERSHIP CONFIRMATION PAGE
   Append to fm-pmpro.css (then bump the enqueue version in functions.php).
   Selectors verified against PMPro 3.x pages/confirmation.php + invoice.php.
   Tokens: ink #151515 · parchment #F4F1E8 · border #E7EAED ·
           sage #BCCF97 · active #96CA42 · heal teal #3A5A40 · anchor #0E1A27
   ========================================================================== */

/* --- Page atmosphere: warm parchment wash behind the receipt ----------- */
body.pmpro-confirmation .pmpro_section {
	background: linear-gradient(180deg, #F4F1E8 0%, #FFFFFF 240px);
	border-radius: 16px;
	padding: clamp(16px, 4vw, 40px);
}

/* --- Success + level messages: calm, not alarm ------------------------- */
body.pmpro-confirmation .pmpro_message.pmpro_success {
	background: #FFFFFF;
	border: 1px solid #E7EAED;
	border-left: 4px solid #96CA42;
	border-radius: 12px;
	color: #151515;
	padding: 18px 22px;
	font-size: 1.05rem;
	line-height: 1.6;
}

body.pmpro-confirmation .pmpro_confirmation-level-message {
	background: #FFFFFF;
	border: 1px solid #E7EAED;
	border-top: 4px solid #BCCF97;
	border-radius: 14px;
	padding: clamp(20px, 4vw, 32px);
	margin: 20px 0;
	line-height: 1.7;
	color: #151515;
	box-shadow: 0 6px 18px rgba(14, 26, 39, 0.05);
}

body.pmpro-confirmation .pmpro_confirmation-level-message strong {
	color: #3A5A40;
}

/* --- The receipt card --------------------------------------------------- */
body.pmpro-confirmation .pmpro_order_single.pmpro_card,
body.pmpro-confirmation .pmpro_card {
	background: #FFFFFF;
	border: 1px solid #E7EAED;
	border-top: 4px solid #BCCF97;
	border-radius: 14px;
	box-shadow: 0 6px 18px rgba(14, 26, 39, 0.05);
	overflow: hidden;
}

body.pmpro-confirmation .pmpro_card_title {
	font-family: "Avenir", "Work Sans", sans-serif !important;
	color: #151515 !important;
	letter-spacing: -0.01em;
}

/* Order number: give it presence */
body.pmpro-confirmation .pmpro_order_single .pmpro_card_title.pmpro_font-x-large {
	font-size: clamp(1.5rem, 5vw, 2rem) !important;
}

/* --- Status + discount tags -------------------------------------------- */
body.pmpro-confirmation .pmpro_tag {
	display: inline-block;
	border-radius: 999px;
	padding: 4px 14px;
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
	border: 1px solid transparent;
}

body.pmpro-confirmation .pmpro_tag-success {
	background: #BCCF97;
	color: #0E1A27;
}

body.pmpro-confirmation .pmpro_tag-discount-code {
	background: #F4F1E8;
	border-color: #E7EAED;
	color: #3A5A40;
	border-style: dashed;
}

/* --- Labeled detail rows (order date, payment method, bill to…) -------- */
body.pmpro-confirmation .pmpro_list-with-labels .pmpro_list_item {
	padding: 10px 0;
	border-bottom: 1px solid #F4F1E8;
}

body.pmpro-confirmation .pmpro_list-with-labels .pmpro_list_item:last-child {
	border-bottom: 0;
}

body.pmpro-confirmation .pmpro_list_item_label {
	color: #5B6470;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

body.pmpro-confirmation .pmpro_list_item_value {
	color: #151515;
}

/* --- The money line ----------------------------------------------------- */
body.pmpro-confirmation .pmpro_order_single .pmpro_font-large strong,
body.pmpro-confirmation .pmpro_order_single-meta-total {
	color: #3A5A40;
	font-weight: 800;
}

/* --- Print / action links ---------------------------------------------- */
body.pmpro-confirmation .pmpro_btn-print {
	background: transparent;
	border: 1px solid #E7EAED;
	border-radius: 999px;
	color: #3A5A40;
	padding: 8px 18px;
	font-weight: 600;
	cursor: pointer;
	transition: background 160ms ease, border-color 160ms ease;
}

body.pmpro-confirmation .pmpro_btn-print:hover {
	background: #F4F1E8;
	border-color: #BCCF97;
}

body.pmpro-confirmation .pmpro_actions_nav a {
	display: inline-block;
	background: #BCCF97;
	color: #0E1A27;
	border-radius: 999px;
	padding: 12px 26px;
	font-weight: 700;
	text-decoration: none;
	transition: filter 160ms ease;
}

body.pmpro-confirmation .pmpro_actions_nav a:hover {
	filter: brightness(0.96);
}

/* --- Housekeeping: hide the affiliate admin link from members ---------- */
body.pmpro-confirmation a[href*="affiliate"] {
	display: none !important;
}

/* --- Print styles: clean paper receipt ---------------------------------- */
@media print {
	body.pmpro-confirmation .pmpro_section {
		background: #FFFFFF;
		padding: 0;
	}
	body.pmpro-confirmation .pmpro_btn-print,
	body.pmpro-confirmation .pmpro_actions_nav,
	body.pmpro-confirmation a[href*="affiliate"] {
		display: none !important;
	}
	body.pmpro-confirmation .pmpro_card {
		box-shadow: none;
		border: 1px solid #E7EAED;
	}
}
