/* Progetto Giovani - Donazioni v1.2.0, completo e autonomo */
.pgm-donations{--navy:#002C71;--green:#299E0B;box-sizing:border-box;width:100%;max-width:1400px;margin:24px auto 36px;font-family:Roboto,Arial,sans-serif;color:#142C4D;font-size:16px;line-height:1.55}
.pgm-donations *{box-sizing:border-box;min-width:0}.pgm-donations p,.pgm-donations label,.pgm-donations button,.pgm-donations select,.pgm-donations input,.pgm-donations legend{font-size:16px;line-height:1.5;font-family:inherit}.pgm-donations h2{color:var(--navy);font-size:clamp(28px,3vw,35px);line-height:1.17;font-weight:800;margin:0 0 20px}.pgm-donations h2:after{content:"";display:block;width:55px;height:5px;border-radius:5px;background:#72D328;margin-top:10px}.pgm-donations-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px}.pgm-don-card,.pgm-don-bank{border-radius:22px;padding:26px;background:#fff}.pgm-don-card{border:1px solid #D8E1EB}.pgm-don-card>p{margin:0 0 20px}.pgm-don-amounts,.pgm-don-frequency{border:0;padding:0;margin:18px 0}.pgm-don-amounts legend,.pgm-don-frequency legend{font-weight:800;color:var(--navy);padding:0;margin:0 0 10px}.pgm-don-amount-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.pgm-don-amount-grid button{min-height:48px;border:1px solid #AABBD0;border-radius:9px;background:#F8FBFF;color:var(--navy);font-weight:800;cursor:pointer;padding:8px 3px}.pgm-don-amount-grid button.is-active,.pgm-don-amount-grid button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.pgm-don-card>label{display:block;font-weight:800;color:var(--navy);margin:18px 0 7px}.pgm-don-custom,.pgm-don-project{display:block;width:100%;min-height:48px;border:1px solid #B4C6D8;border-radius:9px;padding:10px 13px;background:#fff;color:var(--navy)}.pgm-don-frequency{display:flex;flex-wrap:wrap;gap:10px 20px}.pgm-don-frequency legend{width:100%}.pgm-don-frequency label{display:inline-flex;align-items:center;gap:8px;cursor:pointer}.pgm-don-frequency input{accent-color:var(--green);width:19px;height:19px}.pgm-don-summary{border-radius:16px;padding:20px;background:#EAF9E5;margin:20px 0}.pgm-don-summary p{margin:0 0 5px}.pgm-don-summary p:first-child{font-weight:700;color:var(--navy)}.pgm-don-total{display:block;font-size:clamp(28px,3vw,37px);font-weight:900;color:#238E10;line-height:1.25;margin:7px 0;overflow-wrap:anywhere}.pgm-don-selected-project{font-weight:800}.pgm-don-bank{background:#EAF5FF;display:flex;flex-direction:column;justify-content:center}.pgm-don-bank p{margin:0 0 18px;overflow-wrap:anywhere}.pgm-don-bank p strong,.pgm-don-bank p span{display:block}.pgm-don-bank p strong{color:var(--navy)}.pgm-donations button.pgm-don-copy-all,.pgm-donations button.pgm-don-copy-iban,.pgm-donations button.pgm-don-copy-tax{min-height:48px;border:0;border-radius:30px;background:var(--green);color:white;padding:11px 20px;font-weight:800;cursor:pointer;max-width:100%}.pgm-donations button:disabled{opacity:.5;cursor:not-allowed}.pgm-donations button:focus-visible,.pgm-donations input:focus-visible,.pgm-donations select:focus-visible{outline:3px solid #009FE3;outline-offset:3px}.pgm-don-copy-status{min-height:1em;color:#187D09;font-weight:700;margin:8px 0 0}.pgm-don-warning,.pgm-don-notice{font-style:italic;color:#526579}.pgm-don-five{margin-top:18px;padding:25px;border-radius:22px;background:#002C71;color:#fff;display:grid;grid-template-columns:1.5fr 1fr;gap:25px;align-items:center}.pgm-don-five h2{color:#fff}.pgm-don-five>div>span{color:#B5F84D;font-weight:800}.pgm-don-five-code{background:#fff;color:var(--navy);border-radius:18px;padding:22px;text-align:center}.pgm-don-five-code strong,.pgm-don-five-code span{display:block;color:var(--navy)}.pgm-don-five-code span{font-size:clamp(24px,3vw,34px);font-weight:900;margin:12px 0;overflow-wrap:anywhere}
@media(max-width:900px){.pgm-donations-grid{grid-template-columns:minmax(0,1fr)}.pgm-don-five{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){.pgm-donations{width:calc(100vw - 10px)!important;max-width:calc(100vw - 10px)!important;margin-left:calc(50% - 50vw + 5px)!important;margin-right:0!important;padding:0!important}.pgm-donations-grid{gap:12px}.pgm-don-card,.pgm-don-bank{border-radius:16px;padding:22px 15px;text-align:center}.pgm-donations h2{text-align:center}.pgm-donations h2:after{margin:10px auto 0}.pgm-don-amount-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.pgm-don-card>label{text-align:left}.pgm-don-frequency{justify-content:center}.pgm-don-frequency legend{text-align:center}.pgm-don-five{border-radius:16px;padding:22px 15px;text-align:center}.pgm-don-copy-all,.pgm-don-copy-iban{width:100%}}
@media(max-width:360px){.pgm-don-amount-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pgm-don-card,.pgm-don-bank{padding:20px 11px}}
@media(prefers-reduced-motion:reduce){.pgm-donations *{scroll-behavior:auto!important;transition:none!important}}

/* v1.2.1: conferme di copia centrate sotto i rispettivi pulsanti */
.pgm-donations .pgm-don-card>.pgm-don-copy-all,.pgm-donations .pgm-don-bank>.pgm-don-copy-iban,.pgm-donations .pgm-don-five-code>.pgm-don-copy-tax{display:block;margin-left:auto;margin-right:auto}
.pgm-donations .pgm-don-copy-status{width:100%;text-align:center;margin:8px auto 0;min-height:0;line-height:1.5}
.pgm-donations .pgm-don-copy-status:empty{display:none}
