.ccd-module{display:grid;grid-template-columns:minmax(480px,1fr) minmax(480px,1fr);width:100%;min-height:820px;background:#fbf5ed;color:#302226}
.ccd-panel{display:flex;justify-content:flex-end;padding:52px 56px 70px}
.ccd-inner{width:min(100%,650px)}
.ccd-logo{max-width:330px;max-height:110px;object-fit:contain;object-position:left center;margin:0 0 34px}
.ccd-wordmark{font-size:38px;font-weight:900;color:#1f6873;margin-bottom:34px}
.ccd-module h1{font-size:38px;line-height:1.1;margin:0 0 16px}
.ccd-module h3{font-size:18px;margin:26px 0 7px}
.ccd-intro{font-size:17px;line-height:1.6;margin-bottom:34px}
.ccd-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 30px}
.ccd-amount,.ccd-custom{height:56px;border:1px solid transparent;border-radius:5px;background:#e8eeee;display:flex;align-items:center;justify-content:center;font-weight:800;color:#202020}
.ccd-amount{cursor:pointer}
.ccd-amount.is-selected{background:#1f6873;color:#fff}
.ccd-custom{padding:0 12px;justify-content:flex-start}
.ccd-custom input{width:100%!important;height:48px!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:0 0 0 7px!important}
.ccd-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:26px 0}
.ccd-fields label{font-weight:700}
.ccd-fields input{width:100%;min-height:50px;border:1px solid #d5d3d1;border-radius:8px;padding:12px 14px;background:#fff;margin-top:6px}
.ccd-secure{margin:0 0 14px}
.ccd-gateways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ccd-gateway{min-height:58px;border:2px solid #ddd;background:#fff;border-radius:6px;font-weight:900;cursor:pointer}
.ccd-gateway small{display:block;font-size:12px}
.ccd-gateway.is-selected{border-color:#cb455c;box-shadow:0 0 0 3px rgba(203,69,92,.12)}
.ccd-stripe{margin-top:16px;padding:16px;border:1px solid #ddd;border-radius:8px;background:#fff}
.ccd-error{color:#b42318;font-size:13px;margin-top:8px}
.ccd-submit{width:100%;min-height:60px;margin-top:18px;border:0;border-radius:6px;background:#cb455c;color:#fff;font-weight:900;text-transform:uppercase;cursor:pointer}
.ccd-message{padding:14px 16px;border-radius:7px;margin-top:16px}
.ccd-message.is-error{display:block;background:#f9d7da;color:#8f2934}
.ccd-message.is-success{display:block;background:#dff3e6;color:#17643b}
.ccd-image{min-height:820px;background-size:cover;background-position:center top;background-repeat:no-repeat;background-color:#eee5db}
.ccd-placeholder{height:100%;display:grid;place-items:center;padding:40px;text-align:center;color:#777}
@media(max-width:900px){.ccd-module{grid-template-columns:1fr}.ccd-image{min-height:500px;order:-1}.ccd-panel{justify-content:center;padding:34px 22px 50px}}
@media(max-width:620px){.ccd-amounts{grid-template-columns:repeat(2,1fr)}.ccd-fields,.ccd-gateways{grid-template-columns:1fr}}


/* Full-page module mode for JA Helple/T4 */
body:has(.ccd-module) .t4-main-body{padding-top:0!important;padding-bottom:0!important}
body:has(.ccd-module) .t4-main-body > .t4-section-inner,
body:has(.ccd-module) .t4-main-body > .container,
body:has(.ccd-module) .t4-main-body .container{max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important}
.ccd-module{min-height:100vh}
.ccd-panel,.ccd-image{min-height:100vh}
.ccd-social-login{margin:30px 0 8px}
.ccd-social-title{font-size:28px;font-weight:900;margin-bottom:4px}
.ccd-social-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.ccd-social-btn{min-height:54px;border:1px solid #d5d3d1;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center;gap:12px;color:#302226!important;text-decoration:none!important;font-weight:800}
.ccd-social-icon{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:900}
.ccd-google{border:1px solid #ddd;color:#4285f4}
.ccd-facebook{background:#1877f2;color:#fff}
.ccd-social-divider{display:flex;align-items:center;gap:12px;color:#9b9390;margin:12px 0 18px}
.ccd-social-divider:before,.ccd-social-divider:after{content:"";height:1px;background:#ddd;flex:1}
.ccd-recurring{margin:24px 0}
.ccd-recurring h3{margin-bottom:10px}
.ccd-recurring-toggle{display:grid;grid-template-columns:1fr 1fr}
.ccd-recurring-toggle button{min-height:52px;border:0;background:#e8eeee;font-weight:900}
.ccd-recurring-toggle button:first-child{border-radius:6px 0 0 6px}
.ccd-recurring-toggle button:last-child{border-radius:0 6px 6px 0}
.ccd-recurring-toggle button.is-selected{background:#1f6873;color:#fff}
.ccd-recurring small{display:block;margin-top:8px;color:#777}
.ccd-brand{display:block;font-weight:900;font-size:19px;line-height:1}
.ccd-brand-stripe{color:#635bff}
.ccd-brand-paypal{color:#003087;font-style:italic}
.ccd-brand-paystack{color:#0aa5db;text-transform:lowercase}
.ccd-rules{border-top:1px solid #ddd;margin-top:34px;padding-top:20px;font-size:14px;line-height:1.55}
.ccd-rules h4{font-size:15px;margin:0 0 8px}
@media(max-width:620px){.ccd-social-grid{grid-template-columns:1fr}}


.ccd-akeeba-login-row{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
    gap:12px;
    margin:14px 0 8px;
}
.ccd-akeeba-login-button{
    min-height:56px;
    border:1px solid #d5d3d1;
    border-radius:8px;
    background:#fff;
    color:#302226;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:10px 16px;
    font-weight:800;
    cursor:pointer;
}
.ccd-akeeba-login-button img,
.ccd-akeeba-login-button svg{
    max-width:24px;
    max-height:24px;
}
.ccd-login-note{
    margin:12px 0;
    padding:12px 14px;
    border-radius:7px;
    background:#f5f2ef;
    color:#777;
    font-size:14px;
}
.ccd-authenticated-user{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin:28px 0 10px;
    padding:14px 16px;
    border:1px solid #dfe8e4;
    border-radius:8px;
    background:#f7fbf9;
}
.ccd-authenticated-user strong{font-weight:900}
.ccd-authenticated-user span:last-child{color:#6e6a68}
.ccd-authenticated-badge{
    display:inline-block;
    padding:4px 8px;
    border-radius:999px;
    background:#dff3e6;
    color:#17643b!important;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
}

.ccd-fields select{width:100%;min-height:50px;border:1px solid #d5d3d1;border-radius:8px;padding:12px 14px;background:#fff;margin-top:6px}
.ccd-payment-logo{display:block;max-width:145px;max-height:48px;width:auto;height:auto;margin:auto}
.ccd-gateway{padding:6px 12px;background:#fff;overflow:hidden}
.ccd-gateway small{display:none}


/* 1.2.1 responsive form refinements */
.ccd-fields select{
    appearance:none;
    -webkit-appearance:none;
    padding:12px 48px 12px 14px!important;
    background-color:#fff;
    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='%2330292c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 16px center;
    background-size:16px;
}
@media(max-width:900px){
    .ccd-module{min-height:auto}
    .ccd-panel,.ccd-image{min-height:auto}
    .ccd-image{min-height:56vh;background-position:center top}
    .ccd-inner{width:100%;max-width:680px}
    .ccd-module h1{font-size:34px}
}
@media(max-width:620px){
    .ccd-panel{padding:28px 16px 42px}
    .ccd-image{min-height:420px}
    .ccd-logo{max-width:260px;margin-bottom:24px}
    .ccd-module h1{font-size:30px}
    .ccd-intro{font-size:15px}
    .ccd-amounts{gap:8px}
    .ccd-amount,.ccd-custom{height:52px}
    .ccd-fields{gap:12px}
    .ccd-fields input,.ccd-fields select{font-size:16px}
    .ccd-gateways{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
    .ccd-gateway{min-height:54px;padding:6px}
    .ccd-payment-logo{max-width:92px;max-height:34px}
    .ccd-recurring-toggle button{font-size:13px;padding:0 8px}
}
@media(max-width:420px){
    .ccd-gateways{grid-template-columns:1fr}
    .ccd-payment-logo{max-width:130px}
}

.ccd-rules-content ol,
.ccd-rules-content ul{margin:10px 0 0 1.25rem;padding-left:1rem}
.ccd-rules-content li{margin:7px 0;line-height:1.55}
.ccd-rules-content p{margin:8px 0;line-height:1.55}
.ccd-rules-content a{text-decoration:underline}


/* 1.3.4 hardening: Joomla 5 + provider brands + no external payment-logo URLs */
.ccd-akeeba-login-button{transition:transform .15s ease,box-shadow .15s ease!important}
.ccd-akeeba-login-button:hover{transform:translateY(-1px)!important;box-shadow:0 8px 22px rgba(0,0,0,.08)!important}
.ccd-provider-apple{background:#000!important;color:#fff!important;border-color:#000!important}
.ccd-provider-facebook{background:#1877f2!important;color:#fff!important;border-color:#1877f2!important}
.ccd-provider-google{background:#4285f4!important;color:#fff!important;border-color:#4285f4!important}
.ccd-provider-yahoo{background:#6001d2!important;color:#fff!important;border-color:#6001d2!important}
.ccd-provider-passkey{background:#fff!important;color:#111!important;border-color:#d8d8d8!important}
.ccd-provider-apple *, .ccd-provider-facebook *, .ccd-provider-google *, .ccd-provider-yahoo *{color:inherit!important}
.ccd-payment-logo-inline{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:46px!important;overflow:hidden!important}
.ccd-payment-logo-inline svg{display:block!important;width:auto!important;height:42px!important;max-width:150px!important;max-height:42px!important}
.ccd-gateway{display:flex!important;align-items:center!important;justify-content:center!important}
@media(max-width:760px){
  .ccd-module{grid-template-columns:1fr!important;min-width:0!important}
  .ccd-panel{padding:24px 14px 36px!important;min-width:0!important}
  .ccd-inner{max-width:100%!important;min-width:0!important}
  .ccd-fields,.ccd-akeeba-login-row,.ccd-gateways{grid-template-columns:1fr!important}
  .ccd-amounts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ccd-recurring-toggle{grid-template-columns:1fr!important;gap:8px!important}
  .ccd-recurring-toggle button{border-radius:6px!important}
  .ccd-image{min-height:360px!important}
}


/* 1.3.6 gateway logo fit + monthly contribution callout */
.ccd-gateways{
    align-items:stretch!important;
}
.ccd-gateway{
    height:92px!important;
    min-height:92px!important;
    padding:12px 22px!important;
    overflow:hidden!important;
}
.ccd-payment-logo-inline{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
}
.ccd-payment-logo-image{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:62%!important;
    max-height:46px!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:auto!important;
}
.ccd-logo-stripe .ccd-payment-logo-image{
    max-width:46%!important;
    max-height:42px!important;
}
.ccd-logo-paypal .ccd-payment-logo-image{
    max-width:54%!important;
    max-height:44px!important;
}
.ccd-logo-paystack .ccd-payment-logo-image{
    max-width:56%!important;
    max-height:42px!important;
}

.ccd-recurring{
    position:relative;
    margin:30px 0!important;
    padding:24px!important;
    border-radius:12px!important;
    background:#dff3ff!important;
}
.ccd-recurring h3{
    margin:0 0 14px!important;
    font-size:28px!important;
    line-height:1.1!important;
}
.ccd-monthly-message{
    margin-bottom:16px!important;
    padding:16px 18px!important;
    border:1px solid #cbd5df!important;
    border-radius:7px!important;
    background:#fff!important;
    color:#17213f!important;
    font-size:17px!important;
    line-height:1.55!important;
}
.ccd-recurring-toggle{
    gap:0!important;
}
.ccd-recurring-toggle button{
    min-height:56px!important;
    font-size:17px!important;
}
.ccd-recurring-check{
    display:inline-block;
    margin-right:12px;
    font-size:21px;
    font-weight:900;
}
.ccd-recurring small{
    margin-top:10px!important;
    color:#5c6b78!important;
}

@media(max-width:620px){
    .ccd-gateway{
        height:76px!important;
        min-height:76px!important;
        padding:10px 14px!important;
    }
    .ccd-payment-logo-image{
        max-width:58%!important;
        max-height:36px!important;
    }
    .ccd-recurring{
        padding:18px!important;
    }
    .ccd-recurring h3{
        font-size:24px!important;
    }
    .ccd-monthly-message{
        font-size:15px!important;
        padding:14px!important;
    }
}


/* 1.3.7 compact payment branding */
.ccd-gateway{
    height:82px!important;
    min-height:82px!important;
    padding:14px 24px!important;
}
.ccd-payment-logo-image{
    max-height:36px!important;
    object-fit:contain!important;
}
.ccd-logo-stripe .ccd-payment-logo-image{
    max-width:34%!important;
    max-height:34px!important;
}
.ccd-logo-paypal .ccd-payment-logo-image{
    max-width:42%!important;
    max-height:36px!important;
}
.ccd-logo-paystack .ccd-payment-logo-image{
    max-width:44%!important;
    max-height:34px!important;
}
@media(max-width:620px){
    .ccd-gateway{height:70px!important;min-height:70px!important}
    .ccd-payment-logo-image{max-height:30px!important}
}


/* 1.3.8 donation success */
.ccd-thankyou{padding:34px 20px 28px;text-align:center;color:#083f37}.ccd-thankyou img{display:block;width:min(270px,68%);height:auto;margin:0 auto 12px;object-fit:contain}.ccd-thankyou h2{margin:0 0 10px!important;color:#073f37!important;font-size:clamp(34px,4vw,52px)!important;line-height:1!important}.ccd-thankyou p{max-width:620px;margin:0 auto 22px!important;color:#4d5d59!important;line-height:1.6}.ccd-thankyou-card{max-width:650px;margin:0 auto 24px;border:1px solid #e4e9e7;border-radius:15px;padding:4px 16px;text-align:left}.ccd-thankyou-card>div{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid #edf0ef}.ccd-thankyou-card>div:last-child{border:0}.ccd-thankyou-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.ccd-thankyou-actions a,.ccd-thankyou-actions button{border:0;border-radius:999px;padding:14px 24px;background:#073f37;color:#fff!important;text-decoration:none;font-weight:900;cursor:pointer}.ccd-thankyou-actions button{background:#d94761}@media(max-width:640px){.ccd-thankyou-actions>*{width:100%}}

/* 1.4.1 privacy toggle */
.ccd-privacy-card{grid-column:1/-1;display:flex!important;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px!important;border:1px solid #e7ddd6;border-radius:16px;background:linear-gradient(135deg,#fff,#fbf7f2);min-height:86px}
.ccd-privacy-copy{display:grid;gap:5px}.ccd-privacy-copy strong{font-size:16px;color:#2d2024}.ccd-privacy-copy small{font-size:12px;line-height:1.5;color:#746b6d;font-weight:500}
.ccd-toggle{position:relative;display:block!important;flex:0 0 54px;width:54px;height:30px;cursor:pointer}.ccd-toggle input{position:absolute!important;opacity:0!important;pointer-events:none;width:1px!important;height:1px!important}.ccd-toggle span{display:block;width:54px;height:30px;border-radius:999px;background:#d7d9de;transition:.2s;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}.ccd-toggle span:after{content:"";position:absolute;width:24px;height:24px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.22);transition:.2s}.ccd-toggle input:checked+span{background:#d94761}.ccd-toggle input:checked+span:after{transform:translateX(24px)}
@media(max-width:640px){.ccd-privacy-card{padding:15px!important}.ccd-privacy-copy strong{font-size:14px}}

.ccd-terms-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid #e5dedb;border-radius:12px;background:#fff}
.ccd-terms-check{display:flex;align-items:center;gap:9px;margin:0;font-weight:600} .ccd-terms-check input{width:18px;height:18px;margin:0}
.ccd-terms-link{white-space:nowrap;font-size:13px}


/* 1.4.4 authenticated donor + checkout amount */
.ccd-behalf-card{
    display:flex;align-items:center;justify-content:space-between;gap:20px;
    margin:16px 0 6px;padding:16px 18px;border:1px solid #dce6e4;border-radius:14px;
    background:#f6fbfa;
}
.ccd-behalf-copy{display:grid;gap:4px}
.ccd-behalf-copy strong{font-size:15px;color:#263437}
.ccd-behalf-copy small{font-size:12px;line-height:1.45;color:#6b7778;font-weight:500}
.ccd-fields input.is-auth-locked{
    background:#f1f4f4!important;color:#6d7678!important;cursor:not-allowed!important;
    border-color:#dfe5e4!important;box-shadow:none!important;
}
.ccd-checkout-amount{
    display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 18px;align-items:end;
    margin:0 0 18px;padding:16px 18px;border:1px solid #dfe5e5;border-radius:12px;background:#fff;
}
.ccd-checkout-amount>span{font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#737c7e}
.ccd-checkout-amount>strong{grid-row:1/3;grid-column:2;font-size:28px;line-height:1;color:#1f6873}
.ccd-checkout-amount>small{font-size:12px;color:#7d8587}
@media(max-width:640px){
    .ccd-behalf-card{align-items:flex-start}
    .ccd-checkout-amount>strong{font-size:24px}
}

.ccd-terms-copy{min-width:0;flex:1}.ccd-terms-summary{margin-top:8px;color:#6f6568;font-size:12px;line-height:1.55}.ccd-terms-summary p:last-child{margin-bottom:0}
.ccd-referral-modal{position:fixed;inset:0;z-index:100500;display:flex;align-items:center;justify-content:center;padding:20px}.ccd-referral-modal[hidden]{display:none!important}.ccd-referral-backdrop{position:absolute;inset:0;background:rgba(17,24,39,.68);backdrop-filter:blur(3px)}.ccd-referral-dialog{position:relative;z-index:1;width:min(620px,94vw);max-height:90vh;overflow:auto;background:#fffaf6;border-radius:20px;padding:34px;box-shadow:0 28px 80px rgba(0,0,0,.3);text-align:left}.ccd-referral-close{position:absolute;right:18px;top:16px;width:42px;height:42px;border:0;border-radius:50%;background:#f1ece8;font-size:28px;line-height:1;cursor:pointer}.ccd-referral-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#fff0f3;color:#d94761;font-size:12px;font-weight:900;letter-spacing:.08em}.ccd-referral-dialog h3{margin:12px 0 8px!important;font-size:34px!important;color:#111827!important}.ccd-referral-dialog>p{margin:0 0 20px!important;color:#6b7280!important;line-height:1.6}.ccd-referral-dialog form{display:grid;gap:14px}.ccd-referral-dialog label{display:grid;gap:7px;font-weight:800;color:#2f2226}.ccd-referral-dialog input{width:100%;min-height:50px;border:1px solid #d9dce1;border-radius:10px;padding:0 14px;font:inherit;background:#fff}.ccd-referral-emails{display:grid;gap:10px}.ccd-referral-email-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.ccd-referral-remove{height:50px;width:50px;border:1px solid #e5d9dc;border-radius:10px;background:#fff;color:#d94761;font-size:22px;cursor:pointer}.ccd-referral-add{justify-self:start;border:0;background:transparent;color:#1f6873;font-weight:800;cursor:pointer;padding:3px 0}.ccd-referral-send{min-height:54px;border:0;border-radius:10px;background:#d94761;color:#fff;font-weight:900;cursor:pointer}.ccd-referral-message{padding:11px 13px;border-radius:9px}.ccd-referral-message.is-success{background:#d1e7dd;color:#0f5132}.ccd-referral-message.is-error{background:#f8d7da;color:#842029}@media(max-width:600px){.ccd-referral-dialog{padding:28px 18px 22px}.ccd-referral-dialog h3{font-size:28px!important}}

.ccd-terms-details{margin-top:10px}.ccd-terms-details>summary{cursor:pointer;font-weight:800}.ccd-terms-details[open] .ccd-terms-summary{margin-top:8px}.ccd-referral-help{display:block;margin-top:6px;color:#7b7074}


/* 1.4.10 fixed-height sticky campaign image */
@media(min-width:901px){
  .ccd-module{align-items:start!important}
  .ccd-image{
    position:sticky!important;
    top:0!important;
    align-self:start!important;
    height:100vh!important;
    min-height:720px!important;
    max-height:100vh!important;
    background-size:cover!important;
    background-position:center center!important;
  }
  .ccd-panel{min-height:100vh!important}
}
@media(max-width:900px){
  .ccd-image{
    position:relative!important;
    top:auto!important;
    height:auto!important;
    max-height:none!important;
  }
}


/* 1.4.11 packaged payment button images */
.ccd-gateway{
    min-height:96px!important;
    height:96px!important;
    padding:10px!important;
    border-radius:14px!important;
    background:#fff!important;
}
.ccd-payment-logo-inline{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
}
.ccd-payment-logo-image{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:72px!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:0 auto!important;
}
@media(max-width:620px){
    .ccd-gateway{min-height:84px!important;height:84px!important;padding:8px!important}
    .ccd-payment-logo-image{max-height:60px!important}
}


/* 1.4.12 payment artwork fills the entire gateway button */
.ccd-gateway{
    position:relative!important;
    min-height:96px!important;
    height:96px!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:14px!important;
    background:#fff!important;
}
.ccd-payment-logo-inline{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    display:block!important;
    overflow:hidden!important;
}
.ccd-payment-logo-image,
.ccd-logo-stripe .ccd-payment-logo-image,
.ccd-logo-paypal .ccd-payment-logo-image,
.ccd-logo-paystack .ccd-payment-logo-image{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:100%!important;
    min-height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:fill!important;
    object-position:center!important;
    margin:0!important;
    border-radius:11px!important;
}
@media(max-width:620px){
    .ccd-gateway{height:82px!important;min-height:82px!important;padding:0!important}
    .ccd-payment-logo-image{max-height:none!important}
}


/* payment artwork v2: no cropping; full selector fill */
.campaigner-global-gateway,.campaigner-payment-button,.ccd-gateway,.campaigner-modal .campaigner-pay-card,.campaigner-modal .campaigner-pay-alt{overflow:hidden!important;padding:0!important;}
.campaigner-global-gateway-image img,.campaigner-payment-button img,.ccd-payment-logo-image,.campaigner-modal .campaigner-gateway-logo-image,.campaigner-modal .ccd-payment-logo-inline img,.campaigner-modal .campaigner-payment-logo-inline img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:fill!important;object-position:center!important;margin:0!important;}


/* 1.4.15 exact social button artwork */
.ccd-akeeba-login-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:center!important}
.ccd-akeeba-login-button.ccd-provider-apple,.ccd-akeeba-login-button.ccd-provider-facebook,.ccd-akeeba-login-button.ccd-provider-google{min-height:64px!important;height:64px!important;padding:0!important;border:0!important;border-radius:10px!important;background:transparent!important;overflow:hidden!important;box-shadow:none!important;display:block!important}
.ccd-social-provider-art{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:fill!important;margin:0!important}
.ccd-akeeba-login-button.ccd-provider-apple:hover,.ccd-akeeba-login-button.ccd-provider-facebook:hover,.ccd-akeeba-login-button.ccd-provider-google:hover{transform:translateY(-1px)!important;box-shadow:0 7px 18px rgba(0,0,0,.10)!important}
@media(max-width:820px){.ccd-akeeba-login-row{grid-template-columns:1fr!important}.ccd-akeeba-login-button.ccd-provider-apple,.ccd-akeeba-login-button.ccd-provider-facebook,.ccd-akeeba-login-button.ccd-provider-google{height:60px!important;min-height:60px!important}}


/* 1.4.16 social artwork ratio + info tooltip + referral volunteer */
.ccd-akeeba-login-button.ccd-provider-apple,.ccd-akeeba-login-button.ccd-provider-facebook,.ccd-akeeba-login-button.ccd-provider-google{
  min-height:0!important;height:auto!important;aspect-ratio:690/108!important;padding:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;
}
.ccd-social-provider-art{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important}
.ccd-info-tip{position:relative;display:inline-grid;place-items:center;width:22px;height:22px;margin-left:7px;border:1px solid #e4b9c3;border-radius:50%;background:#fff;color:#d94761;font-size:13px;font-weight:900;line-height:1;cursor:help;vertical-align:middle;padding:0}
.ccd-info-tip span[role="tooltip"]{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%);z-index:80;width:280px;max-width:72vw;padding:10px 12px;border-radius:9px;background:#1d1f2b;color:#fff;font-size:12px;font-weight:600;line-height:1.45;text-align:left;box-shadow:0 8px 24px rgba(0,0,0,.18);opacity:0;visibility:hidden;pointer-events:none;transition:.15s ease}
.ccd-info-tip span[role="tooltip"]:after{content:"";position:absolute;left:50%;top:100%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#1d1f2b}
.ccd-info-tip:hover span[role="tooltip"],.ccd-info-tip:focus span[role="tooltip"]{opacity:1;visibility:visible}
.ccd-thankyou-actions .ccd-volunteer-action{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:14px 24px;background:#073f37;color:#fff!important;text-decoration:none;font-weight:900;cursor:pointer}
.ccd-referral-volunteer{display:flex;align-items:center;justify-content:center;min-height:54px;margin-top:12px;border-radius:10px;background:#073f37;color:#fff!important;text-decoration:none;font-weight:900}
@media(max-width:820px){.ccd-akeeba-login-button.ccd-provider-apple,.ccd-akeeba-login-button.ccd-provider-facebook,.ccd-akeeba-login-button.ccd-provider-google{height:auto!important;min-height:0!important;aspect-ratio:690/108!important}}

/* 1.4.17 tooltip visibility hardening */
.ccd-privacy-card,.ccd-privacy-copy,.ccd-privacy-copy strong{overflow:visible!important;position:relative!important}
.ccd-info-tip{overflow:visible!important;z-index:9999!important}
.ccd-info-tip span[role="tooltip"]{z-index:99999!important;bottom:auto!important;top:calc(100% + 9px)!important}
.ccd-info-tip span[role="tooltip"]:after{top:auto!important;bottom:100%!important;border-top-color:transparent!important;border-bottom-color:#1d1f2b!important}


/* 1.4.18 responsive gateway artwork without stretching */
.ccd-gateways{align-items:stretch!important}
.ccd-gateway{height:auto!important;min-height:0!important;aspect-ratio:190/70!important;padding:0!important;overflow:hidden!important}
.ccd-payment-logo-inline{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
.ccd-payment-logo-image,.ccd-logo-stripe .ccd-payment-logo-image,.ccd-logo-paypal .ccd-payment-logo-image,.ccd-logo-paystack .ccd-payment-logo-image{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;object-fit:cover!important;object-position:center!important;border-radius:inherit!important}
.ccd-behalf-copy strong{display:flex;align-items:center;gap:4px;overflow:visible!important}
.ccd-behalf-card,.ccd-behalf-copy{overflow:visible!important}
@media(max-width:820px){
  .ccd-gateways{grid-template-columns:1fr!important;gap:12px!important}
  .ccd-gateway{width:100%!important;aspect-ratio:3.2/1!important;max-height:118px!important}
}
@media(max-width:480px){.ccd-gateway{aspect-ratio:3/1!important;max-height:104px!important}}


/* 1.4.19 payment gateway layout: spacing + responsive containment */
.ccd-gateways{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
  width:100%!important;
  max-width:100%!important;
  align-items:stretch!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.ccd-gateway{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:190/70!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  border-radius:14px!important;
}
.ccd-payment-logo-inline{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  overflow:hidden!important;
  border-radius:inherit!important;
}
.ccd-payment-logo-image,
.ccd-logo-stripe .ccd-payment-logo-image,
.ccd-logo-paypal .ccd-payment-logo-image,
.ccd-logo-paystack .ccd-payment-logo-image{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:fill!important;
  object-position:center!important;
  margin:0!important;
  border-radius:inherit!important;
}
@media(max-width:980px){
  .ccd-gateways{grid-template-columns:1fr!important;gap:14px!important}
  .ccd-gateway{aspect-ratio:3.45/1!important;max-height:124px!important}
}
@media(max-width:520px){
  .ccd-gateways{gap:12px!important}
  .ccd-gateway{aspect-ratio:3.15/1!important;max-height:108px!important;border-radius:12px!important}
}

/* 1.4.23 — Campaigner blue brand accents. Error/destructive states remain red. */
.ccd-gateway.is-selected{border-color:#3633be!important;box-shadow:0 0 0 3px rgba(54,51,190,.14)!important}
.ccd-submit{background:#3633be!important}
.ccd-toggle input:checked+span{background:#3633be!important}
.ccd-info-tip{color:#3633be!important;border-color:#c9c8f4!important}
.ccd-thankyou-actions button{background:#3633be!important}
.ccd-referral-badge{background:#efefff!important;color:#3633be!important}
.ccd-referral-send{background:#3633be!important}
.ccd-amount.is-selected,.ccd-recurring-toggle button.is-selected{background:#3633be!important;color:#fff!important}

html, body {
    overflow-x: hidden;
}

/* 1.4.25 — sticky candidate image + party description + stronger validation */
.ccd-party-description{
    display:block;
    margin-top:8px;
    color:#3633be!important;
    font-size:13px;
    line-height:1.5;
    font-weight:600;
}
.ccd-party-description[hidden]{display:none!important}
.ccd-fields input[aria-invalid="true"],
.ccd-referral-dialog input[aria-invalid="true"],
.ccd-referral-dialog input.is-duplicate{
    border-color:#d94761!important;
    box-shadow:0 0 0 3px rgba(217,71,97,.10)!important;
}
@media(min-width:901px){
    body:has(.ccd-module) .t4-wrapper,
    body:has(.ccd-module) #t4-main-body,
    body:has(.ccd-module) .t4-main-body,
    body:has(.ccd-module) .t4-main-body > .t4-section-inner,
    body:has(.ccd-module) .t4-main-body > .container{
        overflow:visible!important;
    }
    .ccd-module{
        align-items:start!important;
        overflow:visible!important;
    }
    .ccd-image{
        position:-webkit-sticky!important;
        position:sticky!important;
        top:0!important;
        align-self:start!important;
        height:100vh!important;
        height:100dvh!important;
        min-height:100vh!important;
        max-height:100vh!important;
        max-height:100dvh!important;
        background-size:cover!important;
        background-position:center center!important;
        z-index:2;
    }
}



/* 1.4.26 — reliable sticky side image (T4/JA Helple safe) */
.ccd-image-column{
    min-width:0;
    position:relative;
    align-self:stretch;
    overflow:visible;
    background:#eee5db;
}

@media(min-width:901px){
    html:has(.ccd-module),
    body:has(.ccd-module){
        overflow-x:clip!important;
    }
    body:has(.ccd-module) .t4-wrapper,
    body:has(.ccd-module) #t4-main-body,
    body:has(.ccd-module) .t4-main-body,
    body:has(.ccd-module) .t4-main-body > .t4-section-inner,
    body:has(.ccd-module) .t4-main-body > .container,
    body:has(.ccd-module) .t4-main-body .container,
    body:has(.ccd-module) .t4-main-body .row,
    body:has(.ccd-module) .t4-main-body .t4-section,
    body:has(.ccd-module) .t4-main-body .t4-section-inner,
    body:has(.ccd-module) .t4-main-body .module,
    body:has(.ccd-module) .t4-main-body .module-inner{
        overflow:visible!important;
    }
    .ccd-module{
        align-items:stretch!important;
        overflow:visible!important;
    }
    .ccd-image-column{
        min-height:100%!important;
        height:auto!important;
        overflow:visible!important;
    }
    .ccd-image{
        position:-webkit-sticky!important;
        position:sticky!important;
        top:0!important;
        left:auto!important;
        right:auto!important;
        bottom:auto!important;
        width:100%!important;
        height:100vh!important;
        height:100dvh!important;
        min-height:100vh!important;
        min-height:100dvh!important;
        max-height:100vh!important;
        max-height:100dvh!important;
        align-self:start!important;
        background-size:cover!important;
        background-position:center center!important;
        background-repeat:no-repeat!important;
        z-index:2;
        will-change:transform;
    }

    /* JS fallback: keeps the image pinned even if a template ancestor creates
       a non-standard scroll container that prevents native position:sticky. */
    .ccd-image.ccd-sticky-fixed{
        position:fixed!important;
        top:0!important;
        left:var(--ccd-sticky-left)!important;
        right:auto!important;
        bottom:auto!important;
        width:var(--ccd-sticky-width)!important;
        margin:0!important;
    }
    .ccd-image.ccd-sticky-bottom{
        position:absolute!important;
        top:auto!important;
        left:0!important;
        right:auto!important;
        bottom:0!important;
        width:100%!important;
        margin:0!important;
    }
}

@media(max-width:900px){
    .ccd-image-column{
        order:-1;
        min-height:0!important;
        height:auto!important;
    }
    .ccd-image{
        position:relative!important;
        top:auto!important;
        left:auto!important;
        bottom:auto!important;
        width:100%!important;
        height:auto!important;
        min-height:500px!important;
        max-height:none!important;
    }
}

@media(max-width:620px){
    .ccd-image{min-height:420px!important}
}

/* v1.4.27 card-first payment selector */
.ccd-card-first{display:block!important;margin:14px 0 0!important;padding:17px 16px!important;border:1px solid #d8dde5!important;border-radius:13px!important;background:#fff!important;min-height:60px!important}
.ccd-card-first[data-stripe-wrap][hidden]{display:none!important}
.ccd-payment-divider{display:flex!important;align-items:center!important;gap:14px!important;margin:18px 0 14px!important;color:#707887!important;font-size:12px!important;font-weight:800!important;text-transform:uppercase!important}
.ccd-payment-divider:before,.ccd-payment-divider:after{content:""!important;height:1px!important;background:#d6dbe3!important;flex:1!important}
.ccd-payment-divider span{padding:0 2px!important}
.ccd-gateways-alt{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,240px))!important;gap:10px!important;justify-content:start!important;margin:0!important}
.ccd-gateways-alt .ccd-gateway{min-height:50px!important;max-width:240px!important}
