/* EBS Membership Platform — Scope 2 + referrals UI */

.ebs-new-tier-memberships {
	margin-bottom: 48px;
}
.ebs-new-tier-head h3 {
	font-size: 28px;
	margin-bottom: 8px;
	color: var(--Tonys-Pink-900, #4a1d0f);
}
.ebs-new-tier-head p {
	margin-bottom: 24px;
	max-width: 720px;
}
.ebs-new-tier-row .ebs-tier-card {
	height: 100%;
}
.ebs-tier-tagline {
	font-size: 15px;
	opacity: 0.85;
	margin: 8px 0 12px;
}
.ebs-legacy-plans-link {
	text-align: center;
	margin: 8px 0 32px;
}
.ebs-legacy-plans-link a {
	color: var(--Tonys-Pink-500, #ed7146);
	font-weight: 600;
}
.ebs-legacy-anchor {
	height: 0;
	overflow: hidden;
}
.ebs-protocol-cta .button {
	margin: 8px 8px 8px 0;
}
/* =========================================================================
 * "Your expert protocols" panel – same look as the "Referred Users" box
 * File:  wp-content/plugins/ebs-membership-platform/assets/css/platform.css
 * Where: REPLACE the existing rule (lines 38–43 in your file):
 *
 *   .ebs-scope2-protocols-panel {
 *       margin-top: 24px;
 *       padding: 16px;
 *       border-radius: 12px;
 *       background: #fff7f3;
 *   }
 *
 * with everything below.
 * ========================================================================= */

.ebs-scope2-protocols-panel {
	margin-top: 24px;
	padding: 16px;
	border-radius: 24px;
	background: #fee9e2;
	font-family: "DM Sans", sans-serif;
	color: #7e371e;
	text-align: left;
}

.ebs-scope2-protocols-panel h4 {
	margin: 0 0 15px;
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 24px;
	color: #7e371e;
}

.ebs-scope2-protocols-panel p {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #7e371e;
}

.ebs-scope2-protocols-panel ul.ebs-unlocked-protocols {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ebs-scope2-protocols-panel ul.ebs-unlocked-protocols li {
	margin: 0 0 6px;
	padding: 0;
	font-size: 16px;
	line-height: 1.5;
}

.ebs-scope2-protocols-panel ul.ebs-unlocked-protocols li a {
	color: #7e371e;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ebs-scope2-protocols-panel ul.ebs-unlocked-protocols li a:hover {
	color: #ed7146;
}
.referral_reward_banner {
	margin-top: 12px;
	padding: 14px 16px;
	border-radius: 12px;
	background: linear-gradient(135deg, #fff0e8 0%, #ffe8dc 100%);
	border: 1px solid var(--Tonys-Pink-200, #fdd8cb);
}
.referral_reward_banner strong {
	display: block;
	font-size: 16px;
	color: var(--Tonys-Pink-900, #4a1d0f);
	margin-bottom: 4px;
}
.referral_reward_banner span {
	font-size: 14px;
	color: #6b3d2a;
}

.ebs-new-tier-compare {
	margin-top: 40px;
	margin-bottom: 24px;
}
/* Buttons use theme .header-comare a (same as legacy compare). */
.ebs-legacy-compare-note {
	text-align: center;
	font-size: 14px;
	opacity: 0.85;
	margin-bottom: 32px;
}
/* =========================================================================
 * EBS – "Unlock this expert protocol" card (Option A – Soft card)
 * File:  wp-content/plugins/ebs-membership-platform/assets/css/platform.css
 * Where: paste at the END of the file.
 * ========================================================================= */

.ebs-unlock-card {
	box-sizing: border-box;
	width: 100%;
	max-width: 560px;
	margin: 24px auto;
	padding: 40px 48px;
	background: #ffffff;
	border-radius: 28px;
	box-shadow: 0 18px 40px rgba(237, 113, 70, 0.14);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	text-align: center;
	font-family: "DM Sans", sans-serif;
	color: #2b1d17;
}

/* Lock icon in the orange gradient circle */
.ebs-unlock-card__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(249.58deg, #f8a78b 22.87%, #ed7146 77.13%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ebs-unlock-card .ebs-unlock-card__title {
	margin: 0;
	font-family: inherit;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
	color: #2b1d17;
}

.ebs-unlock-card .ebs-unlock-card__text {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #5c4a42;
}

/* "5 of 5 Mastery protocols left" pill */
.ebs-unlock-card__count {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	border-radius: 50px;
	background: #fef1ec;
}

.ebs-unlock-card__dots {
	display: inline-flex;
	gap: 4px;
}

.ebs-unlock-card__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ed7146;
}

.ebs-unlock-card__dot.is-used {
	background: #f3cdbe;
}

.ebs-unlock-card__count-text {
	font-size: 14px;
	font-weight: 500;
	color: #9e3f1d;
}

/* Buttons */
.ebs-unlock-card__actions {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 6px;
}

.ebs-unlock-card a.ebs-unlock-card__btn {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 15px 24px;
	border-radius: 50px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-align: center;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ebs-unlock-card a.ebs-unlock-card__btn--primary {
	background: linear-gradient(87.41deg, #fcc413 0%, #ecab06 100%);
	border: 0;
	color: #3a2410;
}

.ebs-unlock-card a.ebs-unlock-card__btn--primary:hover,
.ebs-unlock-card a.ebs-unlock-card__btn--primary:focus-visible {
	color: #3a2410;
	box-shadow: 0 8px 18px rgba(236, 171, 6, 0.35);
	transform: translateY(-1px);
}

.ebs-unlock-card a.ebs-unlock-card__btn--secondary {
	background: transparent;
	border: 2px solid #ed7146;
	padding: 13px 24px;
	color: #c4542c;
}

.ebs-unlock-card a.ebs-unlock-card__btn--secondary:hover,
.ebs-unlock-card a.ebs-unlock-card__btn--secondary:focus-visible {
	background: #fef1ec;
	color: #9e3f1d;
}

.ebs-unlock-card a.ebs-unlock-card__btn:focus-visible {
	outline: 3px solid #ed7146;
	outline-offset: 3px;
}

/* Price inside the button keeps the button's colour */
.ebs-unlock-card__btn .woocommerce-Price-amount,
.ebs-unlock-card__btn bdi {
	color: inherit;
	font-weight: inherit;
}

.ebs-unlock-card .ebs-unlock-card__note {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	color: #7a665d;
}

/* Phones */
@media (max-width: 600px) {
	.ebs-unlock-card {
		padding: 32px 22px;
		border-radius: 22px;
		gap: 16px;
	}
	.ebs-unlock-card .ebs-unlock-card__title {
		font-size: 23px;
	}
	.ebs-unlock-card a.ebs-unlock-card__btn {
		font-size: 14px;
	}
}