/**
 * Freemius pricing page — Instant Emoji Reactions Pro theme.
 * Applied via the pricing/css_path filter. Targets Freemius design tokens only.
 */

/* --------------------------------------------------------------------------
 * Launch offer promo (above Freemius cards)
 * -------------------------------------------------------------------------- */

.ier-fs-promo {
	--ier-accent: #f20021;
	--ier-dark: #1a1a1a;
	--ier-gold: #f2cc3c;
	--ier-gold-soft: #fff8e0;
	--ier-gold-border: #e6c035;
	--ier-surface: #fffbf5;
	margin: 12px 10px 16px 0;
	max-width: none;
}

.ier-fs-offer-bar {
	background: linear-gradient(90deg, #1a1a1a 0%, #f20021 50%, #1a1a1a 100%);
	color: #fff;
	padding: 12px 16px;
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(26, 26, 26, 0.28);
	margin-bottom: 16px;
}

.ier-fs-offer-bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 18px;
}

.ier-fs-offer-text {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
}

.ier-fs-coupon-code {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px dashed rgba(255, 255, 255, 0.7);
	border-radius: 8px;
	padding: 5px 12px;
	font-family: Consolas, "Segoe UI", monospace;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.5px;
	color: #fff;
	white-space: nowrap;
}

.ier-fs-coupon-code--dark {
	background: #1a1a1a;
	border-color: var(--ier-gold);
	color: var(--ier-gold);
}

.ier-fs-countdown {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.ier-fs-cd-unit {
	background: rgba(0, 0, 0, 0.22);
	border-radius: 8px;
	min-width: 48px;
	padding: 5px 6px 4px;
	text-align: center;
}

.ier-fs-cd-num {
	display: block;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.ier-fs-cd-label {
	display: block;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: rgba(255, 255, 255, 0.75);
	margin-top: 1px;
}

.ier-fs-cd-sep {
	font-weight: 700;
	opacity: 0.7;
	margin-bottom: 10px;
	color: #fff;
}

.ier-fs-offer-banner {
	background: linear-gradient(135deg, var(--ier-gold-soft) 0%, #fff 100%);
	border: 1px solid var(--ier-gold-border);
	border-radius: 14px;
	padding: 22px 24px;
	text-align: center;
	margin-bottom: 18px;
}

.ier-fs-offer-banner h2 {
	font-size: 20px;
	font-weight: 800;
	color: var(--ier-dark);
	margin: 0 0 8px;
	padding: 0;
}

.ier-fs-offer-banner p {
	font-size: 14px;
	color: #4a4030;
	margin: 0 0 14px;
	line-height: 1.5;
}

.ier-fs-offer-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 18px;
}

.ier-fs-promo-note {
	text-align: center;
	color: #7a6f52;
	font-size: 13px;
	margin: 0 0 8px;
	line-height: 1.45;
}

/* Inline sale decoration on Freemius package prices (when DOM matches). */
.ier-fs-inline-sale {
	text-align: center;
	margin: 4px 0 8px;
}

.ier-fs-inline-badge {
	display: inline-block;
	background: #fff8e0;
	border: 1px solid #e6c035;
	color: #1a1a1a;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 999px;
	margin-bottom: 6px;
}

.ier-fs-inline-was {
	font-size: 14px;
	color: #a0a8b0;
	text-decoration: line-through;
	line-height: 1.3;
}

.ier-fs-inline-now {
	font-size: 28px;
	font-weight: 800;
	color: #f20021;
	line-height: 1.2;
}

@media (max-width: 782px) {
	.ier-fs-promo {
		margin-right: 0;
	}

	.ier-fs-offer-bar-inner {
		flex-direction: column;
		gap: 10px;
	}

	.ier-fs-offer-banner {
		padding: 18px 14px;
	}
}

#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;
}
