/* Give page form, thank-you and the sandbox test processor. */
.give-split { align-items: start; }
.give-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 10px; }
.give-points li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.give-points .icon { color: var(--sage); flex: none; }

.give-form { display: grid; gap: 20px; }
.give-step { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.give-step .label { font-weight: 800; padding: 0; }
.give-chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.give-chip { position: relative; }
.give-chip input, .give-method input { position: absolute; opacity: 0; pointer-events: none; }
.give-chip span {
  display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--radius-sm);
  border: 2px solid var(--line); background: #fff; font-weight: 800; font-size: 1.1rem; cursor: pointer; transition: border-color .15s, background .15s;
}
.give-chip input:checked + span { border-color: var(--terracotta); background: #FBEDE5; color: var(--ember); }
.give-chip input:focus-visible + span, .give-method input:focus-visible + span { outline: 3px solid var(--dusk); outline-offset: 2px; }
.give-other[hidden] { display: none; }
.give-dollar { display: flex; align-items: center; gap: 6px; }
.give-dollar span { font-weight: 800; font-size: 1.2rem; }
.give-dollar input { flex: 1; }

.give-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.give-method { position: relative; }
.give-method span {
  display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; cursor: pointer;
}
.give-method small { color: var(--ink-soft); font-size: .9rem; }
.give-method input:checked + span { border-color: var(--terracotta); background: #FBEDE5; }

.give-cover { background: var(--sand); border-radius: var(--radius-sm); padding: 12px 14px; font-weight: 600; }
.give-submit { display: grid; gap: 10px; }
.give-submit .btn { justify-self: stretch; justify-content: center; }
.give-test-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: #EAF0F5; color: var(--dusk-deep); font-size: .95rem; }

@media (max-width: 520px) {
  .give-chips { grid-template-columns: repeat(3, 1fr); }
}

/* Sandbox test processor */
.sandbox-card { background: #fff; border: 3px dashed var(--dusk); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.sandbox-flag { display: inline-flex; gap: 8px; align-items: center; background: var(--dusk); color: #fff; font-weight: 800; letter-spacing: .04em; font-size: .85rem; padding: 6px 12px; border-radius: 999px; margin: 0 0 1rem; }
.sandbox-card h1 { font-size: var(--fs-h2); margin: 0 0 .5rem; }
.sandbox-summary { display: grid; gap: 0; margin: 1.5rem 0; border-top: 1px solid var(--line); }
.sandbox-summary div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sandbox-summary dt { color: var(--ink-soft); font-weight: 700; }
.sandbox-summary dd { margin: 0; text-align: right; font-weight: 600; }
.sandbox-summary .is-total dd { font-size: 1.3rem; font-weight: 800; }

/* Pay a sign-up fee */
.pay-card { background: #fff; border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow-sm, 0 2px 10px rgba(0,0,0,.05)); }
.pay-card h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: .2em 0 .4em; }
.pay-amount { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pay-amount strong { font-size: 1.4rem; }
.pay-card .give-step { margin-top: 18px; }
.pay-card .give-cover { margin: 14px 0; display: flex; gap: 10px; }
.pay-card .give-cover[hidden] { display: none; }
.give-cover-note { font-weight: 500; }
.give-cover-note[hidden] { display: none; }
