.tas-donation{--tas-navy:#2c4c6a;--tas-blue:#2468ad;--tas-orange:#ff8001;--tas-soft:#eaf3fa;--tas-bg:#fcfaf8;color:#172d46;font-family:inherit;max-width:1180px;margin:0 auto;padding:12px 0;box-sizing:border-box}
.tas-donation *{box-sizing:border-box}.tas-donation .tas-intro,.tas-donation .tas-panel,.tas-donation .tas-receipt{background:#fff;border:1px solid #e8ebef;border-radius:20px;box-shadow:0 6px 20px rgba(24,49,76,.07);margin-bottom:20px;padding:26px}
.tas-donation h2,.tas-donation h3,.tas-donation h4{color:#173b60;margin:0 0 12px;line-height:1.25;font-weight:750}.tas-donation h2{font-size:clamp(24px,3vw,34px)}.tas-donation h3{font-size:clamp(20px,2.3vw,27px)}.tas-donation h4{font-size:20px}.tas-donation p{margin:0;line-height:1.6}
.tas-intro{display:flex;gap:24px;align-items:center}.tas-intro-icon{flex:0 0 94px;height:94px;display:grid;place-items:center;font-size:70px;font-family:Arial,sans-serif;line-height:1;background:#eaf3fa;color:#17446f;border-radius:20px;border-right:3px solid var(--tas-orange)}
.tas-step{display:inline-grid;place-items:center;width:38px;height:38px;margin-right:10px;border-radius:50%;background:var(--tas-blue);color:white;font-size:21px;vertical-align:middle}
.tas-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(160px,1.35fr);gap:12px;margin-top:22px}
.tas-amount,.tas-custom{min-height:94px;border:2px solid #e0e4e8;border-radius:14px;background:#fafafa;color:#143d65;font-weight:750;font-size:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s,border-color .15s}
.tas-amount:hover{border-color:#2468ad}.tas-amount.is-selected{background:linear-gradient(135deg,#2b82c5,#114982);color:#fff;border-color:#14558f}.tas-amount:focus-visible,.tas-custom-input:focus-visible,.tas-copy:focus-visible,.tas-email:focus-visible{outline:3px solid var(--tas-orange);outline-offset:3px}
.tas-custom{cursor:default;flex-direction:column;align-items:stretch;gap:8px;padding:12px 14px;background:#f0f7fc;font-size:16px}.tas-custom-input{width:100%;min-width:0;border:1px solid #b7c9d9;border-radius:8px;background:#fff;color:#173b60;padding:9px 10px;font:inherit;font-size:16px}
.tas-payment{display:grid;grid-template-columns:1.15fr .85fr;gap:28px;margin-top:24px}.tas-details{display:grid;gap:10px;align-content:start}.tas-detail{background:#f8fafb;border:1px solid #edf0f2;border-radius:12px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.tas-detail>div{min-width:0}.tas-detail small{display:block;font-size:14px;color:#42546a;margin-bottom:4px}.tas-detail strong{font-size:17px;overflow-wrap:anywhere;color:#173b60}.tas-copy{border:1px solid #dbe3e9;background:#fff;color:#1c5b91;border-radius:50%;width:40px;height:40px;flex:0 0 40px;cursor:pointer;font-size:25px;line-height:1}.tas-copy:hover{background:#eaf3fa}
.tas-total{border-color:#c9e0f2;background:#edf6fc}.tas-qr-side{border-left:1px solid #d8dfe6;padding-left:28px;text-align:center}.tas-qr{margin:12px auto;width:min(100%,260px);background:#fff;border:1px solid #dce2e8;padding:10px;border-radius:12px}.tas-qr svg{display:block;width:100%;height:auto;aspect-ratio:1}
.tas-qr-side>p:not(.tas-qr-error){background:#eaf3fa;border-radius:12px;padding:12px;font-size:14px}.tas-error,.tas-qr-error{color:#a72d2d;margin-top:10px!important}.tas-notice{background:#fff7ed;border-left:4px solid var(--tas-orange);padding:18px;border-radius:10px}
.tas-receipt{display:flex;gap:20px;align-items:center;justify-content:space-between;background:#edf6fc!important}.tas-receipt h3{font-size:21px}.tas-receipt p{font-size:15px}.tas-email{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;text-align:center;max-width:280px;min-height:58px;padding:13px 20px;background:#165ca1;color:white!important;border-radius:11px;text-decoration:none!important;font-weight:700;line-height:1.3}.tas-email:hover{background:#11487c}.tas-donation .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:850px){.tas-amounts{grid-template-columns:repeat(4,minmax(0,1fr))}.tas-custom{grid-column:1/-1;min-height:0}.tas-payment{grid-template-columns:1fr}.tas-qr-side{border-left:0;border-top:1px solid #d8dfe6;padding:22px 0 0}.tas-receipt{flex-direction:column;align-items:stretch}.tas-email{max-width:none}}
@media(max-width:560px){.tas-donation .tas-intro,.tas-donation .tas-panel,.tas-donation .tas-receipt{padding:18px;border-radius:16px;margin-bottom:14px}.tas-intro{gap:14px;align-items:flex-start}.tas-intro-icon{flex-basis:52px;height:52px;font-size:42px;border-radius:12px}.tas-amounts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tas-amount{min-height:68px;font-size:24px}.tas-step{width:32px;height:32px;font-size:18px}.tas-detail{padding:12px}.tas-detail strong{font-size:15px}.tas-copy{width:36px;height:36px;flex-basis:36px}.tas-receipt h3{font-size:19px}}

/* v1.0.1: font-independent copy icons, resilient to ONA theme button styling */
.tas-donation button.tas-copy{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;min-width:40px!important;min-height:40px!important;color:#1c5b91!important;background:#fff!important;border:1px solid #dbe3e9!important;border-radius:50%!important;box-shadow:none!important;line-height:1!important;appearance:none!important}
.tas-donation button.tas-copy svg{display:block!important;width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;flex:none!important}
.tas-donation button.tas-copy:hover{background:#eaf3fa!important}
/* Never expose stale transfer details while a new amount is being verified. */
.tas-donation .tas-details[hidden] { display:none !important; }

/* 1.0.7: ONA-compatible configurable controls */
.tas-donation{font-family:var(--tas-design-font,inherit);font-size:var(--tas-design-size,inherit)}
.tas-donation .tas-amount,.tas-donation .tas-email,.tas-donation .tas-custom{border-radius:var(--tas-button-radius,7px)}
.tas-donation .tas-amount{font-family:inherit;background:#fafafa;color:#143d65}
.tas-donation .tas-amount.is-selected{background:var(--tas-selected-bg,#080879);border-color:var(--tas-selected-bg,#080879);color:var(--tas-action-text,#fff)}
.tas-donation .tas-email{background:var(--tas-action-bg,#080879);color:var(--tas-action-text,#fff)!important}
.tas-donation .tas-email:hover{background:var(--tas-action-bg,#080879);filter:brightness(.88)}
.tas-donation .tas-amounts{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}
.tas-donation .tas-receipt{display:block}
.tas-donation .tas-receipt>div:first-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tas-donation .tas-receipt h3,.tas-donation .tas-receipt p:last-child{grid-column:1/-1}
.tas-donation .tas-receipt p:nth-child(2),.tas-donation .tas-receipt p:nth-child(3){padding:16px;border-radius:12px;background:rgba(255,255,255,.65)}
.tas-donation .tas-receipt .tas-email{display:flex;max-width:none;width:100%;margin-top:18px}
@media(max-width:767px){.tas-donation .tas-receipt>div:first-child{grid-template-columns:1fr;gap:10px}.tas-donation .tas-receipt h3,.tas-donation .tas-receipt p:last-child{grid-column:auto}.tas-donation .tas-receipt p:nth-child(2),.tas-donation .tas-receipt p:nth-child(3){padding:12px}.tas-donation .tas-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}.tas-donation .tas-amount{font-size:clamp(18px,5vw,24px);min-height:64px}.tas-donation .tas-receipt .tas-email{overflow-wrap:anywhere}}

/* v1.0.8: independent block styles, consistent at all breakpoints */
.tas-donation .tas-intro{background:var(--tas-block-intro-color,#fff);border-radius:var(--tas-block-intro-radius,20px)}
.tas-donation .tas-panel:has(.tas-amounts){background:var(--tas-block-amount_panel-color,#fff);border-radius:var(--tas-block-amount_panel-radius,20px)}
.tas-donation .tas-panel:has(.tas-payment){background:var(--tas-block-payment_panel-color,#fff);border-radius:var(--tas-block-payment_panel-radius,20px)}
.tas-donation .tas-receipt{background:var(--tas-block-receipt-color,#edf6fc)!important;border-radius:var(--tas-block-receipt-radius,20px)}
.tas-donation .tas-receipt p:nth-child(2),.tas-donation .tas-receipt p:nth-child(3){background:var(--tas-block-receipt_inner-color,#fff);border-radius:var(--tas-block-receipt_inner-radius,12px)}
.tas-donation .tas-detail{background:var(--tas-block-bank_detail-color,#f8fafb);border-radius:var(--tas-block-bank_detail-radius,12px)}
.tas-donation .tas-qr{background:var(--tas-block-qr-color,#fff);border-radius:var(--tas-block-qr-radius,12px)}

/* v1.0.9: configurable GiroCode notice block and independent text alignment.
   Scoped to the plugin; rules apply consistently at mobile, tablet and desktop widths. */
.tas-donation .tas-qr-side > p:not(.tas-qr-error){background:var(--tas-block-qr-notice-color,#eaf3fa);border-radius:var(--tas-block-qr-notice-radius,12px);text-align:var(--tas-align_qr_notice,center)}
.tas-donation .tas-intro h2{text-align:var(--tas-align_intro_heading,left)}
.tas-donation .tas-intro p{text-align:var(--tas-align_intro_text,left)}
.tas-donation .tas-panel:has(.tas-amounts) > h3{text-align:var(--tas-align_amount_heading,left)}
.tas-donation .tas-amount{text-align:var(--tas-align_amount_text,center)}
.tas-donation .tas-panel:has(.tas-payment) > h3{text-align:var(--tas-align_payment_heading,left)}
.tas-donation .tas-detail{text-align:var(--tas-align_payment_text,left)}
.tas-donation .tas-qr-side > h4{text-align:var(--tas-align_qr_heading,center)}
.tas-donation .tas-receipt h3{text-align:var(--tas-align_receipt_heading,left)}
.tas-donation .tas-receipt p{text-align:var(--tas-align_receipt_text,left)}
