/* css/donate-card.css */
.give-card {
  width: 100%;
  max-width: 380px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgb(from var(--primary) r g b / 0.08);
  overflow: hidden;
  position: relative;
}
.give-card-body {
  padding: 26px 26px 28px;
}
.give-card h3 {
  font-family: var(--serif);
  font-size: var(--heading-md);
  color: var(--primary);
  line-height: 1.25;
  margin-block-end: 4px;
}
.give-card-sub {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  margin-block-end: 18px;
  line-height: 1.5;
  font-weight: 400;
}
.gc-freq,
.gc-amounts {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}
.gc-freq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-block-end: 16px;
}
.gc-freq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 9px;
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: normal;
  color: var(--fg-muted);
  background: white;
  border: var(--form-border-width) solid var(--border-input);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.15s;
  letter-spacing: var(--tracking-xs);
}
.gc-freq-btn:has(:checked) {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.gc-freq-btn:has(:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.gc-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-block-end: 10px;
}
.gc-amt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 11px 4px;
  border: var(--form-border-width) solid var(--border-input);
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  background: white;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.15s;
  letter-spacing: normal;
}
.gc-amt:hover {
  border-color: var(--primary);
}
.gc-amt:has(:checked) {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}
.gc-amt:has(:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.gc-freq-btn input,
.gc-amt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.gc-custom-row {
  margin-block-end: 18px;
}
.gc-custom-wrap {
  position: relative;
}
.gc-custom-wrap .dollar {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--text-sm);
  line-height: 1;
  font-weight: 700;
  color: var(--fg-muted);
  pointer-events: none;
}
.gc-custom {
  width: 100%;
  padding: 11px 12px 11px 24px;
  border: var(--form-border-width) solid var(--border-input);
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.2s;
}
.gc-custom[type=number] {
  appearance: textfield;
}
.gc-custom[type=number]::-webkit-inner-spin-button,
.gc-custom[type=number]::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}
.gc-custom::placeholder {
  color: var(--fg-placeholder);
  font-weight: 400;
  opacity: 1;
}
.gc-custom:focus {
  border-color: var(--primary);
}
.give-card .button:disabled {
  opacity: 0.9;
}
@media (max-width: 480px) {
  .give-card-body {
    padding: 22px 20px 24px;
  }
  .give-card h3 {
    font-size: var(--text-lg);
  }
  .gc-amounts {
    gap: 6px;
  }
  .gc-amt {
    padding: 11px 2px;
    font-size: var(--text-sm);
  }
}
.gc-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--fg-muted);
  margin-block-start: 12px;
}
.gc-secure svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}
.donate-error {
  background: var(--bg-danger);
  border: 1px solid var(--danger);
  color: var(--danger);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: var(--text-sm);
  margin-block-end: 12px;
  line-height: 1.5;
}
