/* Donate button — colors/size are set inline per-button via data attributes,
   this just handles base shape/hover behavior */
.gg-donate-btn {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  cursor: pointer;
  border: none;
  font-weight: 600;
  transition: opacity 0.15s ease, transform 0.1s ease;
}
.gg-donate-btn:hover { opacity: 0.88; }
.gg-donate-btn:active { transform: scale(0.98); }
.gg-donate-btn.gg-size-small  { padding: 0.5rem 1rem;   font-size: 0.85rem; }
.gg-donate-btn.gg-size-medium { padding: 0.75rem 1.5rem; font-size: 1rem; }
.gg-donate-btn.gg-size-large  { padding: 1rem 2rem;     font-size: 1.15rem; }

/* Modal overlay */
.gg-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 20, 20, 0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 999999;
  padding: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.gg-modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2rem 1.75rem 1.75rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.gg-close {
  position: absolute; top: 0.9rem; right: 1rem;
  background: none; border: none; font-size: 1.4rem;
  color: #888; cursor: pointer; line-height: 1;
}
.gg-close:hover { color: #222; }

.gg-logo { display: block; max-height: 56px; margin: 0 auto 0.9rem; }
.gg-heading { text-align: center; font-size: 1.3rem; font-weight: 700; margin: 0 0 0.25rem; color: #1a202c; }
.gg-slogan { text-align: center; font-size: 0.9rem; color: #666; margin: 0 0 1.4rem; }

.gg-freq-toggle {
  display: flex; background: #f0f1f3; border-radius: 8px; padding: 3px; margin-bottom: 1.1rem;
}
.gg-freq-toggle button {
  flex: 1; padding: 0.5rem; border: none; background: transparent; border-radius: 6px;
  font-weight: 600; font-size: 0.9rem; cursor: pointer; color: #555;
}
.gg-freq-toggle button.gg-active { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.12); color: #1a202c; }

.gg-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 0.7rem; }
.gg-amount-btn {
  padding: 0.7rem 0.4rem; border: 2px solid #e2e5ea; border-radius: 8px; background: #fff;
  font-weight: 700; font-size: 1rem; cursor: pointer; color: #1a202c;
}
.gg-amount-btn.gg-active { border-color: var(--gg-brand, #2b6cb0); color: var(--gg-brand, #2b6cb0); background: #f4f8fc; }

.gg-custom-amount { position: relative; margin-bottom: 1.1rem; }
.gg-custom-amount span {
  position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%); color: #888; font-weight: 600;
}
.gg-custom-amount input {
  width: 100%; padding: 0.7rem 0.7rem 0.7rem 1.7rem; border: 2px solid #e2e5ea; border-radius: 8px; font-size: 1rem;
}

.gg-field { margin-bottom: 0.9rem; }
.gg-field label { display: block; font-size: 0.82rem; font-weight: 600; color: #444; margin-bottom: 0.3rem; }
.gg-field input {
  width: 100%; padding: 0.65rem 0.75rem; border: 1px solid #dcdfe4; border-radius: 7px; font-size: 0.95rem;
  font-family: inherit;
}

.gg-card-element {
  padding: 0.75rem; border: 1px solid #dcdfe4; border-radius: 7px; margin-bottom: 0.9rem; background: #fff;
}

.gg-sponsorship-note {
  background: #f4f8fc; border-radius: 8px; padding: 0.7rem 0.9rem; font-size: 0.85rem; color: #333; margin-bottom: 1rem;
}

.gg-submit {
  width: 100%; padding: 0.85rem; border: none; border-radius: 8px; color: #fff;
  background: var(--gg-brand, #2b6cb0); font-weight: 700; font-size: 1rem; cursor: pointer; margin-top: 0.3rem;
}
.gg-submit:disabled { opacity: 0.6; cursor: default; }

.gg-error { color: #c0392b; font-size: 0.85rem; margin: 0.4rem 0 0; min-height: 1em; }
.gg-success { text-align: center; padding: 1.5rem 0; }
.gg-success h3 { margin: 0.6rem 0 0.3rem; }
.gg-success p { color: #555; font-size: 0.92rem; }

.gg-secure-note { text-align: center; font-size: 0.75rem; color: #999; margin-top: 0.9rem; }
