/* ── Piece of Peace — Supporter Connect — Frontend ── */
:root {
  --pop-green:        #2d6a1f;
  --pop-green-h:      #3a8a28;
  --pop-green-bg:     #eef6e9;
  --pop-green-border: #b8dba8;
  --pop-gold:         #c9960c;
  --pop-gold-bg:      #fdf8ec;
  --pop-gold-border:  #e8c96a;
  --pop-radius:       10px;
  --pop-shadow:       0 2px 12px rgba(0,0,0,.08);
}

.pop-sup-wrap { max-width: 600px; margin: 0 auto; font-family: inherit; }

/* Hero */
.pop-sup-hero {
  background: var(--pop-green);
  border-radius: var(--pop-radius);
  padding: 2.25rem 2rem 1.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.pop-sup-hero::before {
  content: '';
  position: absolute;
  right: -50px; top: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(184,134,11,.14);
}
.pop-sup-hero::after {
  content: '';
  position: absolute;
  right: 30px; bottom: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(184,134,11,.09);
}
.pop-sup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(184,134,11,.28);
  color: #f5d87a;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.pop-sup-hero h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}
.pop-sup-hero p {
  color: rgba(255,255,255,.8);
  font-size: 17px;
  margin: 0;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.pop-sup-gold-bar {
  height: 4px;
  background: linear-gradient(90deg,#c9960c,#e8c96a,transparent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* Cards */
.pop-sup-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--pop-radius);
  padding: 1.6rem;
  margin-bottom: 1rem;
  box-shadow: var(--pop-shadow);
}
.pop-sup-section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--pop-green);
  margin-bottom: 1.1rem;
}

/* Amount pills */
.pop-sup-amount-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.pop-sup-amt-pill {
  padding: 13px 8px;
  border: 1px solid var(--pop-green-border);
  border-radius: var(--pop-radius);
  background: var(--pop-green-bg);
  color: var(--pop-green);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all .18s;
  font-family: inherit;
}
.pop-sup-amt-pill:hover,
.pop-sup-amt-pill.selected {
  background: var(--pop-green);
  color: #fff;
  border-color: var(--pop-green);
}
.pop-sup-custom-amount {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: var(--pop-radius);
  overflow: hidden;
  margin-bottom: .25rem;
}
.pop-sup-custom-amount span {
  padding: 0 15px;
  font-size: 19px;
  color: var(--pop-gold);
  font-weight: 600;
  background: var(--pop-gold-bg);
  border-right: 1px solid var(--pop-gold-border);
  height: 50px;
  display: flex;
  align-items: center;
}
.pop-sup-custom-amount input {
  flex: 1;
  border: none;
  padding: 0 15px;
  font-size: 19px;
  outline: none;
  color: #111;
  font-family: inherit;
  height: 50px;
}

/* Fields */
.pop-sup-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.pop-sup-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.pop-sup-field label { font-size: 15px; color: #374151; font-weight: 500; }
.pop-sup-field .req { color: #e53e3e; }
.pop-sup-field input,
.pop-sup-field select,
.pop-sup-field textarea {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 16px;
  color: #111;
  font-family: inherit;
  outline: none;
  transition: border .15s;
  background: #fff;
}
.pop-sup-field input:focus,
.pop-sup-field select:focus,
.pop-sup-field textarea:focus { border-color: var(--pop-green); }
.pop-sup-field textarea { resize: vertical; min-height: 80px; }

/* Payment tabs */
.pop-sup-pay-tabs { display: flex; border: 1px solid #d1d5db; border-radius: var(--pop-radius); overflow: hidden; margin-bottom: 1.1rem; }
.pop-sup-pay-tab {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  background: #fff;
  border: none;
  cursor: pointer;
  color: #6b7280;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .18s;
  font-weight: 500;
}
.pop-sup-pay-tab.active { background: var(--pop-green); color: #fff; }
.pop-sup-pay-tab svg { width: 17px; height: 17px; flex-shrink: 0; }
.hidden { display: none !important; }

/* Bank box */
.pop-sup-bank-box {
  background: var(--pop-gold-bg);
  border: 1px solid var(--pop-gold-border);
  border-radius: var(--pop-radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.1rem;
  font-size: 16px;
  line-height: 1.9;
}
.pop-sup-bank-label {
  font-size: 13px;
  color: var(--pop-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}

/* Submit */
.pop-sup-submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--pop-green);
  color: #fff;
  border: none;
  border-radius: var(--pop-radius);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background .2s;
  letter-spacing: .2px;
}
.pop-sup-submit-btn:hover { background: var(--pop-green-h); }
.pop-sup-submit-btn svg { width: 20px; height: 20px; }
.pop-sup-submit-btn:disabled { opacity: .65; cursor: not-allowed; }
.pop-sup-secure {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  margin-top: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pop-sup-secure svg { width: 14px; height: 14px; color: var(--pop-green); }

/* Feedback */
.pop-sup-message-box {
  margin-top: 1rem;
  padding: 14px 16px;
  border-radius: var(--pop-radius);
  font-size: 16px;
  font-weight: 500;
  border: 1px solid;
}
.pop-sup-message-box.success { background: var(--pop-green-bg); color: var(--pop-green); border-color: var(--pop-green-border); }
.pop-sup-message-box.error   { background: #fef2f2; color: #dc2626; border-color: #fca5a5; }

.pop-sup-notice { background: #fff3cd; border: 1px solid #ffc107; padding: 14px 18px; border-radius: var(--pop-radius); color: #856404; font-size: 15px; }

@media (max-width: 520px) {
  .pop-sup-field-row { grid-template-columns: 1fr; }
  .pop-sup-amount-grid { grid-template-columns: repeat(2,1fr); }
  .pop-sup-hero h2 { font-size: 22px; }
}
