/**
 * Frontend Styles
 *
 * @package RetailMosaicMembership
 */

/* Reserve space for scrollbar so it does not appear/disappear when toggling
   Monthly/Annual (different content height), which would shift the cards horizontally. */
html {
	scrollbar-gutter: stable;
}

/* Reduce spacing between title and description in pricing cards */
.pricing-pnl h3 {
	margin-top: 5px;
	margin-bottom: 5px !important;
	color: #8158A4;
	text-align: center;
	font-family: Assistant, sans-serif;
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

.pricing-pnl h3 + p {
	margin-top: 0 !important;
	margin-bottom: 10px !important;
	color: #717171;
	text-align: center;
	font-family: Assistant, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.rm-pricing-toggle-wrapper,
.rm-global-pricing-toggle-wrapper {
	margin: 0;
	margin-bottom: 10px;
	width: 100%;
}

.rm-pricing-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0;
	margin-bottom: 20px;
	justify-content: center;
	flex-wrap: nowrap;
	background: #F3ECF8;
	border-radius: 12px;
	padding: 4px;
	position: relative;
	width: auto;
}

.rm-global-pricing-toggle-wrapper .rm-pricing-toggle {
	margin-bottom: 0;
}

.rm-toggle-btn {
	padding: 12px 20px;
	border: 2px solid transparent;
	background: transparent;
	color: #6b4a7f;
	cursor: pointer;
	border-radius: 8px;
	font-family: var(--Copy, 'Assistant', sans-serif);
	font-size: 16px;
	font-weight: var(--CopySemiBld, 600);
	transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	text-align: center;
	box-sizing: border-box;
	white-space: nowrap;
	min-width: 0;
}

.rm-toggle-btn:hover {
	color: #020617;
}

.rm-toggle-btn.active {
	background: #4A4A4A;
	color: #ffffff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rm-toggle-btn.active {
	border-color: #D3D3D3;
}

.rm-savings-badge {
	background: var(--pplmid, #8158a4);
	color: #fff;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	margin-left: 8px;
	white-space: nowrap;
}

.rm-price-display {
	text-align: center;
	margin: 15px 0 20px;
}

.rm-price-display .price {
	font-size: 24px;
	color: var(--ppldk, #6b4a7f);
	font-weight: var(--CopyReg, 400);
	line-height: 1;
	margin-bottom: 0;
	display: block;
}

.rm-price-display .price.hidden {
	display: none;
}

/* Integration with existing .pricing styles */
.pricing.flex .rm-pricing-toggle-wrapper {
	margin-bottom: 0;
}

.pricing.flex .rm-price-display,
.pricing.flex .rm-price-display-card {
	margin-bottom: 15px;
}

.pricing.flex .rm-price-display .price,
.pricing.flex .rm-price-display-card .price {
	margin-bottom: 0;
}

/* Price display styling */
.pricing-pnl .rm-price-display-card {
	text-align: center;
	margin: 15px 0;
}

.pricing-pnl .rm-price-display-card .price {
	margin-bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
}

.pricing-pnl .rm-price-right-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

/* Current price styling */
.pricing-pnl .rm-price-current {
	color: #8158A4;
	font-family: Assistant, sans-serif;
	font-size: 48px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

/* Original price styling */
.pricing-pnl .rm-price-original {
	color: #717171;
	font-family: Assistant, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	text-decoration-line: line-through;
}

/* Price period (/monthly) styling */
.pricing-pnl .rm-price-period {
	color: #717171;
	font-family: Assistant, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

/* Annual pricing billed yearly text styling */
.pricing-pnl .rm-annual-billing-text {
	color: #717171;
	text-align: center;
	font-family: Assistant, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	display: block;
	margin-top: 10px;
	width: 100%;
}

/* Features divider line - full width */
.pricing-pnl .features:after {
	position: absolute;
	top: 0px;
	left: 0 !important;
	width: 100% !important;
	height: 1px;
	content: '';
	display: block;
	background: #E2E8F0 !important;
}

/* Get Started button styling - push to bottom with margin-top: auto */
.pricing-pnl .rm-get-started-btn {
	display: flex;
	width: 234px;
	height: 40px;
	min-width: 80px;
	padding: var(--padding-p-2, 8px) var(--padding-p-3, 12px);
	justify-content: center;
	align-items: center;
	gap: var(--gap-1, 4px);
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: auto !important;
	margin-bottom: 0 !important;
	background: var(--ppldk, #6b4a7f);
	color: #fff;
	text-align: center;
	text-decoration: none;
	border-radius: 10px;
	font-weight: 600;
	text-transform: uppercase;
	transition: background 0.3s ease;
	box-sizing: border-box;
}

.pricing-pnl .rm-get-started-btn:hover {
	background: var(--pplmid, #8158a4);
	color: #fff;
}

/* Industry select dropdown styling */
.rm-industry-select {
	display: flex;
	width: 100%;
	max-width: 100%;
	padding: var(--padding-p-2, 8px) var(--padding-p-3, 12px) var(--padding-p-2, 8px) var(--padding-p-3, 12px);
	margin: 15px 0;
	align-items: center;
	gap: 0;
	align-self: stretch;
	border-radius: 6px;
	border: 1px solid #E2E8F0;
	background: #FFF;
	color: #767676;
	font-family: var(--font-family-font-sans, Inter, sans-serif);
	font-size: var(--text-sm, 14px);
	font-style: normal;
	font-weight: var(--font-weight-font-normal, 400);
	line-height: var(--leading-5, 1.25);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23767676' d='M6 2L1 5h10z'/%3E%3Cpath fill='%23767676' d='M6 10L1 7h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 12px;
	padding-right: 40px;
	box-sizing: border-box;
}

.rm-industry-select:focus {
	outline: none;
	border-color: #8158A4;
	box-shadow: 0 0 0 2px rgba(129, 88, 164, 0.2);
}

/* When dropdown has a selected value, update text color */
.rm-industry-select:not([value=""]) {
	color: #333;
}

.rm-industry-select option {
	padding: 10px 15px;
	color: #333;
	font-family: var(--font-family-font-sans, Inter, sans-serif);
	font-size: var(--text-sm, 14px);
	font-style: normal;
	font-weight: var(--font-weight-font-normal, 400);
	line-height: var(--leading-5, 1.25);
	background: #FFF;
}

/* Selected option styling - matches card theme */
.rm-industry-select option:checked,
.rm-industry-select option:focus {
	background: #8158A4;
	color: #FFF;
}

/* Hover state for options (limited browser support) */
.rm-industry-select option:hover {
	background: #8158A4;
	color: #FFF;
}

/* Pricing card positioning */
.pricing-pnl > div {
	position: relative;
}

.rm-savings-badge-card {
	display: inline-flex;
	padding: 10px var(--padding-p-25, 10px);
	justify-content: center;
	align-items: center;
	gap: 0;
	border-radius: 0 20px;
	background: #8158A4;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	z-index: 10;
	position: absolute;
	top: 0;
	right: 0;
}

/* Card visibility control - JavaScript will handle show/hide */
/* Completely remove hidden cards from layout flow (accordion-style) */
.pg-bene-pricing .row > [class*="col-"].rm-monthly-card.rm-hidden,
.pg-bene-pricing .row > [class*="col-"].rm-annual-card.rm-hidden {
	display: none !important;
	width: 0 !important;
	max-width: 0 !important;
	flex: 0 0 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	border: none !important;
}

/* Show cards when not hidden */
.pg-bene-pricing .row > [class*="col-"].rm-monthly-card:not(.rm-hidden),
.pg-bene-pricing .row > [class*="col-"].rm-annual-card:not(.rm-hidden) {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Equal height cards */
.pg-bene-pricing .row {
	display: flex !important;
	flex-wrap: wrap;
	align-items: stretch !important;
	justify-content: flex-start !important;
}

.pg-bene-pricing .row > [class*="col-"] {
	display: flex !important;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	box-sizing: border-box;
}

/* CRITICAL: pricing-pnl MUST be flex container */
.pg-bene-pricing .row .pricing-pnl {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 100% !important;
	box-sizing: border-box !important;
	margin-bottom: 0 !important;
}

/* CRITICAL: Override theme's .pricing-pnl > div { display: block; } from style.css:289 */
.pg-bene-pricing .row .pricing-pnl > div {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	height: 100% !important;
	min-height: 100% !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	border-radius: 20px !important;
	border: 1px solid #C2A2D4 !important;
	background: #FFF !important;
	padding: 30px 20px !important;
	overflow: visible !important;
}

.pg-bene-pricing .row .pricing-pnl .features {
	flex: 1 1 auto;
}

/* Feature list styling - match theme exactly */
.pricing-pnl .features ul {
	list-style: none;
	position: relative;
	margin: 0;
	padding: 0;
	max-width: 290px;
	display: block;
	margin: 0 auto 12px;
}

.pricing-pnl .features ul li {
	display: block;
	margin-left: 40px;
	position: relative;
	font-size: 18px;
	line-height: 2;
}

/* Disable any theme-added icons via ::before pseudo-elements */
.pricing-pnl .features ul li::before {
	content: none !important;
	display: none !important;
}

/* Feature icon styling - single checkmark for normal features */
.pricing-pnl .features ul li .rm-feature-icon {
	position: absolute;
	left: -35px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	font-weight: 800;
	color: #8158A4;
	line-height: 1;
	display: inline-block;
}

/* Strikethrough feature styling */
.pricing-pnl .features ul li.rm-feature-strikethrough {
	color: #717171;
}

.pricing-pnl .features ul li.rm-feature-strikethrough .rm-feature-icon {
	color: #717171;
	font-size: 20px;
	font-weight: 700;
	font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free', 'FontAwesome', Arial, sans-serif;
}

.pricing-pnl .features ul li.rm-feature-strikethrough span:last-child {
	color: #717171;
}

.pg-bene-pricing .row .pricing-pnl .pricing {
	height: auto !important;
	min-height: auto !important;
	flex-shrink: 0;
}

.pg-bene-pricing .row .pricing-pnl .pricing.flex {
	margin-top: auto;
}

/* Ensure responsive column layout */
@media (min-width: 992px) {
	/* Default: 3 cards layout (33.33% each) */
	.pg-bene-pricing .row .col-md-4:not(.rm-hidden) {
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}
	
	/* When only 1 card visible, center it */
	.pg-bene-pricing .row.one-card {
		justify-content: center !important;
	}
	
	.pg-bene-pricing .row.one-card [class*="col-"]:not(.rm-hidden) {
		flex: 0 0 33.333333% !important;
		max-width: 33.333333% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	
	/* When only 2 cards visible (monthly), maintain same width as 3 cards (33.33%) and center them */
	.pg-bene-pricing .row.two-cards {
		justify-content: center !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	
	/* Uniform padding so all cards have the same width. :first-child/:last-child would
	   only match DOM order (1st and 4th cols), so Monthly (1st+2nd) vs Annual (3rd+4th)
	   got different padding and card widths (352px vs 367px). */
	.pg-bene-pricing .row.two-cards [class*="col-"]:not(.rm-hidden) {
		flex: 0 0 33.333333% !important;
		max-width: 33.333333% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
	
	/* When annual cards are visible, make them 33.33% each (3 cards) */
	.pg-bene-pricing .row .rm-annual-card:not(.rm-hidden) {
		flex: 0 0 33.333333% !important;
		max-width: 33.333333% !important;
	}
	
	/* Ensure hidden cards don't take up space */
	.pg-bene-pricing .row .col-md-4.rm-hidden {
		flex: 0 0 0 !important;
		max-width: 0 !important;
		width: 0 !important;
	}
}

/* Global toggle styling */
.rm-global-pricing-toggle-wrapper h2 {
	font-size: 32px;
	font-weight: 600;
	margin-bottom: 25px;
}

.rm-global-pricing-toggle-wrapper .rm-pricing-toggle {
	display: inline-flex;
}

.rm-global-pricing-toggle-wrapper .rm-toggle-btn span {
	font-weight: 400;
	color: inherit;
}

/* Tablet: 2 columns with dynamic rows (700px - 992px) */
@media only screen and (min-width: 700px) and (max-width: 991px) {
	.rm-price {
		font-size: 30px;
	}
	
	/* Add 20px padding on left and right for tablet */
	.pg-bene-pricing {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	/* Tablet: 2 columns layout */
	.pg-bene-pricing .row .col-md-4:not(.rm-hidden) {
		flex: 0 0 50%;
		max-width: 50%;
	}
	
	/* Maintain card width consistency - cards will be centered within their column */
	.pg-bene-pricing .row .pricing-pnl > div {
		max-width: 100%;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}
	
	/* Dynamic rows - cards will wrap naturally */
	.pg-bene-pricing .row {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	
	/* Center cards when only 1 or 2 visible on tablet */
	.pg-bene-pricing .row.one-card,
	.pg-bene-pricing .row.two-cards {
		justify-content: center !important;
	}
	
	/* Ensure proper spacing between cards */
	.pg-bene-pricing .row .col-md-4:not(.rm-hidden) {
		padding-left: 15px;
		padding-right: 15px;
		margin-bottom: 30px;
	}
	
	/* First card in each row */
	.pg-bene-pricing .row .col-md-4:not(.rm-hidden):nth-child(odd) {
		padding-left: 0;
		padding-right: 15px;
	}
	
	/* Second card in each row */
	.pg-bene-pricing .row .col-md-4:not(.rm-hidden):nth-child(even) {
		padding-left: 15px;
		padding-right: 0;
	}
}

/* Mobile: 1 column, maintain card width (max-width: 699px) */
@media only screen and (max-width: 699px) {
	/* Add 20px padding on left and right for mobile */
	.pg-bene-pricing {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	/* Mobile: 1 column layout */
	.pg-bene-pricing .row .col-md-4:not(.rm-hidden) {
		flex: 0 0 100%;
		max-width: 100%;
		width: 100%;
	}
	
	/* Maintain card width consistency - same max-width as desktop, but responsive */
	.pg-bene-pricing .row .pricing-pnl > div {
		max-width: 475px;
		margin-left: auto;
		margin-right: auto;
		width: calc(100% - 40px); /* Account for padding */
	}
	
	/* Ensure cards stack vertically */
	.pg-bene-pricing .row {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
	}
	
	/* Full width padding for mobile */
	.pg-bene-pricing .row .col-md-4:not(.rm-hidden) {
		padding-left: 0;
		padding-right: 0;
		margin-bottom: 30px;
		width: 100%;
	}
}

/* Desktop: 3 columns (min-width: 992px) */
@media only screen and (min-width: 992px) {
	.rm-price {
		font-size: 40px;
	}
	
	.rm-toggle-btn {
		font-size: 16px;
		padding: 10px 20px;
	}
	
	.rm-savings-badge {
		font-size: 14px;
		padding: 5px 12px;
	}
}

/* Industry Selection Modal */
.rm-industry-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rm-industry-modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

.rm-industry-modal {
	background: #FFFFFF;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow: hidden;
	transform: scale(0.9);
	transition: transform 0.3s ease;
	font-family: 'Assistant', sans-serif;
}

.rm-industry-modal-overlay.active .rm-industry-modal {
	transform: scale(1);
}

.rm-industry-modal-header {
	background: #8158A4;
	color: #FFFFFF;
	padding: 20px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.rm-industry-modal-header h3 {
	margin: 0;
	font-family: 'Assistant', sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: #FFFFFF;
}

.rm-industry-modal-close {
	background: transparent;
	border: none;
	color: #FFFFFF;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: background 0.2s ease;
}

.rm-industry-modal-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

.rm-industry-modal-body {
	padding: 24px;
}

.rm-industry-modal-body p {
	margin: 0;
	font-family: 'Assistant', sans-serif;
	font-size: 16px;
	color: #333333;
	line-height: 1.5;
}

.rm-industry-modal-footer {
	padding: 16px 24px 24px;
	display: flex;
	justify-content: flex-end;
	border-top: 1px solid #E2E8F0;
}

.rm-industry-modal-ok {
	background: #8158A4;
	color: #FFFFFF;
	border: none;
	border-radius: 10px;
	padding: 12px 24px;
	font-family: 'Assistant', sans-serif;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease;
	text-transform: uppercase;
}

.rm-industry-modal-ok:hover {
	background: #6b4a7f;
}

.rm-industry-modal-ok:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(129, 88, 164, 0.3);
}

/* Report access heading row: title left, "sign in here" CTA right */
.rm-report-access-heading-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 20px;
}
.rm-report-access-heading-wrap .rm-report-access-heading {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
/* "If you've purchased an individual report before" text */
.rm-report-access-signin-cta {
	color: #7A3C97;
	font-family: Assistant, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.6px;
}
/* "Sign in here" link – standalone; no dependency on parent (!important overrides theme link resets) */
a.rm-report-access-signin-link,
a.rm-signin-modal-trigger.rm-report-access-signin-link {
	color: #7A3C97 !important;
	font-family: Assistant, sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: normal !important;
	letter-spacing: -0.6px !important;
	text-decoration: underline !important;
	text-underline-offset: 0.2em;
	cursor: pointer;
}
a.rm-report-access-signin-link:hover,
a.rm-signin-modal-trigger.rm-report-access-signin-link:hover {
	color: #5e2d75 !important;
	opacity: 0.9;
}
a.rm-report-access-signin-link:focus-visible,
a.rm-signin-modal-trigger.rm-report-access-signin-link:focus-visible {
	outline: 2px solid #7A3C97;
	outline-offset: 2px;
}

/* When the purchased card is shown at bottom of report content (theme single.php) */
.rm-report-purchased-card-at-bottom {
	margin-top: 2rem;
}

/* Report "You have purchased" card – bordered container when logged-in user has purchased this report.
   Scoped under .rm-report-unlock-widget-wrap so theme/other rules don't hide it (e.g. staging). */
.rm-report-unlock-widget-wrap .rm-report-purchased-card {
	background: #f1f8e9 !important;
	border: 1px solid #2e7d32 !important;
	border-radius: 12px;
	padding: 22px 24px;
	margin-bottom: 45px;
	display: flex !important;
	visibility: visible !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 16px;
	max-width: 100%;
	box-sizing: border-box;
	opacity: 1;
}
.rm-report-purchased-card-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	width: 100%;
}
.rm-report-purchased-icon {
	display: inline-flex;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #2e7d32;
	color: #fff;
	align-items: center;
	justify-content: center;
}
.rm-report-purchased-icon svg {
	width: 30px;
	height: 30px;
}
.rm-report-purchased-content {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 349px;
	min-width: 0;
}
.rm-report-purchased-title {
	margin: 0;
	color: #15803D;
	font-family: Assistant, sans-serif;
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: 100%;
	letter-spacing: -0.6px;
}
.rm-report-purchased-desc {
	margin: 0;
	color: #15803D;
	font-family: Assistant, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 142.857%;
}
.rm-report-purchased-btn {
	display: inline-block;
	background: #2e7d32;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
	margin-left: auto;
}
.rm-report-purchased-btn:hover {
	background: #1b5e20;
	color: #fff;
}

/* Checkout: report context (Individual Report Purchase) */
.rm-checkout-report-context {
	margin: 1rem 0;
	padding: 12px 16px;
	background: #f5f5f5;
	border-radius: 8px;
	border: 1px solid #e9e9e9;
}
.rm-checkout-report-context-title {
	margin: 0 0 6px 0;
	font-size: 1em;
	font-weight: 600;
	color: #231f20;
}
.rm-checkout-report-context-link {
	margin: 0;
	font-size: 0.95em;
}
.rm-checkout-report-context-link a {
	color: var(--pplmid, #8158a4);
	text-decoration: none;
}
.rm-checkout-report-context-link a:hover {
	text-decoration: underline;
}

/* Thank you page: redirect loading bar (theme-aligned) */
.rm-thankyou-redirect-inline {
	margin-top: 1.5rem;
	font-family: var(--Copy, 'Assistant', sans-serif);
}
.rm-thankyou-redirect-inline .rm-thankyou-redirect-message {
	font-size: 1.25rem;
	color: #333;
	margin-bottom: 0.75rem;
}
.rm-thankyou-loading-bar-wrap {
	margin-bottom: 0.75rem;
}
.rm-thankyou-loading-bar-track {
	height: 8px;
	background: #F3ECF8;
	border-radius: 12px;
	overflow: hidden;
}
.rm-thankyou-loading-bar-fill {
	height: 100%;
	width: 0;
	background: #8158A4;
	border-radius: 12px;
	animation: rm-thankyou-loading-bar 9s linear forwards;
}
@keyframes rm-thankyou-loading-bar {
	from { width: 0%; }
	to { width: 100%; }
}
.rm-thankyou-redirect-inline .rm-thankyou-countdown-text {
	color: #717171;
	font-size: 1rem;
	margin: 0;
}

/* Signup form: add spacing above validation messages */
.mp_wrapper .mepr-form-has-errors,
.mp_wrapper .cc-error,
.mp_wrapper .mepr-validation-error {
	margin-top: 12px;
}

.mp_wrapper .mp-form-submit .mepr-form-has-errors {
	display: block;
	width: 100%;
	clear: both;
	margin-top: 12px;
	padding-left: 0;
}

