/**
 * Freemius pricing page — Instant Emoji Reactions Pro theme.
 * Applied via the pricing/css_path filter. Targets Freemius design tokens only.
 */

#fs_pricing.wrap,
#fs_pricing.fs-section {
	margin: 12px 10px 24px 0;
	padding: 0;
	max-width: none;
	background: transparent;
}

#fs_pricing_wrapper {
	background: #fffbf5;
	border: 1px solid #e8ddb8;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

#fs_pricing_app {
	/* Brand palettes */
	--fs-ds-blue-10: #ffebef;
	--fs-ds-blue-50: #ffd6dc;
	--fs-ds-blue-100: #ffb3be;
	--fs-ds-blue-200: #ff8a9a;
	--fs-ds-blue-300: #ff5c72;
	--fs-ds-blue-400: #f52a45;
	--fs-ds-blue-500: #f20021;
	--fs-ds-blue-600: #d1001c;
	--fs-ds-blue-700: #c9001a;
	--fs-ds-blue-800: #a80016;
	--fs-ds-blue-900: #7a0010;

	--fs-ds-yellow-10: #fffbf0;
	--fs-ds-yellow-100: #fff4d6;
	--fs-ds-yellow-200: #ffe9a8;
	--fs-ds-yellow-300: #fadc6e;
	--fs-ds-yellow-400: #f2cc3c;
	--fs-ds-yellow-500: #e8bc2e;
	--fs-ds-yellow-600: #e0b820;
	--fs-ds-yellow-700: #c9a41a;
	--fs-ds-yellow-800: #a68614;
	--fs-ds-yellow-900: #7a630f;

	--fs-ds-red-10: #ffebef;
	--fs-ds-red-100: #ffd0d7;
	--fs-ds-red-200: #ff9aa8;
	--fs-ds-red-300: #ff5c72;
	--fs-ds-red-400: #f52a45;
	--fs-ds-red-500: #f20021;
	--fs-ds-red-600: #d1001c;
	--fs-ds-red-700: #c9001a;
	--fs-ds-red-800: #a80016;
	--fs-ds-red-900: #7a0010;

	--fs-ds-neutral-10: #fffbf5;
	--fs-ds-neutral-50: #fff8ec;
	--fs-ds-neutral-100: #fff4d6;
	--fs-ds-neutral-200: #e8ddb8;
	--fs-ds-neutral-300: #d4c89a;
	--fs-ds-neutral-400: #a89a72;
	--fs-ds-neutral-500: #7a6f52;
	--fs-ds-neutral-600: #525252;
	--fs-ds-neutral-700: #3d3d3d;
	--fs-ds-neutral-800: #2a2a2a;
	--fs-ds-neutral-900: #1a1a1a;
	--fs-ds-neutral-900-fade-60: rgba(26, 26, 26, 0.4);
	--fs-ds-neutral-900-fade-92: rgba(26, 26, 26, 0.08);

	--fs-ds-white-10: #ffffff;

	/* Theme tokens */
	--fs-ds-theme-primary-accent-color: #f20021;
	--fs-ds-theme-primary-accent-color-hover: #d1001c;
	--fs-ds-theme-primary-red-color: #f20021;
	--fs-ds-theme-primary-yellow-color: #f2cc3c;
	--fs-ds-theme-primary-green-color: #1f8a4c;

	--fs-ds-theme-background-color: #fffbf5;
	--fs-ds-theme-background-accented: #fff4d6;
	--fs-ds-theme-background-hover: #fff8ec;
	--fs-ds-theme-background-shade: #fff4d6;
	--fs-ds-theme-background-dark: #2a2a2a;
	--fs-ds-theme-background-darkest: #1a1a1a;
	--fs-ds-theme-background-overlay: rgba(26, 26, 26, 0.45);

	--fs-ds-theme-border-color: #e8ddb8;
	--fs-ds-theme-divider-color: #e8ddb8;

	--fs-ds-theme-text-color: #1a1a1a;
	--fs-ds-theme-heading-text-color: #1a1a1a;
	--fs-ds-theme-muted-text-color: #525252;
	--fs-ds-theme-dark-background-text-color: #ffffff;
	--fs-ds-theme-dark-background-muted-text-color: rgba(255, 255, 255, 0.82);

	--fs-ds-theme-button-primary-background-color: #f20021;
	--fs-ds-theme-button-primary-background-hover-color: #d1001c;
	--fs-ds-theme-button-primary-border-color: #c9001a;
	--fs-ds-theme-button-primary-border-hover-color: #b80018;
	--fs-ds-theme-button-primary-border-focus-color: #a80016;
	--fs-ds-theme-button-primary-text-color: #ffffff;

	--fs-ds-theme-button-background-color: #ffffff;
	--fs-ds-theme-button-background-hover-color: #fff4d6;
	--fs-ds-theme-button-border-color: #e8ddb8;
	--fs-ds-theme-button-border-hover-color: #d4c89a;
	--fs-ds-theme-button-border-focus-color: #f20021;
	--fs-ds-theme-button-text-color: #1a1a1a;
	--fs-ds-theme-button-disabled-background-color: #f5f0e4;
	--fs-ds-theme-button-disabled-border-color: #e8ddb8;
	--fs-ds-theme-button-disabled-text-color: #a89a72;

	--fs-ds-theme-package-popular-background: #f20021;

	--fs-ds-theme-error-color: #f20021;
	--fs-ds-theme-warn-color: #e0b820;
	--fs-ds-theme-success-color: #1f8a4c;
	--fs-ds-theme-testimonial-star-color: #f2cc3c;

	--fs-ds-theme-notice-info-background: #fff4d6;
	--fs-ds-theme-notice-info-border: #f2cc3c;
	--fs-ds-theme-notice-info-color: #1a1a1a;
	--fs-ds-theme-notice-warn-background: #ffebef;
	--fs-ds-theme-notice-warn-border: #f20021;
	--fs-ds-theme-notice-warn-color: #1a1a1a;
}

/**
 * Hide tiered "All Personal/Business Features" lists.
 * Freemius auto-injects these for higher plans even when all plans share the same features.
 */
#fs_pricing_app .fs-package .fs-plan-features,
#fs_pricing_app .fs-package .fs-plan-features-with-value {
	display: none !important;
}

/**
 * Hide Freemius "custom implementation / contact us" promo block.
 */
#fs_pricing_app .fs-section--custom-implementation {
	display: none !important;
}

/**
 * Featured plan — "Most Popular" badge straddles the top edge (half in, half out).
 */
#fs_pricing_app .fs-section--packages .fs-packages {
	overflow: visible;
	padding-top: 18px;
}

#fs_pricing_app .fs-package.fs-featured-plan {
	position: relative;
	overflow: visible;
	z-index: 2;
}

#fs_pricing_app .fs-package.fs-featured-plan .fs-most-popular {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 3;
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
	line-height: normal;
	background: transparent;
	border-radius: 0;
	text-align: center;
	text-transform: none;
	transform: translate(-50%, -50%);
}

#fs_pricing_app .fs-package.fs-featured-plan .fs-most-popular h4 {
	display: inline-block;
	margin: 0;
	padding: 7px 20px;
	background: #f2cc3c;
	color: #1a1a1a;
	border: 1px solid #e0b820;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(242, 204, 60, 0.45);
}

#fs_pricing_app .fs-package.fs-featured-plan .fs-most-popular h4 strong {
	font-weight: 700;
	color: inherit;
}

#fs_pricing_app .fs-package.fs-featured-plan .fs-plan-title {
	padding-top: 18px;
}

/**
 * Money-back guarantee — "Learn More" button.
 */
#fs_pricing_app .fs-section--money-back-guarantee .fs-button {
	background: #f20021 !important;
	border: 1px solid #c9001a !important;
	color: #ffffff !important;
	border-radius: 8px;
	box-shadow: none !important;
	font-size: 14px;
	letter-spacing: 0.06em;
	padding: 12px 24px;
}

#fs_pricing_app .fs-section--money-back-guarantee .fs-button:hover,
#fs_pricing_app .fs-section--money-back-guarantee .fs-button:focus {
	background: #d1001c !important;
	border-color: #b80018 !important;
	color: #ffffff !important;
}

/**
 * FAQ section — plugin-themed cards.
 */
#fs_pricing_app .fs-section--faq {
	background: #fffbf5;
	padding: 36px 28px 44px;
	border-top: 1px solid #e8ddb8;
}

#fs_pricing_app .fs-section--faq > header {
	margin-bottom: 2em;
	text-align: center;
}

#fs_pricing_app .fs-section--faq > header h2 {
	color: #1a1a1a;
	font-size: 2em;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

#fs_pricing_app .fs-section--faq .fs-section--faq-items {
	column-gap: 24px;
	max-width: 980px;
}

#fs_pricing_app .fs-section--faq .fs-section--faq-item {
	margin-bottom: 24px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	break-inside: avoid;
}

#root .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item h3,
#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item h3,
#fs_pricing_app .fs-section--faq .fs-section--faq-item h3 {
	background: linear-gradient(135deg, #f2cc3c 0%, #e8bc2e 100%);
	color: #1a1a1a;
	border: 1px solid #e8ddb8;
	border-bottom: none;
	border-radius: 0;
	padding: 14px 16px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	margin: 0;
	text-align: left;
}

#root .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item p,
#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item p,
#fs_pricing_app .fs-section--faq .fs-section--faq-item p {
	background: #ffffff;
	color: #525252;
	border: 1px solid #e8ddb8;
	border-top: none;
	border-radius: 0;
	padding: 14px 16px;
	font-size: 13px;
	line-height: 1.65;
	margin: 0;
	text-align: left;
}

#fs_pricing_app .fs-section--faq .fs-section--faq-item p a {
	color: #f20021;
	font-weight: 600;
	text-decoration: none;
}

#fs_pricing_app .fs-section--faq .fs-section--faq-item p a:hover,
#fs_pricing_app .fs-section--faq .fs-section--faq-item p a:focus {
	color: #d1001c;
	text-decoration: underline;
}
