/* Good Villages — on-site donation form (assets/js/donate.js), in the original site's look.
   Built from tools/onepager/gv-donate.css. */
.give-modal .modal-card{padding:0; max-width:520px; overscroll-behavior:contain}
.give-modal .modal-close{z-index:2}
.give{color:var(--ink); font-size:.95rem}
.give-head{padding:22px 66px 16px 26px; border-bottom:1px solid var(--line); display:flex; flex-wrap:wrap;
  gap:4px 14px; align-items:center; justify-content:space-between}
.give-head h2{font-family:"Baloo 2"; font-weight:700; font-size:1.7rem; color:var(--purple); line-height:1.1; margin:0}
.give-head h2:focus{outline:none}
.give .secure{display:inline-flex; gap:6px; align-items:center; font-size:.76rem; font-weight:600; color:var(--green-ink); white-space:nowrap}
.give .secure svg{width:14px; height:14px}
.give-body{padding:20px 26px 24px}
.give-steps{display:flex; gap:6px; margin-bottom:18px}
.give-steps i{flex:1; height:4px; border-radius:9px; background:var(--line)}
.give-steps i.on{background:var(--green)}
.give .freq{display:grid; grid-template-columns:1fr 1fr; padding:4px; background:var(--paper); border-radius:999px; margin-bottom:14px}
.give .freq button{min-height:46px; border:0; border-radius:999px; background:transparent; cursor:pointer;
  font:600 .95rem/1 "Poppins",sans-serif; color:var(--ink-soft)}
.give .freq button[aria-pressed="true"]{background:var(--purple); color:#fff; box-shadow:var(--shadow-sm)}
.give .freq .tag{font-size:.6rem; font-weight:700; letter-spacing:.08em; margin-left:6px; text-transform:uppercase; color:#a34f00}
.give .freq button[aria-pressed="true"] .tag{color:var(--yellow)}
.give .amounts{display:grid; grid-template-columns:repeat(3,1fr); gap:8px}
.give .amounts button{min-height:54px; border-radius:14px; border:1.5px solid #c9ccbf; background:#fff; cursor:pointer;
  font:700 1.25rem/1 "Baloo 2",sans-serif; color:var(--ink)}
.give .amounts button:hover{border-color:var(--green-deep)}
.give .amounts button[aria-pressed="true"]{border-color:var(--green-deep); background:var(--green); color:#123105}
.give input:not([type=checkbox]),.give select,.give textarea{width:100%; min-height:48px; padding:11px 14px;
  border:1.5px solid #8f9384; border-radius:12px; font:inherit; color:var(--ink); background:#fff}
.give textarea{min-height:76px; resize:vertical}
.give input:focus,.give select:focus,.give textarea:focus{outline:0; border-color:var(--green-deep); box-shadow:0 0 0 3px rgba(118,201,3,.3)}
.give .custom-amt{position:relative; margin-top:8px}
.give .custom-amt span{position:absolute; left:14px; top:50%; transform:translateY(-50%); font-weight:600; color:var(--ink-soft)}
.give .custom-amt input{padding-left:30px; font-size:1.05rem}
.give .field{margin-bottom:14px}
.give .field label{display:block; font-weight:600; font-size:.85rem; color:var(--ink); margin-bottom:6px}
.give .field .opt{font-weight:400; color:var(--ink-soft)}
.give .field .err{display:none; color:#b3261e; font-size:.8rem; margin:6px 0 0; font-weight:500}
.give .field.invalid input{border-color:#b3261e}
.give .field.invalid .err{display:block}
.give .desig{margin:12px 0 0}
.give .impact-note{margin:12px 0 0; padding:11px 14px; background:var(--paper); border-left:4px solid var(--green);
  border-radius:10px; font-size:.86rem; color:var(--ink-soft)}
.give .summary{display:flex; justify-content:space-between; align-items:center; gap:10px; padding:12px 14px;
  background:var(--paper); border-radius:12px; margin-bottom:16px}
.give .summary b{font-family:"Baloo 2"; font-weight:800; font-size:1.5rem; color:var(--purple)}
.give .summary button{background:none; border:0; color:var(--purple); text-decoration:underline; cursor:pointer; font-size:.86rem; padding:8px}
.give .check{display:flex; gap:10px; align-items:flex-start; font-size:.88rem; color:var(--ink-soft); cursor:pointer; margin:10px 0 14px}
.give .check input{width:20px; height:20px; margin-top:2px; accent-color:var(--purple); flex:none}
.give details{margin:2px 0 4px}
.give summary.check{margin:6px 0}
.give summary::-webkit-details-marker{display:none}
.give .hp{position:absolute!important; left:-9999px!important; width:1px; height:1px; overflow:hidden}
.give .alert{padding:12px 14px; border-radius:12px; font-size:.88rem; border:1px solid}
.give .alert-err{background:#fdeceb; border-color:#f1b9b4; color:#7a1f17}
.give .alert a{color:inherit; font-weight:600}
.give .alert-pp{background:#f3f8ec; border-color:#bcd99a; color:#1d3a0e}
.give .alert-pp p{margin:6px 0 0}
.give .alert-pp .pp-go{display:flex; align-items:center; justify-content:center; min-height:50px; margin-top:12px; border-radius:999px;
  background:#ffc439; color:#111; font-weight:700; font-size:1rem; text-decoration:none; box-shadow:0 6px 14px -8px rgba(0,0,0,.45)}
.give .alert-pp .pp-go:hover{background:#f2b62a}
.give .alert-pp .pp-monthly{display:block; margin-top:6px}
.give .pp-hosted{margin-top:12px; background:#fff; border-radius:12px; padding:12px 12px 4px; min-height:60px}
.give .pp-wait{margin:8px 0; color:#4a5a40}
.give .pp-alt{margin:10px 0 0; font-size:.82rem}
/* PayPal's own checkout card: keep the amount box and pay buttons, hide its picture and long description (already on our page) */
.give .pp-hosted [id^="carousel-container"],.give .pp-hosted #desc-label,.give .pp-hosted .item-description{display:none !important}
.give .pp-hosted [id^="form-container"]{width:100% !important; max-width:none !important}
.give .pp-hosted input#amount{font-size:16px}
.give .btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; cursor:pointer;
  border-radius:999px; font-family:"Baloo 2",sans-serif; font-weight:700; letter-spacing:.03em; text-decoration:none}
.give .btn-donate{background:var(--orange); color:#1f1300; box-shadow:0 10px 20px -10px rgba(251,142,0,.8)}
.give .btn-donate:hover{background:var(--orange-deep)}
.give .btn-lg{padding:13px 22px; font-size:1.1rem; min-height:52px}
.give .btn-block{width:100%}
.give .mt-2{margin-top:14px}
.give .mt-0{margin-top:0}
.give .mb-0{margin-bottom:0}
.give .fine{font-size:.76rem; color:var(--ink-soft); margin:14px 0 0; line-height:1.5}
.give .back{background:none; border:0; color:var(--ink-soft); cursor:pointer; font:500 .88rem "Poppins",sans-serif;
  padding:6px 0; display:inline-flex; gap:6px; align-items:center; margin-bottom:8px}
.give .pp-wrap{min-height:150px; position:relative}
.give .pp-loading{display:flex; align-items:center; justify-content:center; gap:10px; color:var(--ink-soft); font-size:.88rem; min-height:150px}
.give .done{text-align:center; padding:16px 0}
.spinner{width:22px; height:22px; border-radius:50%; border:2.5px solid var(--line); border-top-color:var(--purple); animation:gv-spin .8s linear infinite}
@keyframes gv-spin{to{transform:rotate(360deg)}}
.small{font-size:.88rem}
.xsmall{font-size:.76rem}
.muted{color:var(--ink-soft)}
.sr-only{position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}
@media (max-width:520px){
  .give-modal{padding:10px}
  .give-head{padding:18px 60px 14px 20px}
  .give-body{padding:16px 20px 20px}
  .give .amounts button{font-size:1.1rem}
}
.give .pp-direct{margin-top:12px; min-height:60px}
.give .pp-note{margin:10px 0 0; font-size:.88rem}
.give .spinner-inline{display:inline-block; width:14px; height:14px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; vertical-align:-2px; animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* PayPal buttons, one per payment method (card, PayPal, Venmo), sized to the screen */
.give .pp-stack{display:flex; flex-direction:column; gap:12px; width:100%; max-width:560px; margin:0 auto}
.give .pp-slot{width:100%; min-height:52px}
.give .pp-powered{margin:10px 0 0; text-align:center; font-size:12.5px; color:#5f6a63}
.give .pp-word{font-style:italic; font-size:14px; letter-spacing:-.2px}
.give .pp-word b:first-child{color:#003087}
.give .pp-word b:last-child{color:#009cde}
@media (max-width:600px){
  .give .pp-stack{gap:9px}
  .give .pp-slot{min-height:45px}
}
