/* Podporte nás for everybody (public/support.html, payments.public_support).
 * Sits on css/web.css (the "Web E" tokens, nav and buttons, light and dark)
 * and only adds the donation form; every colour is a web.css token, so the
 * dark theme comes with it. */

.rce .sp-main { max-width: 760px; padding-top: 40px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 20px; }
.rce .sp-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.rce .sp-hero h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.05; }
.rce .sp-lead { color: var(--muted); font-size: 19px; max-width: 60ch; }
.rce .sp-mark {
  width: 52px; height: 52px; border-radius: 18px; background: var(--blush); color: var(--red-text);
  display: inline-flex; align-items: center; justify-content: center;
}
.rce .sp-mark .ic { width: 26px; height: 26px; }

.rce .sp-form { display: flex; flex-direction: column; gap: 16px; }
.rce .sp-card {
  margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 24px; background: var(--bg);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
}
.rce .sp-empty { color: var(--muted); }
.rce .sp-step {
  display: flex; align-items: center; gap: 10px; padding: 0; font-weight: 800; font-size: 20px; letter-spacing: -.02em; float: left; width: 100%;
}
.rce .sp-step + * { clear: both; }
.rce .sp-step span {
  width: 30px; height: 30px; border-radius: 15px; background: var(--pill); color: var(--pill-ink);
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}

.rce .sp-amounts { display: flex; flex-wrap: wrap; gap: 10px; }
.rce .sp-chip { position: relative; }
.rce .sp-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rce .sp-chip span {
  display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 24px;
  border: 1px solid var(--line); font-weight: 700; font-size: 17px; cursor: pointer;
}
.rce .sp-chip input:checked + span { background: var(--red); border-color: var(--red); color: #FFFFFF; }
.rce .sp-chip input:focus-visible + span { outline: 3px solid var(--red-text); outline-offset: 3px; }
.rce .sp-own {
  display: inline-flex; align-items: center; height: 48px; border-radius: 24px; border: 1px solid var(--line);
  padding: 0 16px; gap: 6px; background: var(--soft);
}
.rce .sp-own input { width: 6ch; border: 0; background: none; font: 700 17px var(--f); color: var(--ink); text-align: right; }
.rce .sp-own input:focus { outline: none; }
.rce .sp-own:focus-within { outline: 3px solid var(--red-text); outline-offset: 3px; }
.rce .sp-eur { font-weight: 700; color: var(--muted); }

.rce .sp-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 700; }
.rce .sp-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.rce .sp-check small { display: block; font-weight: 500; font-size: 15px; color: var(--muted); }
.rce .sp-inv { display: flex; flex-direction: column; gap: 14px; }
.rce .sp-inv[hidden], .rce .sp-qr-live[hidden], .rce .sp-qr-inv[hidden] { display: none; }
.rce .sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rce .sp-wide { grid-column: 1 / -1; }
.rce .sp-field { display: flex; flex-direction: column; gap: 6px; }
.rce .sp-label { font-size: 15px; font-weight: 700; }
.rce .sp-label b { color: var(--red-text); }
.rce .sp-field input {
  height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft);
  color: var(--ink); font: 500 17px var(--f); width: 100%;
}
.rce .sp-field input:focus { outline: 3px solid var(--red-text); outline-offset: 1px; }
.rce .sp-field input[aria-invalid="true"] { border-color: var(--red-text); }
.rce .sp-err { color: var(--red-text); font-size: 14px; font-weight: 600; }
.rce .sp-firm summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--muted);
}
.rce .sp-firm summary::-webkit-details-marker { display: none; }
.rce .sp-firm summary .ic { width: 16px; height: 16px; transition: transform .15s; }
.rce .sp-firm[open] summary .ic { transform: rotate(180deg); }
.rce .sp-firm[open] summary { margin-bottom: 12px; }

.rce .sp-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.rce .sp-way {
  border-radius: 18px; background: var(--soft); padding: 18px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.rce .sp-way h2 { font-size: 19px; display: flex; align-items: center; gap: 8px; letter-spacing: -.02em; }
.rce .sp-way p { color: var(--muted); font-size: 16px; }
.rce .sp-qr-live, .rce .sp-qr-inv { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.rce .sp-card > .sp-qr-live { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
.rce .sp-qr { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
/* the code stays dark on white in both themes: banking apps read it so */
.rce .sp-qr img { display: block; width: 168px; height: 168px; background: #FFFFFF; border-radius: 14px; padding: 8px; }
.rce .sp-qr figcaption { font-size: 13px; font-weight: 700; color: var(--muted); }
.rce .sp-facts { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; font-size: 15px; flex: 1 1 240px; }
.rce .sp-facts dt { color: var(--muted); }
.rce .sp-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.rce .sp-mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; user-select: all; }
.rce .sp-vs { color: var(--red-text); font-size: 18px; }
.rce .sp-fine { color: var(--muted); font-size: 14px; }
.rce .sp-btn-ghost { background: var(--toggle); color: var(--ink); }
.rce .sp-back { color: var(--red-text); font-weight: 700; }
.rce .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rce .sp-flash { margin: 0; padding: 14px 18px; border-radius: 16px; font-weight: 600; font-size: 16px; background: var(--mist); }
.rce .sp-flash-ok { background: var(--ok-bg); color: var(--ok-ink); }
.rce .sp-flash-err { background: var(--down-bg); color: var(--down-ink); }

.rce .sp-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.rce .sp-foot-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 28px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .rce .sp-main { padding-top: 24px; }
  .rce .sp-card { padding: 18px 16px; border-radius: 20px; }
  .rce .sp-grid { grid-template-columns: minmax(0, 1fr); }
  .rce .sp-way .btn { width: 100%; }
}
