/* Átlátszó háttér, letisztult notebook-keret, modern inputok */
.spd-notebook {
  background: transparent;
  border-radius: 10px;
  padding: 24px 24px 16px 60px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
  border: 1px dashed rgba(0,0,0,0.12);
  overflow: hidden;
}
.spd-notebook:after {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 20px;
  height: calc(100% - 20px);
  background: radial-gradient(circle at 10px 10px, #ddd 4px, transparent 4px) 0 0/100% 32px repeat-y;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.12));
}

.simplepay-donate-form { position: relative; background: transparent; }

.simplepay-donate-form .spd-row { margin-bottom: 14px; }
.simplepay-donate-form .spd-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.simplepay-donate-form input[type="text"],
.simplepay-donate-form input[type="email"],
.simplepay-donate-form input[type="number"],
.simplepay-donate-form input[type="tel"],
.simplepay-donate-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  background: #fff;
  font-weight: 500;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.simplepay-donate-form input:focus,
.simplepay-donate-form textarea:focus {
  border-color: #0078ff;
  box-shadow: 0 0 0 3px rgba(0,120,255,0.15);
}

.spd-amounts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.spd-custom input { max-width: 220px; }

.spd-radio { margin-right: 12px; }

.spd-error {
  display: block;
  color: #c62828;
  font-size: 12px;
  margin-top: 4px;
  min-height: 14px;
}

.spd-submit {
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: #0078ff;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}
@media (max-width: 640px){
  .simplepay-donate-form .spd-row.two { grid-template-columns: 1fr; }
}

.spd-vhid { position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }
.spd-label { font-weight: 600; }

/* ===== SimplePay Donate – Egyedi gomb aktív stílus ===== */

/* Alap gombszínek – max 10 */
.spd-amount-btn:nth-of-type(1)  { background-color: #2e7d32; color: #fff; }
.spd-amount-btn:nth-of-type(2)  { background-color: #1565c0; color: #fff; }
.spd-amount-btn:nth-of-type(3)  { background-color: #ef6c00; color: #fff; }
.spd-amount-btn:nth-of-type(4)  { background-color: #c62828; color: #fff; }
.spd-amount-btn:nth-of-type(5)  { background-color: #6a1b9a; color: #fff; }
.spd-amount-btn:nth-of-type(6)  { background-color: #00897b; color: #fff; }
.spd-amount-btn:nth-of-type(7)  { background-color: #f9a825; color: #fff; }
.spd-amount-btn:nth-of-type(8)  { background-color: #283593; color: #fff; }
.spd-amount-btn:nth-of-type(9)  { background-color: #ad1457; color: #fff; }
.spd-amount-btn:nth-of-type(10) { background-color: #455a64; color: #fff; }

/* Hover – világoskék keret, háttérszín marad */
.spd-amount-btn:hover:not(.spd-amount-active)
 {
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.4); /* halvány kék fénykeret */
  outline: none;
}


/* Aktív (kiválasztott) – pulzáló keret */
.spd-amount-active {
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.4);
  animation: spd-pulse 1.6s infinite;
  outline: none;
  z-index: 2;
}

/* Pulzáló animáció */
@keyframes spd-pulse {
  0%   { box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.4); }
  50%  { box-shadow: 0 0 0 6px rgba(0, 123, 255, 0.2); }
  100% { box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.4); }
}

/* === SimplePay – siker popup === */
.spd-modal-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.45);
  display:flex; align-items:center; justify-content:center;
  z-index:9999; padding:16px;
}
.spd-modal{
  width:min(640px, 96vw); background:#fff; border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.25); overflow:hidden;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
.spd-modal-header{
  display:flex; align-items:center; gap:12px;
  padding:18px 22px; background:color-mix(in oklab, var(--spd-accent, #2e7d32) 14%, white);
  border-bottom:1px solid #eee;
}
.spd-modal-header h2{ margin:0; color:#111; font-size:1.25rem; }
.spd-badge{
  width:20px; height:20px; border-radius:50%;
  background:var(--spd-accent, #2e7d32);
  box-shadow:0 0 0 4px color-mix(in oklab, var(--spd-accent, #2e7d32) 28%, white);
}
.spd-modal-body{ padding:22px; color:#222; line-height:1.55; }
.spd-modal-actions{
  display:flex; justify-content:flex-end; gap:10px;
  padding:14px 22px; border-top:1px solid #eee;
}
.spd-btn{
  padding:10px 16px; border:0; border-radius:10px;
  background:var(--spd-accent, #2e7d32); color:#fff; cursor:pointer;
  font-weight:600;
}
.spd-btn:hover{ filter:brightness(1.06); }
.spd-modal-close{
  position:absolute; top:10px; right:10px; width:36px; height:36px;
  border-radius:50%; border:0; background:#fff; color:#333; cursor:pointer;
  box-shadow:0 2px 8px rgba(0,0,0,.2); font-size:22px; line-height:1;
}
.spd-modal-close:hover{ filter:brightness(1.05); }
@media (max-width:480px){
  .spd-modal-header h2{ font-size:1.1rem; }
  .spd-modal-body{ padding:16px; }
  .spd-modal-actions{ padding:12px 16px; }
}


