/**
 * Premium donation UI — modern two-column layout + payment card.
 * Font: DM Sans (enqueued in plugin).
 * Donation Form Layout
 * Form Fields
 * Donation Amount Buttons
 * Payment Section
 * Buttons
 * Responsive Styles
 */
 @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

 :root {
	 --cpd-teal: #088395;
	 --cpd-teal-dark: #055f6d;
	 --cpd-teal-soft: rgba(8, 131, 149, 0.1);
	 --cpd-blue: #1b499b;
	 --cpd-blue-soft: rgba(27, 73, 155, 0.08);
	 --cpd-gold: #ab834c;
	 --cpd-surface: #f4f7f9;
	 --cpd-text: #1a1a1a;
	 --cpd-muted: #666666;
	 --cpd-card: #ffffff;
	 --cpd-radius: 20px;
	 --cpd-radius-sm: 12px;
	 --cpd-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
	 --cpd-shadow-card: 0 8px 24px rgba(0, 0, 0, 0.05);
	 --cpd-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	 --cpd-border: #e2e8f0;
 }
 
 /* ==========================================================================
	Donation Form Layout
	========================================================================== */
 
 .cpd-template-main {
	 background: #eef2f6;
	 min-height: 100vh;
	 padding: 2rem 1rem;
	 font-family: var(--cpd-font);
 }
#cpd-premium-app[data-default-form-id="2973"] .cpd-tier-amount-hint__name {
	display: none;
}
.qr-codes-wrapper {
	margin: 2.5rem 0 0;
}

.qr-codes-wrapper.qr-codes-wrapper-mobile {
	display: none;
}

.cpd-qr-section {
	position: relative;
	overflow: hidden;
	padding: 2rem 1rem 1.5rem;
	border-radius: 16px;
	background: #fff;
}

.cpd-qr-section__decor {
	position: absolute;
	width: 180px;
	height: 180px;
	pointer-events: none;
	opacity: 0.55;
}

.cpd-qr-section__decor--tl {
	top: -40px;
	left: -50px;
	background: radial-gradient(circle at 30% 30%, rgba(168, 205, 237, 0.7) 0%, rgba(168, 205, 237, 0) 70%);
}

.cpd-qr-section__decor--br {
	right: -40px;
	bottom: -50px;
	background: radial-gradient(circle at 70% 70%, rgba(201, 162, 39, 0.35) 0%, rgba(201, 162, 39, 0) 70%);
}

.cpd-qr-section__inner {
	position: relative;
	z-index: 1;
}

.cpd-qr-section__head {
	text-align: center;
	margin-bottom: 2rem;
}

.cpd-qr-section__logo {
	display: block;
	margin: 0 auto 0.75rem;
}

.cpd-qr-section__title {
	margin: 0 0 0.55rem;
	font-size: clamp(1.45rem, 2.2vw, 1.85rem);
	font-weight: 700;
	line-height: 1.25;
	color: #1a3568;
	font-family: Georgia, 'Times New Roman', serif;
}

.cpd-qr-section__subtitle {
	max-width: 560px;
	margin: 0 auto;
	font-size: 0.92rem;
	line-height: 1.55;
	color: #667085;
}

.cpd-qr-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.cpd-qr-card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1.5rem 1rem 1.75rem;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e6edf5;
	box-shadow: 0 10px 28px rgba(26, 53, 104, 0.08);
}

.cpd-qr-card__wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 54px;
	background:
		radial-gradient(120% 90% at 15% 100%, rgba(168, 205, 237, 0.45) 0%, rgba(168, 205, 237, 0) 70%),
		radial-gradient(120% 90% at 85% 100%, rgba(201, 162, 39, 0.28) 0%, rgba(201, 162, 39, 0) 70%);
	pointer-events: none;
}

.cpd-qr-card__icon {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin-bottom: 0.9rem;
	border-radius: 50%;
	background: #f3f8fd;
	border: 2px solid #dce8f5;
}

.cpd-qr-card__icon--paypal {
	background: #fff9ec;
	border-color: #f0dfaa;
}

.cpd-qr-card__title {
	position: relative;
	z-index: 1;
	margin: 0 0 0.55rem;
	font-size: 1.02rem;
	font-weight: 700;
	color: #1a3568;
	font-family: Georgia, 'Times New Roman', serif;
}

.cpd-qr-card__divider {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-bottom: 0.85rem;
	color: #c9a227;
	font-size: 0.72rem;
	line-height: 1;
}

.cpd-qr-card__code {
	position: relative;
	z-index: 1;
	display: inline-block;
	padding: 0.55rem;
	margin-bottom: 0.75rem;
	border-radius: 12px;
	background: #fff;
}

.cpd-qr-card--blue .cpd-qr-card__code {
	border: 2px solid #1a3568;
}

.cpd-qr-card--gold .cpd-qr-card__code {
	border: 2px solid #1a3568;
}

.cpd-qr-card--gold .cpd-qr-card__code:hover,
.cpd-qr-card--blue .cpd-qr-card__code:hover{
	border-color: #c9a227;
}

.cpd-qr-card:first-child .cpd-qr-card__code,
.cpd-qr-card:last-child .cpd-qr-card__code {
    margin-top: 20px;
}

.cpd-qr-card__code img {
	display: block;
	width: 132px;
	height: 132px;
	object-fit: contain;
}

.cpd-qr-card__scan {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-width: 140px;
    padding: 12px 24px;
    margin-bottom: 0.85rem;

    border-radius: 999px;

    background: linear-gradient(
        180deg,
        #1f57c3 0%,
        #1649ad 40%,
        #0f347e 100%
    );

    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;


    text-decoration: none;
}
.cpd-qr-card__text {
	position: relative;
	z-index: 1;
	max-width: 240px;
	margin: 0;
	font-size: 0.76rem;
	line-height: 1.55;
	color: #667085;
}

#bank-transfer {
	scroll-margin-top: 100px;
}

.cpd-bank-transfer-section {
	margin: 2rem 0 0;
	padding: 1.25rem;
	border: 1px solid var(--cpd-border-light, #d8e0ea);
	border-radius: 12px;
	background: #f8fafc;
	text-align: center;
}

.cpd-bank-transfer-section__title {
	margin: 0 0 1rem;
	font-size: 20px;
	font-weight: 600;
	color: #2a3f58;
}

.cpd-bank-transfer-section__details {
	text-align: left;
	margin-bottom: 1rem;
}

.cpd-bank-transfer-section__details p {
	margin: 0 0 0.5rem;
	font-size: 14px;
	line-height: 1.6;
	color: #1a2b42;
}

.cpd-bank-transfer-section__details p:last-child {
	margin-bottom: 0;
}

.cpd-bank-transfer-section__qr {
	margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .qr-codes-wrapper {
        display: none;
    }

	.qr-codes-wrapper.qr-codes-wrapper-mobile {
		display: block;
	}

	.cpd-qr-cards {
		grid-template-columns: 1fr;
	}
}
 .cpd-article {
	 max-width: 1060px;
	 margin: 0 auto;
 }
 
 .cpd-premium-app {
	 color: var(--cpd-text);
	 position: relative;
 }
 
 .cpd-ref-layout {
	 position: relative;
	 border-radius: var(--cpd-radius);
	 overflow: hidden;
	 box-shadow: var(--cpd-shadow);
	 background: var(--cpd-surface);
	 border: 1px solid rgba(255, 255, 255, 0.8);
 }
 
 .cpd-ref-panel {
	 position: relative;
	 display: grid;
	 grid-template-columns: 1.2fr 1fr;
	 gap: 2rem;
	 padding: 2rem;
	 z-index: 1;
	 align-items: flex-start;
 }
 
 @media (max-width: 900px) {
	 .cpd-ref-panel {
		 grid-template-columns: 1fr;
		 padding: 1.5rem;
		 gap: 1.5rem;
	 }
 }
 
 /* Left column */
 .cpd-ref-col--left {
	 padding-right: 0;
 }
 
 .cpd-brand {
	 display: flex;
	 align-items: center;
	 gap: 0.5rem;
	 margin-bottom: 1.5rem;
 }
 
 .cpd-brand-mark {
	 width: 36px;
	 height: 36px;
	 flex-shrink: 0;
 }
 
 .cpd-brand-text {
	 font-size: 1.4rem;
	 font-weight: 700;
	 color: var(--cpd-teal);
	 letter-spacing: -0.02em;
 }
 
 .cpd-ref-eyebrow {
	 margin: 0 0 0.25rem;
	 font-size: 0.9rem;
	 font-weight: 600;
	 color: var(--cpd-gold);
	 text-transform: none;
 }
 
 .cpd-ref-title {
	 margin: 0 0 1rem;
	 font-size: clamp(1.8rem, 4vw, 2.4rem);
	 font-weight: 700;
	 letter-spacing: -0.02em;
	 line-height: 1.1;
	 color: var(--cpd-text);
 }
 
 .cpd-hero {
	 border-radius: 16px;
	 overflow: hidden;
	 margin-bottom: 1.5rem;
	 aspect-ratio: 21 / 9;
	 background: linear-gradient(120deg, #1a5f7a, #2d8a6e 40%, #3a6ea5);
	 position: relative;
 }
 
 .cpd-hero img {
	 width: 100%;
	 height: 100%;
	 object-fit: cover;
	 display: block;
 }
 
 /* ==========================================================================
	Hide legacy campaign UI (if present)
	========================================================================== */

 .cpd-campaign-row,
 .cpd-campaign-wrap,
 .cpd-campaign-select {
	 display: none !important;
 }

 /* ==========================================================================
	Donation Amount Buttons
	========================================================================== */
 
 .cpd-suggested-label {
	 margin: 0 0 0.75rem;
	 font-size: 1.1rem;
	 font-weight: 600;
	 color: var(--cpd-text);
 }
 
 .cpd-ref-amounts {
	 display: flex;
	 flex-wrap: wrap;
	 align-items: center;
	 gap: 0.5rem;
	 margin-bottom: 1.5rem;
 }
 
 .cpd-amt {
	 background-color: #e2e8f0 !important;
	 color: var(--cpd-text) !important;
	 padding: 0.55rem 1rem !important;
	 border-radius: 999px !important;
	 font-size: 1rem !important;
	 font-weight: 600 !important;
	 cursor: pointer !important;
	 border: 1px solid transparent !important;
	 transition: all 0.2s ease !important;
	 display: inline-flex;
	 align-items: center;
	 justify-content: center;
 }
 
 .cpd-amt:hover:not(.is-selected) {
	 background-color: #cbd5e1 !important;
 }
 
 body .cpd-amt.is-selected {
	 background-color: var(--cpd-gold) !important;
	 color: #fff !important;
	 box-shadow: 0 4px 12px rgba(171, 131, 76, 0.3) !important;
 }
 
 .cpd-amt--other {
	 border: 1.5px solid var(--cpd-teal) !important;
	 background-color: transparent !important;
	 color: var(--cpd-teal) !important;
 }
 
 .cpd-amt--other:hover:not(.is-selected) {
	 background-color: var(--cpd-teal-soft) !important;
 }
 
 body .cpd-amt--other.is-selected {
	 background-color: var(--cpd-teal) !important;
	 color: #fff !important;
	 border-color: var(--cpd-teal) !important;
	 box-shadow: 0 4px 12px rgba(8, 131, 149, 0.3) !important;
 }
 
 /* For the combined amounts box ($100 | $250) */
 .cpd-amount-gold-box {
	 display: inline-flex;
	 align-items: center;
	 gap: 0.25rem;
	 padding: 0.25rem 0.5rem;
	 border: 1.5px solid var(--cpd-gold);
	 border-radius: 999px;
	 background: transparent;
 }
 
 .cpd-amount-gold-box .cpd-amt {
	 background-color: transparent !important;
	 padding: 0.4rem 0.75rem !important;
 }
 
 .cpd-amount-gold-box .cpd-amt:hover:not(.is-selected) {
	 background-color: rgba(171, 131, 76, 0.1) !important;
 }
 
 .cpd-amount-gold-box .cpd-separator {
	 color: rgba(0, 0, 0, 0.2);
	 font-size: 1rem;
	 margin: 0;
 }
 
 .cpd-other-input-wrap:not([hidden]) {
	 display: block;
	 margin-top: 0.75rem;
 }
 
 .cpd-other-input-wrap[hidden] {
	 display: none !important;
 }
 
 .cpd-other-input-wrap input {
	 width: 100%;
	 max-width: 200px;
	 padding: 0.65rem 0.85rem;
	 border-radius: var(--cpd-radius-sm);
	 border: 1px solid var(--cpd-border);
	 font: inherit;
	 font-size: 0.95rem;
 }
 
 .cpd-other-input-wrap input:focus {
	 outline: none;
	 border-color: var(--cpd-teal);
	 box-shadow: 0 0 0 2px var(--cpd-teal-soft);
 }
 
 /* ==========================================================================
	Toggles & Trust Badges
	========================================================================== */
 
 .cpd-ref-toggle-row {
	 display: flex;
	 align-items: center;
	 justify-content: space-between;
	 gap: 1rem;
	 margin-bottom: 1rem;
	 font-weight: 600;
	 font-size: 1.05rem;
	 color: var(--cpd-text);
 }
 
 .cpd-ref-toggle-row span {
	 font-size: 1.05rem !important;
	 font-weight: 600 !important;
 }
 
 /* Toggle switch */
 .cpd-switch {
	 position: relative;
	 display: inline-block;
	 width: 48px;
	 height: 26px;
	 flex-shrink: 0;
 }
 
 .cpd-switch input {
	 opacity: 0;
	 width: 0;
	 height: 0;
	 position: absolute;
 }
 
 /* Track */
 .cpd-switch-slider {
	 position: absolute;
	 inset: 0;
	 cursor: pointer;
	 background: #cbd5e1;
	 border-radius: 999px;
	 transition: all 0.3s ease;
 }
 
 /* Knob */
 .cpd-switch-slider::before {
	 content: "";
	 position: absolute;
	 top: 3px;
	 left: 3px;
	 width: 20px;
	 height: 20px;
	 background: #ffffff;
	 border-radius: 50%;
	 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	 transition: transform 0.3s ease;
 }
 
 /* ON state */
 .cpd-switch input:checked+.cpd-switch-slider {
	 background: var(--cpd-teal);
 }
 
 .cpd-switch input:checked+.cpd-switch-slider::before {
	 transform: translateX(22px);
 }
 
 /* Restore Impact Text to match image */
 .cpd-impact {
	 margin: 0 0 1.25rem;
	 font-size: 0.95rem !important;
	 color: var(--cpd-text);
	 line-height: 1.4;
 }
 
 .cpd-trust-row {
	 display: flex;
	 flex-wrap: wrap;
	 gap: 0.5rem;
	 margin-top: 1rem;
 }
 
 .cpd-trust-badge {
	 display: inline-flex;
	 align-items: center;
	 gap: 0.35rem;
	 padding: 0.4rem 0.75rem;
	 border-radius: var(--cpd-radius-sm);
	 background: #e2e8f0 !important;
	 border: none;
	 font-size: 0.8rem;
	 font-weight: 600;
	 color: var(--cpd-text);
 }
 
 .cpd-trust-badge svg {
	 color: var(--cpd-teal);
	 flex-shrink: 0;
	 width: 14px;
	 height: 14px;
 }
 
 /* ==========================================================================
	Payment Section
	========================================================================== */
 
 /* Right: payment card */
 .cpd-pay-card {
	 background: var(--cpd-card);
	 border-radius: var(--cpd-radius);
	 padding: 1.75rem;
	 box-shadow: var(--cpd-shadow-card);
	 border: none;
	 position: relative;
	 z-index: 2;
 }
 
 @media (max-width: 480px) {
	 .cpd-pay-card {
		 padding: 1.25rem;
	 }
 }
 
 .cpd-pay-head {
	 margin-bottom: 1.25rem;
 }
 
 .cpd-pay-head h2 {
	 margin: 0 0 1rem;
	 font-size: 1.25rem;
	 font-weight: 700;
	 color: var(--cpd-text);
	 display: flex;
	 align-items: center;
	 justify-content: space-between;
	 gap: 0.5rem;
	 flex-wrap: wrap;
 }
 
 .cpd-pay-progress-wrap {
	 display: flex;
	 align-items: center;
	 gap: 0.5rem;
 }
 
 .cpd-pay-progress {
	 flex: 1;
	 min-width: 100px;
	 height: 6px;
	 border-radius: 999px;
	 background: #f1f5f9;
	 overflow: hidden;
 }
 
 .cpd-pay-progress span {
	 display: block;
	 height: 100%;
	 border-radius: 999px;
	 background: var(--cpd-teal);
	 transition: width 0.4s ease;
 }
 
 .cpd-pay-progress-label {
	 font-size: 0.8rem;
	 font-weight: 600;
	 color: var(--cpd-muted);
 }
 
 .cpd-pay-methods {
	 display: grid;
	 grid-template-columns: 1fr 1fr;
	 gap: 0.5rem;
	 margin-bottom: 1.25rem;
 }
 
 @media (max-width: 480px) {
	 .cpd-pay-methods {
		 grid-template-columns: 1fr;
	 }
 }
 
 .cpd-method {
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 gap: 0.4rem;
	 padding: 0.65rem 0.75rem;
	 border-radius: 999px;
	 border: 1px solid var(--cpd-border);
	 background: #f4f7f9;
	 font: inherit;
	 font-size: 0.85rem;
	 font-weight: 600;
	 cursor: pointer;
	 color: var(--cpd-text);
	 transition: all 0.2s ease;
 }
 
 .cpd-method:hover:not(:disabled):not(.is-active) {
	 background: #e2e8f0;
	 border-color: #cbd5e1;
 }
 
 .cpd-method.is-active {
	 border-color: var(--cpd-blue);
	 background: var(--cpd-blue);
	 color: #fff;
	 box-shadow: 0 4px 12px rgba(27, 73, 155, 0.2);
 }
 
 .cpd-method:disabled,
 .cpd-method.is-disabled {
	 opacity: 0.5;
	 cursor: not-allowed;
	 background: #f1f5f9;
 }
 
 .cpd-method img {
	 height: 18px;
	 width: auto;
 }
 
 /* ==========================================================================
	Form Fields
	========================================================================== */
 
 .cpd-field {
	 margin-bottom: 0.85rem;
 }
 
 .cpd-field label {
	 display: flex;
	 align-items: center;
	 justify-content: space-between;
	 font-size: 0.85rem;
	 font-weight: 600;
	 text-transform: none;
	 color: var(--cpd-text);
	 margin-bottom: 0.4rem;
 }
 
 .cpd-field input,
 .cpd-field select {
	 width: 100%;
	 box-sizing: border-box;
	 padding: 0.65rem 0.85rem;
	 border-radius: var(--cpd-radius-sm);
	 border: 1px solid var(--cpd-border);
	 font: inherit;
	 font-size: 0.95rem;
	 background: #fff;
	 color: var(--cpd-text);
	 transition: all 0.2s ease;
 }
 
 .cpd-field input::placeholder {
	 color: #94a3b8;
 }
 
 .cpd-field input:focus,
 .cpd-field select:focus {
	 outline: none;
	 border-color: var(--cpd-teal);
	 box-shadow: 0 0 0 2px var(--cpd-teal-soft);
 }
 
 .cpd-field select {
	 appearance: none;
	 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	 background-repeat: no-repeat;
	 background-position: right 0.85rem center;
	 background-size: 16px;
 }
 
 .cpd-field-row2 {
	 display: grid;
	 grid-template-columns: 1fr 1fr;
	 gap: 0.75rem;
 }
 
 @media (max-width: 480px) {
	 .cpd-field-row2 {
		 grid-template-columns: 1fr;
	 }
 }
 
 .cpd-pe-wrap {
	 border: 1px solid var(--cpd-border);
	 border-radius: var(--cpd-radius-sm);
	 padding: 0.85rem;
	 background: #f8fafc;
	 margin-bottom: 0.85rem;
 }
 
 .cpd-pe-note {
	 font-size: 0.8rem;
	 color: var(--cpd-muted);
	 margin: 0 0 0.85rem;
	 line-height: 1.4;
 }
 
 /* ==========================================================================
	Buttons & Status
	========================================================================== */
 
 .cpd-donate-now {
	 width: 100%;
	 margin-top: 0.5rem;
	 padding: 1rem 1.25rem;
	 border: none;
	 border-radius: var(--cpd-radius-sm);
	 font: inherit;
	 font-size: 1.1rem;
	 font-weight: 700;
	 cursor: pointer;
	 color: #fff;
	 background: linear-gradient(135deg, var(--cpd-teal), var(--cpd-blue));
	 box-shadow: 0 8px 20px rgba(13, 148, 136, 0.2);
	 transition: transform 0.2s ease, box-shadow 0.2s ease;
 }
 
 .cpd-donate-now:hover:not(:disabled) {
	 transform: translateY(-1px);
	 box-shadow: 0 10px 24px rgba(13, 148, 136, 0.3);
 }
 
 .cpd-donate-now:active:not(:disabled) {
	 transform: translateY(0);
 }
 
 .cpd-donate-now:disabled {
	 opacity: 0.6;
	 cursor: wait;
	 transform: none;
 }
 
 .cpd-paypal-panel {
	 margin-top: 0.85rem;
	 min-height: 45px;
 }
 
 .cpd-error {
	 display: none;
	 padding: 0.85rem 1rem;
	 border-radius: var(--cpd-radius-sm);
	 background: #fef2f2;
	 border: 1px solid #fecaca;
	 color: #b91c1c;
	 font-size: 0.85rem;
	 margin-bottom: 1rem;
 }
 
 .cpd-error.is-visible {
	 display: block;
 }
 
 .cpd-thankyou {
	 text-align: center;
	 padding: 2.5rem 1rem;
 }
 
 .cpd-thankyou-icon {
	 width: 64px;
	 height: 64px;
	 margin: 0 auto 1.25rem;
	 border-radius: 50%;
	 background: #ecfdf5;
	 color: var(--cpd-teal);
	 font-size: 2rem;
	 line-height: 64px;
	 font-weight: 800;
 }
 
 .cpd-processing {
	 text-align: center;
	 padding: 2.5rem 1rem;
 }
 
 .cpd-spinner {
	 width: 40px;
	 height: 40px;
	 margin: 0 auto 1.25rem;
	 border: 3px solid #f1f5f9;
	 border-top-color: var(--cpd-teal);
	 border-radius: 50%;
	 animation: cpd-spin 0.8s linear infinite;
 }
 
 @keyframes cpd-spin {
	 to {
		 transform: rotate(360deg);
	 }
 }
 
 .cpd-app-loading {
	 text-align: center;
	 padding: 3rem 1rem;
	 color: var(--cpd-muted);
	 font-size: 1rem;
 }
 
 /* ==========================================================================
	Reference Match Overrides
	========================================================================== */
 :root {
	 --cpd-font: "Inter", "Plus Jakarta Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	 --cpd-shell-bg: #ebeff3;
	 --cpd-shell-panel: rgba(255, 255, 255, 0.74);
	 --cpd-shell-right: #f8f9fb;
	 --cpd-pill-gray: #e5e9ef;
	 --cpd-stroke: #dbe2ea;
 }
 
 .cpd-template-main {
	 background: radial-gradient(circle at 14% 28%, rgba(183, 211, 223, 0.34) 0%, rgba(235, 239, 243, 0) 42%), var(--cpd-shell-bg);
	 padding: 1.75rem 1rem;
	 font-family: var(--cpd-font);
 }
 
 .cpd-premium-app {
	 font-size: 17px;
 }
 
 .cpd-article {
	 max-width: 1120px;
 }
 
 .cpd-ref-layout {
	 background: var(--cpd-shell-panel);
	 border-radius: 30px;
	 border: 1px solid rgba(255, 255, 255, 0.88);
	 box-shadow: 0 24px 42px rgba(77, 94, 118, 0.09);
	 backdrop-filter: blur(4px);
 }
 
 .cpd-ref-panel {
	 grid-template-columns: 1.24fr 0.98fr;
	 gap: 2.15rem;
	 padding: 1.35rem;
 }
 
 .cpd-ref-col--left {
	 padding: 1.05rem 1.1rem 0.9rem 1.15rem;
 }
 
 .cpd-brand {
	 margin-bottom: 0.6rem;
 }
 
 .cpd-brand-mark {
	 width: 128px;
	 height: auto;
 }
 
 .cpd-ref-eyebrow {
	 font-size: 0.8rem;
	 font-weight: 600;
	 color: #9a7a47;
	 margin-bottom: 0.32rem;
 }
 
 .cpd-ref-title {
	 font-size: clamp(2.5rem, 4.2vw, 3.36rem);
	 font-weight: 800;
	 letter-spacing: 0;
	 line-height: 0.98;
	 margin-bottom: 1.2rem;
 }
 
 .cpd-hero {
	 aspect-ratio: 21 / 7;
	 border-radius: 22px;
	 margin-bottom: 1.6rem;
 }
 
 .cpd-suggested-label {
	 font-size: 1.22rem;
	 font-weight: 700;
	 letter-spacing: 0;
	 margin-bottom: 0.62rem;
 }
 
 .cpd-ref-amounts {
	 gap: 0.55rem;
	 margin-bottom: 1.6rem;
 }
 
 .cpd-amt {
	 border-radius: 999px !important;
	 padding: 0.62rem 1.24rem !important;
	 background: var(--cpd-pill-gray) !important;
	 font-size: 1.14rem !important;
	 font-weight: 700 !important;
 }
 
 body .cpd-amt.is-selected {
	 background: #b88f45 !important;
	 color: #fff !important;
	 box-shadow: none !important;
 }
 
 .cpd-amount-gold-box {
	 padding: 0.16rem 0.44rem;
	 border: 1.6px solid #b88f45;
 }
 
 .cpd-amount-gold-box .cpd-amt {
	 padding: 0.52rem 0.9rem !important;
 }
 
 .cpd-amt--other {
	 border: 2px solid #14969f !important;
	 padding-inline: 1.34rem !important;
	 font-weight: 700 !important;
	 color: #0e8e99 !important;
 }
 
 .cpd-ref-toggle-row {
	 margin-bottom: 0.72rem;
	 font-size: 0.98rem;
 }
 
 .cpd-switch {
	 width: 64px;
	 height: 35px;
 }
 
 .cpd-switch-slider {
	 background: #cfd6de;
 }
 
 .cpd-switch-slider::before {
	 top: 4px;
	 left: 4px;
	 width: 27px;
	 height: 27px;
 }
 
 .cpd-switch input:checked+.cpd-switch-slider {
	 background: linear-gradient(90deg, #1ba7a3 2%, #1f52b2 100%);
 }
 
 .cpd-switch input:checked+.cpd-switch-slider::before {
	 transform: translateX(29px);
 }
 
 .cpd-impact {
	 font-size: 1.08rem !important;
	 line-height: 1.35;
	 margin-bottom: 1rem;
 }
 
 .cpd-trust-row {
	 gap: 0.62rem;
 }
 
 .cpd-trust-badge {
	 padding: 0.56rem 0.82rem;
	 background: #e8edf3 !important;
	 font-weight: 600;
	 font-size: 0.84rem;
	 border-radius: 11px;
 }
 
 .cpd-pay-card {
	 background: var(--cpd-shell-right);
	 border-radius: 23px;
	 padding: 1.35rem 1.28rem 1.18rem;
	 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 18px 34px rgba(33, 52, 80, 0.08);
 }
 
 .cpd-pay-head h2 {
	 font-size: 2.82rem;
	 font-weight: 800;
	 letter-spacing: 0;
	 margin-bottom: 0.95rem;
 }
 
 .cpd-pay-progress-wrap {
	 display: inline-flex;
	 align-items: center;
	 gap: 0.58rem;
	 padding: 0.18rem 0.4rem 0.18rem 0.22rem;
	 border-radius: 999px;
	 background: linear-gradient(180deg, #eef3f8 0%, #e4ebf3 100%);
	 border: 1px solid #d4deea;
	 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
 }
 
 .cpd-pay-progress {
	 height: 8px;
	 max-width: 118px;
	 min-width: 118px;
	 background: #cfd9e6;
	 border-radius: 999px;
	 overflow: hidden;
	 box-shadow: inset 0 1px 2px rgba(63, 84, 112, 0.2);
 }
 
 .cpd-pay-progress span {
	 display: block;
	 height: 100%;
	 border-radius: 999px;
	 background: linear-gradient(90deg, #16aba8 0%, #1f4fad 100%);
	 box-shadow: 0 1px 8px rgba(26, 110, 186, 0.35);
 }
 
 .cpd-pay-progress-label {
	 font-size: 0.78rem;
	 font-weight: 700;
	 color: #3f526b;
	 letter-spacing: 0;
	 min-width: 2.05rem;
	 text-align: right;
 }
 
 .cpd-pay-methods {
	 gap: 0.52rem;
	 margin-bottom: 0.95rem;
	 position: relative;
 }
 
 .cpd-pay-methods::after {
	 content: "";
	 position: absolute;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 40px;
	 border-radius: 999px;
	 background: #dfe5ec;
	 z-index: 0;
 }
 
 .cpd-method {
	 background: #e4e9ef;
	 border: 1px solid #dce3eb;
	 padding: 0.46rem 0.68rem;
	 font-size: 0.92rem;
	 font-weight: 700;
	 position: relative;
	 overflow: hidden;
	 justify-content: center;
	 transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	 gap: 0.42rem;
	 min-height: 40px;
	 z-index: 2;
 }
 
 .cpd-method::before {
	 content: "";
	 width: 17px;
	 height: 17px;
	 display: inline-block;
	 flex: 0 0 17px;
	 background-size: contain;
	 background-repeat: no-repeat;
	 background-position: center;
	 filter: saturate(1.05);
 }
 
 .cpd-method[data-paytab="card"]::before {
	 display: none;
 }
 
 .cpd-method[data-paytab="card"] {
	 border: 0;
	 background: transparent;
 }
 
 .cpd-method[data-paytab="paypal"] {
	 border: 0;
	 background: transparent;
 }
 
 .cpd-method[data-paytab="paypal"]::before {
	 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%231565C0' d='M18.7 13.767l.005.002c.104-.443.482-.769.955-.769h13.472c.017 0 .034-.007.051-.006C32.896 8.215 28.887 6 25.35 6H11.878c-.474 0-.852.335-.955.777l-.005-.002L5.029 33.813l.013.001c-.014.064-.039.125-.039.194 0 .553.447.991 1 .991h8.071L18.7 13.767z'/%3E%3Cpath fill='%23039BE5' d='M33.183 12.994c.053.876-.005 1.829-.229 2.882-1.281 5.995-5.912 9.115-11.635 9.115 0 0-3.47 0-4.313 0-.521 0-.767.306-.88.54l-1.74 8.049-.305 1.429h-.006l-1.263 5.796.013.001c-.014.064-.039.125-.039.194 0 .553.447 1 1 1h7.333l.013-.01c.472-.007.847-.344.945-.788l.018-.015 1.812-8.416s.126-.803.97-.803 4.178 0 4.178 0c5.723 0 10.401-3.106 11.683-9.102 1.447-6.769-3.375-9.856-7.55-9.881z'/%3E%3Cpath fill='%23283593' d='M19.66 13c-.474 0-.852.326-.955.769l-.005-.002-2.575 11.765c.113-.234.359-.54.88-.54.844 0 4.235 0 4.235 0 5.723 0 10.432-3.12 11.713-9.115.225-1.053.282-2.006.229-2.882-.016-.002-.034.005-.05.005H19.66z'/%3E%3C/svg%3E");
 }
 
 .cpd-method.is-disabled::before {
	 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='8' fill='%23F4F6FB'/%3E%3Cpath fill='%236B5AED' d='M10.5 9.5h7.9c2.9 0 4.6 1.8 4.1 4.3-.5 2.4-2.6 3.9-5.3 3.9h-3.3l-.8 4h-3.8l2.3-12.2z'/%3E%3Cpath fill='%2300D4B3' d='M13.9 14.3h7.7l-.6 2.8h-7.6z'/%3E%3C/svg%3E");
	 background-size: 20px 20px;
 }
 
 .cpd-method[data-paytab="wallet"]::before {
	 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.611 20.083H42V20H24v8h11.303c-1.649 4.657-6.08 8-11.303 8-6.627 0-12-5.373-12-12s5.373-12 12-12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4 12.955 4 4 12.955 4 24s8.955 20 20 20 20-8.955 20-20c0-1.341-.138-2.65-.389-3.917z'/%3E%3Cpath fill='%23FF3D00' d='M6.306 14.691l6.571 4.819C14.655 15.108 18.961 12 24 12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4c-7.682 0-14.344 4.337-17.694 10.691z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.166 0 9.86-1.977 13.409-5.192l-6.19-5.238C29.211 35.091 26.715 36 24 36c-5.202 0-9.619-3.317-11.283-7.946l-6.522 5.025C9.505 39.556 16.227 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.611 20.083H42V20H24v8h11.303c-.792 2.237-2.231 4.166-4.087 5.571l6.19 5.238C36.971 39.205 44 34 44 24c0-1.341-.138-2.65-.389-3.917z'/%3E%3C/svg%3E");
 }
 
 .cpd-method.is-active {
	 background: linear-gradient(90deg, #19aba9 0%, #1f4fad 100%);
	 border-color: transparent;
	 box-shadow: none;
 }
 
 .cpd-method.is-active::before {
	 filter: brightness(0) invert(1);
 }
 
 .cpd-pay-methods::before {
	 content: "";
	 position: absolute;
	 top: 0;
	 left: 0;
	 width: calc(50% - 0.01rem);
	 height: 40px;
	 border-radius: 999px;
	 background: linear-gradient(90deg, #19aba9 0%, #1f4fad 100%);
	 transform: translateX(0);
	 transition: transform 0.28s ease;
	 z-index: 1;
 }
 
 .cpd-pay-methods[data-active-main="paypal"]::before {
	 transform: translateX(calc(100% + 0.02rem));
 }
 
 .cpd-method[data-paytab="card"].is-active,
 .cpd-method[data-paytab="paypal"].is-active {
	 background: transparent;
 }
 
 
 .cpd-method::after {
	 content: "";
	 position: absolute;
	 inset: 0;
	 background: linear-gradient(115deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0) 75%);
	 transform: translateX(-140%);
	 transition: transform 0.45s ease;
	 pointer-events: none;
 }
 
 .cpd-method:hover::after {
	 transform: translateX(130%);
 }
 
 .cpd-method[data-paytab="wallet"] {
	 font-size: 0.88rem;
 }
 
 .cpd-method.is-disabled,
 .cpd-method[data-paytab="wallet"] {
	 padding: 0.44rem 0.62rem;
 }
 
 .cpd-field {
	 margin-bottom: 0.62rem;
	 position: relative;
	 padding-top: 0.42rem;
 }
 
 .cpd-field label {
	 position: absolute;
	 left: 0.86rem;
	 top: 50%;
	 transform: translateY(-50%);
	 z-index: 2;
	 padding: 0;
	 background: transparent;
	 border-radius: 8px;
	 font-size: 0.94rem;
	 margin-bottom: 0;
	 font-weight: 500;
	 line-height: 1.1;
	 color: #8a99aa;
	 pointer-events: none;
	 transition: top 0.2s ease, transform 0.2s ease, font-size 0.2s ease, color 0.2s ease, padding 0.2s ease, background-color 0.2s ease;
 }
 
 .cpd-field input,
 .cpd-field select {
	 height: 47px;
	 padding: 0.9rem 0.85rem 0.55rem;
	 font-size: 0.97rem;
	 border-radius: 11px;
	 background: #ffffff;
	 border: 1px solid var(--cpd-stroke);
	 transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
 }
 
 .cpd-field input::placeholder {
	 color: transparent;
 }
 
 .cpd-field:focus-within label,
 .cpd-field.is-focused label,
 .cpd-field.is-filled label {
	 top: -0.15rem;
	 transform: translateY(0);
	 font-size: 0.78rem;
	 padding: 0 0.38rem;
	 background: var(--cpd-shell-right);
	 font-weight: 600;
	 color: #138c9a;
 }
 
 .cpd-field-row2 {
	 gap: 0.46rem;
 }
 
 /* .cpd-pe-wrap must stay visible — Stripe Payment Element mounts inside #cpd-stripe-mount. */
 #cpd-donate-now{
    display: flex;
    justify-content: center;
    align-items: center;
}


 .cpd-donate-now {
	 margin-top: 0.72rem;
	 height: 52px;
	 font-size: 1.08rem;
	 border-radius: 15px;
	 background: linear-gradient(90deg, #17a7a5 0%, #1f4dad 100%);
	 box-shadow: 0 9px 20px rgba(21, 124, 167, 0.2);
	 position: relative;
	 overflow: hidden;
	 transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
 }
 
 .cpd-donate-now::after {
	 content: "";
	 position: absolute;
	 inset: 0;
	 background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.46) 50%, rgba(255, 255, 255, 0) 70%);
	 transform: translateX(-140%);
	 transition: transform 0.5s ease;
	 pointer-events: none;
 }
 
 .cpd-donate-now:hover::after {
	 transform: translateX(130%);
 }
 
 .cpd-donate-now:hover:not(:disabled) {
	 transform: translateY(-2px);
	 box-shadow: 0 14px 30px rgba(21, 124, 167, 0.28);
	 filter: saturate(1.08);
 }
 
 @media (max-width: 980px) {
	 .cpd-ref-panel {
		 grid-template-columns: 1fr;
	 }
 
	 .cpd-ref-col--left {
		 padding-right: 0.45rem;
	 }
 }

/* ==========================================================================
   Screenshot layout (Make a Donation / Complete Your Donation)
   =========================================================================== */
.cpd-premium-app {
	--cpd-navy: #1a3d6d;
	--cpd-navy-soft: #4a5f78;
	--cpd-gold-active: #e5a835;
	--cpd-blue-btn: #0056d2;
	--cpd-border-light: #dbe2ea;
	--cpd-summary-bg: #f4f7fb;
	--cpd-gift-bg: #fef9e7;
	--cpd-gift-border: #f3e4b3;
}

.cpd-template-main {
	background: #eef2f6;
	padding: 1.5rem 1rem;
}

.cpd-ref-layout {
	background: #fff;
	border-radius: 16px;
	border: 1px solid #e8edf3;
	box-shadow: 0 8px 32px rgba(26, 52, 88, 0.08);
	backdrop-filter: none;
}

.cpd-ref-panel {
	grid-template-columns: 1fr 1fr;
	gap: 0;
	padding: 0;
	align-items: stretch;
}

.cpd-ref-col--left {
	padding: 2rem 2rem 1.75rem;
	border-right: 1px solid #edf1f5;
}

.cpd-ref-col--right {
	padding: 2rem 2rem 1.75rem;
	background: #fff;
}

.cpd-donation-branding {
	padding: 0 0 1rem;
	text-align: center;
	border-bottom: 1px solid #e8edf2;
	margin-bottom: 0.25rem;
    grid-column: span 2;
}

.cpd-donation-branding__org {
	margin: 0 0 0.35rem;
	font-size: clamp(1rem, 1.8vw, 1.15rem);
	font-weight: 800;
	color: #1a4d8c;
	line-height: 1.3;
}

.cpd-donation-branding__tagline {
	margin: 0;
	font-size: clamp(0.9rem, 1.5vw, 1rem);
	font-weight: 600;
	color: #4a6278;
	line-height: 1.35;
}

.cpd-form-active-title {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	margin: 0;
	padding: 1.5rem 2rem 1rem;
	text-align: center;
	font-size: clamp(1.35rem, 2.2vw, 1.65rem);
	font-weight: 800;
	color: var(--cpd-navy, #1a4d8c);
	line-height: 1.25;
	border-bottom: 1px solid #edf1f5;
}

.cpd-form-active-title__text {
	display: inline-block;
}

.cpd-tier-amount-block {
	margin-bottom: 1.35rem;
}

.cpd-tier-amount-label {
	display: block;
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #2a3f58;
}

.cpd-tier-amount-label .cpd-required {
	color: #c0392b;
	margin-left: 0.15rem;
}

.cpd-tier-amount-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
}

.cpd-tier-amount-field,
.cpd-tier-base-amt,
.cpd-tier-base-btn {
	flex: 0 1 auto;
	min-width: 160px;
	max-width: 220px;
	border: 1px solid var(--cpd-gold-active, #c9a227);
	border-radius: 10px;
	background: #faf8f3;
	padding: 0.55rem 1rem;
	cursor: pointer;
	font: inherit;
	text-align: center;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--cpd-navy, #1a4d8c);
	line-height: 1.3;
}

.cpd-tier-base-amt.is-selected,
.cpd-tier-base-btn.is-selected {
	border-color: var(--cpd-gold-active, #c9a227);
	background: #faf8f3;
	box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.35);
}

.cpd-tier-base-btn:not(.is-selected) {
	opacity: 0.55;
	background: #fff;
	box-shadow: none;
}

.cpd-tier-base-amt__value {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--cpd-navy, #1a4d8c);
}

.cpd-tier-amount-field input {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--cpd-navy, #1a4d8c);
	background: transparent;
}

.cpd-tier-custom-amount-wrap,
.cpd-tier-custom-wrap {
	margin-top: 0.85rem;
}

.cpd-tier-custom-amount-wrap .cpd-custom-amount-label {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #4a6278;
}

.cpd-tier-amount-hint {
	margin: 0;
	flex: 1 1 120px;
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	font-size: 0.95rem;
	line-height: 1.35;
	color: #4a6278;
	font-weight: 600;
}

.cpd-tier-amount-hint__name {
	color: #2a3f58;
	font-weight: 700;
}

.cpd-tier-amount-hint__price {
	color: #4a6278;
	font-weight: 600;
}

.cpd-sf-tier-amount-block {
	margin-bottom: 1rem;
}

.cpd-sf-tier-options {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.cpd-sf-tier-row {
	margin: 0;
}

.cpd-fixed-amount-block {
	margin-bottom: 1rem;
}

.cpd-fixed-amount-btn {
	display: block;
	width: 100%;
	text-align: left;
	white-space: normal;
	line-height: 1.35;
	padding: 0.85rem 1.1rem;
	font-size: 0.95rem;
	font-weight: 700;
	border-radius: 8px;
	border: 2px solid #c9a227;
	background: linear-gradient(180deg, #f5e6a8 0%, #e8c96a 45%, #c9a227 100%);
	color: #1a2e44;
	box-shadow: 0 2px 6px rgba(201, 162, 39, 0.35);
	cursor: default;
}

.cpd-fixed-amount-btn.is-selected {
	border-color: #a8861f;
}

.cpd-ref-title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	color: var(--cpd-navy);
	line-height: 1.15;
	margin: 0 0 0.5rem;
}

.cpd-ref-subtitle,
.cpd-ref-eyebrow {
	font-size: 0.95rem;
	font-weight: 400;
	color: var(--cpd-navy-soft);
	line-height: 1.45;
	margin: 0 0 1.25rem;
}

.cpd-hero {
	border-radius: 12px;
	aspect-ratio: 16 / 9;
	margin-bottom: 1.5rem;
	background: #e8edf3;
}

.cpd-currency-row {
	margin-bottom: 1.25rem;
}

.cpd-currency-row label {
	display: block;
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #2a3f58;
}

#cpd-currency-select {
	width: 100%;
	max-width: 280px;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--cpd-border-light, #d8e0ea);
	border-radius: 8px;
	font-size: 0.95rem;
	font-family: inherit;
	background: #fff;
	color: #1a2b42;
}

.cpd-currency-detecting #cpd-currency-select {
	opacity: 0.65;
}

.cpd-step-label {
	margin: 0 0 0.65rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #2a3f58;
}

.cpd-ref-amounts {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.cpd-amt {
	border-radius: 8px !important;
	padding: 0.7rem 0.35rem !important;
	background: #fff !important;
	color: #1a2b42 !important;
	border: 1px solid var(--cpd-border-light) !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	box-shadow: none !important;
	min-height: 44px;
}

.cpd-amt:hover:not(.is-selected) {
	background: #f8fafc !important;
}

body .cpd-amt.is-selected {
	background: var(--cpd-gold-active) !important;
	border-color: var(--cpd-gold-active) !important;
	color: #fff !important;
}

.cpd-amount-gold-box,
.cpd-amt--other,
.cpd-separator {
	display: none !important;
}

.cpd-custom-amount-wrap {
	margin-bottom: 1.35rem;
}

.cpd-custom-amount-label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: #5a6b80;
}

.cpd-custom-amount-field {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--cpd-border-light);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.cpd-custom-amount-prefix {
	display: flex;
	align-items: center;
	padding: 0 0.85rem;
	font-weight: 600;
	color: #5a6b80;
	background: #f8fafc;
	border-right: 1px solid var(--cpd-border-light);
}

.cpd-custom-amount-field input {
	flex: 1;
	border: 0;
	height: 44px;
	padding: 0 0.85rem;
	font-size: 1rem;
	font-weight: 600;
	outline: none;
}

.cpd-frequency-toggle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
	margin-bottom: 1.5rem;
}
.cpd-trust-item {
	align-items: center !important;
}
.cpd-trust-bar {
	height: 150px !important;
}
body .cpd-choice-card__input{
	width: 20px !important;
    margin-left: 10px;
}

label.cpd-choice-card {
    display: inline-flex !important;
    justify-content: flex-start;
    align-items: center;
	padding: 0 !important;
}


.cpd-frequency-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 54px;
	padding: 0.8rem 1rem;
	border: 1px solid var(--cpd-border-light);
	border-radius: 10px;
	background: #fff;
	color: var(--cpd-navy);
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Unselected: keep navy text/icons on hover (override theme button:hover { color: #fff }) */
.cpd-premium-app .cpd-frequency-btn:not(.is-active),
.cpd-premium-app .cpd-frequency-btn:not(.is-active):hover,
.cpd-premium-app .cpd-frequency-btn:not(.is-active):focus,
.cpd-premium-app .cpd-frequency-btn:not(.is-active):focus-visible {
	color: #1a3d6d !important;
	background: #fff !important;
	border-color: var(--cpd-border-light) !important;
	box-shadow: none !important;
}

.cpd-premium-app .cpd-frequency-btn:not(.is-active):hover {
	background: #f0f4f8 !important;
	border-color: #1a3d6d !important;
}

.cpd-premium-app .cpd-frequency-btn.is-active,
.cpd-premium-app .cpd-frequency-btn.is-active:hover,
.cpd-premium-app .cpd-frequency-btn.is-active:focus,
.cpd-premium-app .cpd-frequency-btn.is-active:focus-visible {
	border-color: transparent !important;
	color: #fff !important;
	background: linear-gradient(135deg, #4a8fe7 0%, #1a3d6d 55%, #0f2d52 100%) !important;
	box-shadow: 0 4px 16px rgba(26, 61, 109, 0.22) !important;
}

.cpd-frequency-btn__icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	background: center / contain no-repeat;
}

.cpd-frequency-btn:not(.is-active) .cpd-frequency-btn__icon--heart {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231a3d6d' stroke-width='2'%3E%3Cpath d='M12 20.5s-6.5-4-8.5-8.5C1.5 8 4 4.5 7.5 4.5c2 0 3.2 1.2 4.5 2.7C13.3 5.7 14.5 4.5 16.5 4.5 20 4.5 22.5 8 20.5 12 18.5 16.5 12 20.5 12 20.5z'/%3E%3C/svg%3E");
}

.cpd-frequency-btn.is-active .cpd-frequency-btn__icon--heart {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M12 20.5s-6.5-4-8.5-8.5C1.5 8 4 4.5 7.5 4.5c2 0 3.2 1.2 4.5 2.7C13.3 5.7 14.5 4.5 16.5 4.5 20 4.5 22.5 8 20.5 12 18.5 16.5 12 20.5 12 20.5z'/%3E%3C/svg%3E");
}

.cpd-frequency-btn:not(.is-active) .cpd-frequency-btn__icon--calendar {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231a3d6d' stroke-width='2'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16'/%3E%3C/svg%3E");
}

.cpd-frequency-btn.is-active .cpd-frequency-btn__icon--calendar {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16'/%3E%3C/svg%3E");
}

.cpd-ref-toggle-row {
	display: none;
}

.cpd-switch {
	width: 52px;
	height: 28px;
	flex-shrink: 0;
}

.cpd-switch-slider {
	background: #cfd6de;
}

.cpd-switch-slider::before {
	width: 22px;
	height: 22px;
	top: 3px;
	left: 3px;
}

.cpd-switch input:checked + .cpd-switch-slider {
	background: #0047b3;
}

.cpd-switch input:checked + .cpd-switch-slider::before {
	transform: translateX(24px);
}

.cpd-trust-bar {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	padding: 0.85rem;
	border-radius: 10px;
	background: #f0f3f7;
}

.cpd-trust-row {
	display: none;
}

.cpd-trust-item {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
}

.cpd-trust-item__icon {
	width: 55px;
	height: 55px;
	flex-shrink: 0;
	border-radius: 50%;
	background: #dce6f2 center/16px 16px no-repeat;
	background-size: 60%;
}

.cpd-trust-item__icon--lock {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231a3d6d' stroke-width='2'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 1 1 8 0v3'/%3E%3C/svg%3E");
}

.cpd-trust-item__icon--shield {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231a3d6d' stroke-width='2'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8.5-8 9-4.5-.5-8-4-8-9V6l8-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

.cpd-trust-item__icon--ribbon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a3d6d' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M12 11v6'/%3E%3Cpath d='M9 13h6'/%3E%3C/svg%3E");
}

.cpd-trust-item__text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.cpd-trust-item__text strong {
	font-size: 0.78rem;
	font-weight: 700;
	color: #2a3f58;
	font-size: 16px;
	line-height: 1.2;
}

.cpd-trust-item__text span {
	font-size: 0.68rem;
	color: #333437;
	line-height: 1.25;
	font-size: 14px;
}

.cpd-pay-card {
	background: transparent;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

.cpd-pay-head,
.cpd-checkout-head {
	display: grid;
	grid-template-columns: 1fr minmax(200px, 46%);
	gap: 1rem 1.25rem;
	align-items: start;
	margin-bottom: 1.25rem;
}

.cpd-pay-head h2,
.cpd-checkout-title {
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	font-weight: 800;
	color: var(--cpd-navy);
	margin: 0 0 0.45rem;
	line-height: 1.2;
}

.cpd-pay-progress-wrap,
.cpd-pay-progress,
.cpd-pay-progress-label {
	display: none !important;
}

.cpd-checkout-secure {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	margin: 0;
	padding: 0.65rem 0.75rem;
	font-size: 0.78rem;
	line-height: 1.4;
	color: #4a6278;
	background: #e8f2fc;
	border-radius: 8px;
}

.cpd-checkout-secure__icon {
	flex-shrink: 0;
	margin-top: 0.1rem;
	color: #6b7c90;
}

.cpd-section-label {
	margin: 1rem 0 0.55rem;
	font-size: 0.92rem;
	font-weight: 700;
	color: #2a3f58;
}

.cpd-section-label:first-of-type {
	margin-top: 0;
}

.cpd-field {
	margin-bottom: 0.55rem;
	padding-top: 0;
}

.cpd-field label {
	position: static;
	transform: none;
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #6b7c90;
	background: transparent;
	padding: 0;
	pointer-events: auto;
}

.cpd-field input,
.cpd-field select {
	height: 44px;
	padding: 0 0.75rem;
	border-radius: 8px;
	border: 1px solid var(--cpd-border-light);
	font-size: 0.92rem;
	background: #fff;
}

.cpd-field input::placeholder {
	color: #a8b4c3;
}

.cpd-field:focus-within label,
.cpd-field.is-focused label,
.cpd-field.is-filled label {
	position: static;
	transform: none;
	font-size: 0.78rem;
	background: transparent;
	color: #6b7c90;
}

.cpd-field-row2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.55rem;
}

.cpd-form-specific-fields {
	margin-top: 0.75rem;
}

.cpd-dynamic-section {
	margin-bottom: 1.15rem;
	padding: 1rem 1rem 0.85rem;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #e8edf3;
}

.cpd-dynamic-section:last-child {
	margin-bottom: 0.35rem;
}

.cpd-dynamic-section-title {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 0.85rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--cpd-blue);
	letter-spacing: -0.01em;
}

.cpd-dynamic-section-title__bar {
	display: inline-block;
	width: 4px;
	height: 1.15em;
	border-radius: 3px;
	background: var(--cpd-gold);
	flex-shrink: 0;
}

.cpd-field--dynamic .cpd-dynamic-field-label {
	margin-bottom: 0.45rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #4a5f78;
}

.cpd-field--dynamic textarea {
	min-height: 88px;
	padding: 0.6rem 0.75rem;
	border-radius: 10px;
	border: 1px solid var(--cpd-border);
	font-size: 0.92rem;
	background: #fff;
	resize: vertical;
}

.cpd-field--choice-cards {
	margin-bottom: 0;
}

.cpd-choice-cards {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.cpd-choice-card {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 0.65rem;
	margin: 0;
	padding: 0.85rem 0.95rem;
	border-radius: 12px;
	border: 1.5px solid #d8e2ec;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.cpd-choice-card:hover {
	border-color: #b8c9dc;
	box-shadow: 0 4px 14px rgba(27, 73, 155, 0.08);
}

.cpd-choice-card__input {
	position: static;
	opacity: 1;
	width: 18px;
	height: 18px;
	margin: 0.2rem 0 0;
	flex-shrink: 0;
	accent-color: var(--cpd-blue);
	cursor: pointer;
	pointer-events: auto;
}

.cpd-choice-card__content {
	display: block;
	min-width: 0;
	line-height: 1.45;
}

.cpd-choice-card__title {
	display: inline;
	font-size: 0.9rem;
	font-weight: 700;
	color: #1e3350;
}

.cpd-choice-card__desc {
	display: inline;
	font-size: 0.9rem;
	font-weight: 400;
	color: #5a6f86;
}

.cpd-choice-card__title + .cpd-choice-card__desc::before {
	content: ': ';
}

.cpd-choice-card.is-selected,
.cpd-choice-card:has(input:checked) {
	border-color: var(--cpd-blue);
	background: var(--cpd-blue);
	box-shadow: 0 6px 18px rgba(27, 73, 155, 0.22);
}

.cpd-choice-card.is-selected .cpd-choice-card__title,
.cpd-choice-card:has(input:checked) .cpd-choice-card__title,
.cpd-choice-card.is-selected .cpd-choice-card__desc,
.cpd-choice-card:has(input:checked) .cpd-choice-card__desc {
	color: #fff;
}

.cpd-choice-card:focus-within {
	outline: 2px solid rgba(27, 73, 155, 0.35);
	outline-offset: 2px;
}

.cpd-dynamic-choice-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 0.8rem;
	padding: 0.35rem 0.05rem 0.1rem;
}

.cpd-dynamic-choice {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.84rem;
	color: #334155;
}

@media (max-width: 520px) {
	.cpd-dynamic-section {
		padding: 0.85rem 0.75rem 0.7rem;
	}

	.cpd-choice-card {
		padding: 0.75rem 0.8rem;
	}
}

.cpd-gift-aid-box {
	margin: 1rem 0;
	padding: 0.85rem 0.95rem;
	border-radius: 10px;
	background: var(--cpd-gift-bg);
	border: 1px solid var(--cpd-gift-border);
}

.cpd-gift-aid-label {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	cursor: pointer;
	flex: 1;
	min-width: 0;
}

.cpd-gift-aid-label:has(input:disabled) {
	cursor: not-allowed;
}

.cpd-gift-aid-label input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.cpd-gift-aid-check {
	width: 18px;
	height: 18px;
	margin-top: 0.1rem;
	flex-shrink: 0;
	border: 2px solid #c9a227;
	border-radius: 4px;
	background: #fff;
}

.cpd-gift-aid-label input:checked + .cpd-gift-aid-check {
	background: #c9a227;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px 8px;
}

.cpd-gift-aid-label input:disabled + .cpd-gift-aid-check {
	border-color: #cbd5e1;
	background: #f8fafc;
}

.cpd-gift-aid-text {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	flex-wrap: wrap;
}

.cpd-gift-aid-text strong {
	font-size: 0.88rem;
	font-weight: 700;
	color: #2a3f58;
}

.cpd-gift-aid-tooltip-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	margin-left: 0.2rem;
	top: -0.05rem;
}

.cpd-gift-aid-info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #e8c96a;
	color: #5c4a12;
	font-size: 0.62rem;
	font-weight: 700;
	font-style: italic;
	font-family: Georgia, 'Times New Roman', serif;
	line-height: 1;
	cursor: help;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.cpd-gift-aid-info:focus {
	outline: none;
}

.cpd-gift-aid-info:focus-visible {
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px #c9a227;
}

.cpd-gift-aid-section {
	position: relative;
}

.cpd-gift-aid-overlay-zone {
	position: relative;
}

.cpd-gift-aid-tooltip-overlay {
	position: absolute;
	inset: 0;
	z-index: 30;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 0.35rem 0.25rem 0.5rem;
	background: rgba(252, 249, 241, 0.42);
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s ease, visibility 0.18s ease;
}

.cpd-gift-aid-tooltip-panel {
	width: 100%;
	max-height: 100%;
	overflow-y: auto;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: rgba(255, 252, 245, 0.94);
	border: 1px solid var(--cpd-gift-border);
	box-shadow: 0 10px 28px rgba(42, 63, 88, 0.14);
	font-size: 0.76rem;
	font-weight: 400;
	font-style: normal;
	line-height: 1.5;
	color: #4a5f75;
	text-align: left;
}

.cpd-gift-aid-section:has(.cpd-gift-aid-tooltip-wrap:hover) .cpd-gift-aid-tooltip-overlay,
.cpd-gift-aid-section:has(.cpd-gift-aid-info:hover) .cpd-gift-aid-tooltip-overlay,
.cpd-gift-aid-section:has(.cpd-gift-aid-info:focus-visible) .cpd-gift-aid-tooltip-overlay,
.cpd-gift-aid-section:has(.cpd-gift-aid-tooltip-overlay:hover) .cpd-gift-aid-tooltip-overlay {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.cpd-pay-methods {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.45rem;
	margin-bottom: 1rem;
	position: static;
}

.cpd-pay-methods::before,
.cpd-pay-methods::after {
	display: none !important;
}

.cpd-pay-icon,
.cpd-method {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	min-height: 58px;
	padding: 0.45rem 0.25rem !important;
	border-radius: 8px !important;
	border: 1px solid var(--cpd-border-light) !important;
	background: #fff !important;
	color: #2a3f58 !important;
	font-size: 0.68rem !important;
	font-weight: 600 !important;
	box-shadow: none !important;
	position: relative;
	z-index: 1;
}

.cpd-pay-icon::before,
.cpd-pay-icon::after,
.cpd-method::before,
.cpd-method::after {
	display: none !important;
}

.cpd-pay-icon.is-active,
.cpd-method.is-active {
	border-color: var(--cpd-blue-btn) !important;
	box-shadow: 0 0 0 1px var(--cpd-blue-btn) !important;
	background: #fff !important;
	color: #2a3f58 !important;
}

.cpd-pay-icon.is-disabled,
.cpd-method.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.cpd-pay-icon__glyph {
	width: 22px;
	height: 22px;
	background: center/contain no-repeat;
}

.cpd-pay-icon__glyph--card {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231a3d6d' stroke-width='1.8'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
}

.cpd-pay-icon__glyph--paypal {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%231565C0' d='M18.7 13.767l.005.002c.104-.443.482-.769.955-.769h13.472c.017 0 .034-.007.051-.006C32.896 8.215 28.887 6 25.35 6H11.878c-.474 0-.852.335-.955.777l-.005-.002L5.029 33.813l.013.001c-.014.064-.039.125-.039.194 0 .553.447.991 1 .991h8.071L18.7 13.767z'/%3E%3Cpath fill='%23039BE5' d='M33.183 12.994c.053.876-.005 1.829-.229 2.882-1.281 5.995-5.912 9.115-11.635 9.115 0 0-3.47 0-4.313 0-.521 0-.767.306-.88.54l-1.74 8.049-.305 1.429h-.006l-1.263 5.796.013.001c-.014.064-.039.125-.039.194 0 .553.447 1 1 1h7.333l.013-.01c.472-.007.847-.344.945-.788l.018-.015 1.812-8.416s.126-.803.97-.803 4.178 0 4.178 0c5.723 0 10.401-3.106 11.683-9.102 1.447-6.769-3.375-9.856-7.55-9.881z'/%3E%3C/svg%3E");
}

.cpd-pay-icon__glyph--apple {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111'%3E%3Cpath d='M16.7 12.7c0-2.2 1.8-3.3 1.9-3.4-1-1.5-2.6-1.7-3.2-1.7-1.4-.1-2.7.8-3.4.8-.7 0-1.8-.8-3-.8-1.5 0-3 .9-3.8 2.3-1.6 2.8-.4 7 1.2 9.3.8 1.1 1.7 2.4 2.9 2.3 1.2 0 1.6-.8 3-.8 1.4 0 1.8.8 3 .8 1.2 0 2-.9 2.8-1.9.9-1.3 1.2-2.6 1.2-2.7-.1 0-2.3-.9-2.3-3.5zm-2.2-6.4c.7-.8 1.1-1.9 1-3-.9 0-2.1.6-2.8 1.4-.6.7-1.2 1.9-1 3 1.1.1 2.2-.6 2.8-1.4z'/%3E%3C/svg%3E");
}

.cpd-pay-icon__glyph--google {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.611 20.083H42V20H24v8h11.303c-1.649 4.657-6.08 8-11.303 8-6.627 0-12-5.373-12-12s5.373-12 12-12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4 12.955 4 4 12.955 4 24s8.955 20 20 20 20-8.955 20-20c0-1.341-.138-2.65-.389-3.917z'/%3E%3Cpath fill='%23FF3D00' d='M6.306 14.691l6.571 4.819C14.655 15.108 18.961 12 24 12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4c-7.682 0-14.344 4.337-17.694 10.691z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.166 0 9.86-1.977 13.409-5.192l-6.19-5.238C29.211 35.091 26.715 36 24 36c-5.202 0-9.619-3.317-11.283-7.946l-6.522 5.025C9.505 39.556 16.227 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.611 20.083H42V20H24v8h11.303c-.792 2.237-2.231 4.166-4.087 5.571l6.19 5.238C36.971 39.205 44 34 44 24c0-1.341-.138-2.65-.389-3.917z'/%3E%3C/svg%3E");
}

.cpd-pay-icon[data-paytab="flutterwave"] {
	display: none !important;
}

.cpd-pay-icon__glyph--flutterwave {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='%23F4F6FB'/%3E%3Cpath fill='%236B5AED' d='M10.5 9.5h7.9c2.9 0 4.6 1.8 4.1 4.3-.5 2.4-2.6 3.9-5.3 3.9h-3.3l-.8 4h-3.8l2.3-12.2z'/%3E%3Cpath fill='%2300D4B3' d='M13.9 14.3h7.7l-.6 2.8h-7.6z'/%3E%3C/svg%3E");
}

.cpd-donation-summary {
	margin-bottom: 1rem;
	padding: 0.85rem 0.95rem;
	border: 1px solid var(--cpd-border-light);
	border-radius: 10px;
	background: var(--cpd-summary-bg);
}

.cpd-donation-summary__title {
	margin: 0 0 0.65rem;
	font-size: 0.88rem;
	font-weight: 700;
	color: #2a3f58;
}

.cpd-summary-row {
	display: grid;
	grid-template-columns: 24px 1fr auto;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0;
}

.cpd-summary-icon {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #dce8f8 center/14px 14px no-repeat;
}

.cpd-summary-icon--amount {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230056d2' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v10M9 10h4.5a2 2 0 1 1 0 4H9'/%3E%3C/svg%3E");
}

.cpd-summary-icon--frequency {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230056d2' stroke-width='2'%3E%3Cpath d='M12 6v6l4 2'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
}

.cpd-summary-icon--payment {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230056d2' stroke-width='2'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
}

.cpd-summary-icon--gift {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230056d2' stroke-width='2'%3E%3Cpath d='M20 12v10H4V12'/%3E%3Cpath d='M2 7h20v5H2z'/%3E%3Cpath d='M12 22V7'/%3E%3Cpath d='M12 7H7.5A2.5 2.5 0 1 1 10 4.5C10 6 12 7 12 7z'/%3E%3Cpath d='M12 7h4.5A2.5 2.5 0 1 0 14 4.5C14 6 12 7 12 7z'/%3E%3C/svg%3E");
}

.cpd-summary-label {
	font-size: 0.82rem;
	color: #6b7c90;
}

.cpd-summary-value {
	font-size: 0.88rem;
	font-weight: 700;
	color: #2a3f58;
}

.cpd-stripe-action-hint {
	margin: 0 0 0.65rem;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.4;
	color: #e53935;
}

.cpd-stripe-action-hint[hidden] {
	display: none !important;
}

#cpd-donate-now[hidden],
.cpd-donate-now[hidden] {
	display: none !important;
}

.cpd-pay-footer[hidden] {
	display: none !important;
}

.cpd-paypal-panel[hidden] {
	display: none !important;
}

.cpd-stripe-wrap {
	margin-bottom: 0.65rem;
}

.cpd-stripe-wrap[hidden] {
	display: none !important;
}

.cpd-pe-wrap {
	border: 1px solid var(--cpd-border-light);
	border-radius: 8px;
	padding: 0.75rem;
	background: #fafbfd;
}

.cpd-pe-wrap:empty,
.cpd-pe-wrap:not(:has(#cpd-stripe-mount:not(:empty))):not(.cpd-wallet-mount) {
	display: none;
}

.cpd-pe-wrap.cpd-wallet-mount {
	display: block !important;
	min-height: 48px;
}

#cpd-stripe-mount[data-cpd-wallet="1"] {
	min-height: 48px;
	width: 100%;
}

#cpd-stripe-mount[data-cpd-wallet="1"] iframe {
	width: 100% !important;
	min-height: 44px;
}

.cpd-pe-note {
	font-size: 0.78rem;
	color: #6b7c90;
	margin: 0 0 0.5rem;
}

.cpd-donate-now {
	width: 100%;
	margin-top: 0;
	height: 48px;
	border: 0;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	background: var(--cpd-blue-btn) !important;
	box-shadow: none !important;
}

.cpd-donate-now::after {
	display: none !important;
}

.cpd-donate-now:hover:not(:disabled) {
	background: #0047b3 !important;
	transform: none;
	filter: none;
}

.cpd-pay-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin: 0.65rem 0 0;
	font-size: 0.72rem;
	color: #8a97a8;
	text-align: center;
}

.cpd-paypal-panel {
	margin-top: 0.75rem;
}

.cpd-brand {
	display: none;
}

.cpd-suggested-label {
	display: none;
}

.cpd-other-input-wrap {
	display: none !important;
}

@media (max-width: 980px) {
	.cpd-ref-panel {
		grid-template-columns: 1fr;
	}

	.cpd-ref-col--left {
		border-right: 0;
		border-bottom: 1px solid #edf1f5;
	}

	.cpd-ref-amounts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cpd-trust-bar {
		grid-template-columns: 1fr;
	}

	.cpd-pay-methods {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cpd-checkout-head {
		grid-template-columns: 1fr;
	}

	.cpd-checkout-secure {
		grid-column: 1;
	}
}
@media (max-width: 980px) {
 
    .cpd-form-active-title{
        grid-column: span 2;
    }
    .cpd-ref-col--left{
        grid-column: span 2;
    }
    .cpd-trust-bar {
        height: auto !important;
    }
 
}
 
@media (max-width: 768px) {
    .cpd-qr-cards {
        max-width: 320px;
        margin: 0 auto;
    }
    .cpd-trust-item__icon{
        width: 38px;
        height: 38px;
    }
    .cpd-trust-item__text strong{
        font-size: 14px;
    }
}
@media (min-width: 769px) and (max-width: 1034px) {
	.cpd-qr-cards {
		grid-template-columns: 1fr;
		max-width: 340px;
		margin: 0 auto;
	}
}

/* ==========================================================================
   Thank You page — reference layout (scoped, checkout unaffected)
   ========================================================================== */

.cpd-template-main:has(#cpd-view-thankyou:not([hidden])),
.cpd-article:has(#cpd-view-thankyou:not([hidden])) {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
	background: transparent;
}

#cpd-premium-app:has(#cpd-view-thankyou:not([hidden])) {
	max-width: none;
	width: 100%;
	font-family: "Inter", "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
}

#cpd-view-thankyou {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.cpd-thankyou-page {
	--cpd-ty-navy: #004aad;
	--cpd-ty-blue: #004aad;
	--cpd-ty-gold: #e1b341;
	--cpd-ty-green: #28a745;
	--cpd-ty-sky: #e8f1fa;
	position: relative;
	overflow: hidden;
	min-height: 78vh;
	padding: 3rem 1.5rem 0;
	background-color: #dce8f2;
	background-image: var(--cpd-thankyou-bg, linear-gradient(135deg, #c5d9e8 0%, #edf3f8 55%, #d4e3ef 100%));
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.cpd-thankyou-page__decor {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.cpd-thankyou-page__decor-heart {
	position: absolute;
	width: 110px;
	height: 110px;
	left: 7%;
	top: 42%;
	opacity: 0.7;
}

.cpd-thankyou-page__decor-leaf {
	position: absolute;
	width: 90px;
	height: 90px;
	right: 8%;
	top: 38%;
	opacity: 0.65;
}

.cpd-thankyou-page__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.08) 0%,
		rgba(255, 255, 255, 0.28) 35%,
		rgba(240, 246, 252, 0.55) 65%,
		rgba(232, 241, 250, 0.72) 100%
	);
	pointer-events: none;
	z-index: 1;
}

.cpd-thankyou-page__main {
	position: relative;
	z-index: 2;
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
}

.cpd-thankyou-card {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 16px 48px rgba(0, 74, 173, 0.12);
	padding: 2.5rem 2.25rem 2rem;
	text-align: center;
}

.cpd-thankyou-card__icon-wrap {
	position: relative;
	width: 100px;
	height: 100px;
	margin: 0 auto 1.35rem;
}

.cpd-thankyou-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	margin: 12px auto 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	box-shadow: none;
}

.cpd-thankyou-card__spark {
	position: absolute;
	border-radius: 50%;
	background: #d1d5db;
}

.cpd-thankyou-card__spark--star {
	width: 10px;
	height: 10px;
	background: transparent;
	clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.cpd-thankyou-card__spark--1 { top: 8px; left: 10px; width: 6px; height: 6px; background: #e1b341; }
.cpd-thankyou-card__spark--2 { top: 2px; right: 18px; width: 5px; height: 5px; background: #94a3b8; }
.cpd-thankyou-card__spark--3 { top: 26px; right: 2px; width: 4px; height: 4px; background: #cbd5e1; }
.cpd-thankyou-card__spark--4 { bottom: 18px; left: 4px; width: 7px; height: 7px; background: #e2e8f0; }
.cpd-thankyou-card__spark--5 { bottom: 6px; right: 8px; width: 6px; height: 6px; background: #e1b341; }
.cpd-thankyou-card__spark--6 { top: 18px; left: 0; background: #004aad; width: 9px; height: 9px; }
.cpd-thankyou-card__spark--7 { bottom: 28px; right: 0; background: #e1b341; width: 8px; height: 8px; }

.cpd-thankyou-card__title {
	margin: 0 0 0.75rem;
	font-family: "Inter", "Plus Jakarta Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
	font-size: clamp(1.65rem, 2.8vw, 2.1rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--cpd-ty-navy);
}

.cpd-thankyou-card__lead {
	margin: 0 auto 1.5rem;
	max-width: 600px;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #6b7280;
}

.cpd-thankyou-success {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
	padding: 0.95rem 1.15rem;
	border: 1px solid #c6ebcf;
	border-radius: 12px;
	background: #edfdf3;
	text-align: left;
}

.cpd-thankyou-success__message {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: 1;
	min-width: 0;
}

.cpd-thankyou-success__message p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.5;
	font-weight: 500;
	color: #2d6a3e;
}

.cpd-thankyou-success__shield {
	flex-shrink: 0;
	display: inline-flex;
}

.cpd-thankyou-success__ref {
	flex-shrink: 0;
	padding-left: 1rem;
	border-left: 1px solid #c6ebcf;
	text-align: right;
	min-width: 120px;
}

.cpd-thankyou-success__ref-label {
	display: block;
	font-size: 0.78rem;
	color: #6b7280;
	margin-bottom: 0.1rem;
}

.cpd-thankyou-success__ref-value {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--cpd-ty-green);
	letter-spacing: -0.01em;
}

.cpd-thankyou-summary {
	margin-bottom: 1.35rem;
	padding: 1rem 1.15rem 1.1rem;
	border: 1px solid #d4e4f4;
	border-radius: 12px;
	background: #f3f8fc;
	text-align: left;
}

.cpd-thankyou-summary__head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.95rem;
	padding-bottom: 0;
	border-bottom: 0;
}

.cpd-thankyou-summary__head h3 {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 700;
	color: var(--cpd-ty-blue);
}

.cpd-thankyou-summary__head-icon {
	display: inline-flex;
	color: var(--cpd-ty-blue);
}

.cpd-thankyou-summary__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.1rem 1.5rem;
}

.cpd-thankyou-summary__label {
	display: block;
	font-size: 0.78rem;
	color: #9ca3af;
	margin-bottom: 0.3rem;
}

.cpd-thankyou-summary__value {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	color: #374151;
}

.cpd-thankyou-summary__value--amount {
	color: var(--cpd-ty-blue);
	font-size: 1.05rem;
}

.cpd-thankyou-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.cpd-thankyou-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 50px;
	padding: 0.7rem 1.25rem;
	border-radius: 10px;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.cpd-thankyou-btn--primary {
	background: var(--cpd-ty-blue);
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 74, 173, 0.22);
}

.cpd-thankyou-btn--primary:hover {
	color: #fff;
	background: #003d94;
}

.cpd-thankyou-btn--secondary {
	background: #fff;
	color: var(--cpd-ty-gold);
	border: 2px solid var(--cpd-ty-gold);
	box-shadow: none;
}

.cpd-thankyou-btn--secondary:hover {
	color: #c99a2e;
	border-color: #c99a2e;
	background: #fff;
}

.cpd-thankyou-trust-band {
	position: relative;
	z-index: 2;
	width: 100%;
	margin: 1.75rem 0 0;
	padding: 1.25rem 1.5rem;
	background: var(--cpd-ty-sky);
}

.cpd-thankyou-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}

.cpd-thankyou-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.cpd-thankyou-trust__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* background: #dce9f8; */
	color: var(--cpd-ty-blue);
}

.cpd-thankyou-trust__icon svg {
	width: 40px !important;
	height: 40px !important;
	color: var(--cpd-ty-blue);
}
.cpd-thankyou-trust__item strong {
	display: block;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--cpd-ty-navy);
	margin-bottom: 0.15rem;
}

.cpd-thankyou-trust__item p {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.5;
	color: #6b7280;
}

.cpd-thankyou-footer {
	position: relative;
	z-index: 2;
	margin-top: 0;
	color: #fff;
	background: var(--cpd-ty-navy);
}

.cpd-thankyou-footer__wave {
	display: block;
	width: 100%;
	height: 48px;
	margin-bottom: -1px;
	color: var(--cpd-ty-navy);
}

.cpd-thankyou-footer__inner {
	padding: 0.35rem 1.5rem 2.2rem;
	text-align: center;
}

.cpd-thankyou-footer__line {
	margin: 0 auto;
	max-width: 720px;
	font-size: 20px;
	line-height: 1.55;
}

.cpd-thankyou-footer__line--gold {
	color: var(--cpd-ty-gold);
	font-weight: 600;
	margin-bottom: 0.35rem;
	font-style: italic;
}

.cpd-thankyou-footer__line--white {
	color: rgba(255, 255, 255, 0.95);
	font-weight: 400;
}

.cpd-thankyou-footer__heart {
	display: inline-flex;
	margin-top: 0.85rem;
	color: var(--cpd-ty-gold);
}

.cpd-thankyou-footer__heart svg{
	width: 23px !important;
	height: 23px;
}

@media (max-width: 992px) {
	.cpd-thankyou-summary__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cpd-thankyou-trust {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

@media (max-width: 640px) {
	.cpd-thankyou-page {
		padding: 1.25rem 0.75rem 0;
		min-height: auto;
	}

	.cpd-thankyou-page__decor-heart,
	.cpd-thankyou-page__decor-leaf {
		display: none;
	}

	.cpd-thankyou-card {
		padding: 1.75rem 1.15rem 1.35rem;
		border-radius: 16px;
	}

	.cpd-thankyou-success {
		flex-direction: column;
		align-items: stretch;
	}

	.cpd-thankyou-success__ref {
		padding-left: 0;
		padding-top: 0.85rem;
		border-left: 0;
		border-top: 1px solid #d1d5db;
		text-align: left;
		min-width: 0;
	}

	.cpd-thankyou-summary__grid {
		grid-template-columns: 1fr;
		gap: 0.9rem;
	}

	.cpd-thankyou-actions {
		grid-template-columns: 1fr;
	}

	.cpd-thankyou-trust-band {
		margin-top: 1rem;
		padding: 1rem;
	}

	.cpd-thankyou-footer {
		margin-top: 1.5rem;
	}

	.cpd-thankyou-footer__inner {
		padding: 0.25rem 1rem 1.75rem;
	}
}