.wpcd-donation-widget,
.wpcd-receipt {
  --wpcd-navy: #002242;
  --wpcd-orange: #faa41a;
  --wpcd-slate: #64748b;
  --wpcd-border: #e2e8f0;
  box-sizing: border-box;
  color: var(--wpcd-navy);
  font-family: "Poppins", sans-serif;
}

.wpcd-donation-widget {
  background: #24559a;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.wpcd-standalone-widget {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 15px rgb(0 0 0 / 10%);
  margin: 24px 0;
  padding: 32px;
}

.wpcd-standalone-widget .wpcd-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wpcd-donation-widget *,
.wpcd-receipt * {
  box-sizing: border-box;
}
.wpcd-receipt h2{
	font-size:2.5rem;
	color:var(--primary);
	
}
.wpcd-receipt  table{ 
	background-color:#fff7ea;
}
.wpcd-form-wrap .wpcd-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 15px rgb(0 0 0 / 10%);
  color: var(--wpcd-navy);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 490px;
  padding: 32px;
}

.wpcd-page { background: #24559a; color: #fff; min-height: 694px; }
.wpcd-cause-bar { align-items: center; background: #002242; display: flex; gap: 40px; justify-content: center; min-height: 118px; padding: 24px; }
.wpcd-cause-bar label { color: #fff; font-size: 22px; font-weight: 500; line-height: 1.22; }
.wpcd-cause-bar select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23002242' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 22px center; border: 0; border-radius: 28px; color: #002242; font: 600 18px/1.2 "Poppins",sans-serif; min-height: 52px; min-width: 318px; padding: 12px 52px 12px 28px; }
.wpcd-hero { background-color: #173f6b; background-position: center; background-size: cover; min-height: 227px; transition: opacity .2s ease; }
.wpcd-hero.is-loading { opacity: .62; }
.wpcd-layout {display: grid;ga;gap: 4rem;grid-template-columns: 42rem 23% auto;margin: 0 auto;max-width: 1280px;padding: 46px 0 0;}
.wpcd-heading h1 { color: #fff; font-size: 44px; font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 0 0 18px; }
.wpcd-heading p {color: #fff;font-size: 2.2rem;font-weight: 700;line-height: 1.3;margin: 0;}
.wpcd-heading p::first-line { color: #faa41a; }
.wpcd-description { color: rgb(255 255 255 / 88%); font-size: 14px; line-height: 1.7; }
.wpcd-description p { margin: 0; }
.wpcd-form-wrap { grid-column: 3; grid-row: 1 / span 2; margin-bottom: -120px; }
.wpcd-below {margin: 0 auto;max-width: 1280px;min-height: 349px;padding: 18px 497px 32px 0;}
.wpcd-content { color: rgb(255 255 255 / 88%); font-size: 14px; line-height: 1.7; }
.wpcd-content > *:first-child { margin-top: 0; }
.wpcd-disclaimer { color: rgb(255 255 255 / 88%); font-size: 11px; line-height: 1.6; margin: 26px 0 0; }
.wpcd-disclaimer a { color: #faa41a; font-weight: 500; text-decoration: underline; }
.wpcd-cause-error { background: #fff0f0; color: #b42318; margin: 0; padding: 10px; text-align: center; }

.wpcd-loading {
  color: var(--wpcd-slate);
  font-size: 13px;
}

.wpcd-steps {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0;
}

.wpcd-steps button {
  align-items: center;
  background: var(--wpcd-border);
  border: 0;
  border-radius: 50%;
  color: var(--wpcd-slate);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 28px;
  font:
    700 13px/1 "Poppins",
    sans-serif;
  height: 28px;
  justify-content: center;
  padding: 0;
  transition:
    background-color 160ms ease,
    color 160ms ease;
  width: 28px;
}

.wpcd-steps button.active,
.wpcd-steps button.complete {
  background: var(--wpcd-navy);
  color: #fff;
}

.wpcd-steps button:focus-visible,
.wpcd-button:focus-visible,
.wpcd-amounts label:focus-within,
.wpcd-input:focus {
  box-shadow: 0 0 0 3px rgb(250 164 26 / 28%);
  outline: none;
}

.wpcd-step-line {
  background: var(--wpcd-border);
  border-radius: 1px;
  display: block;
  height: 2px;
  width: 24px;
}

.wpcd-step-line.complete {
  background: var(--wpcd-navy);
}

.wpcd-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wpcd-title {
  color: var(--wpcd-navy);
  font:
    700 20px/1.15 "Poppins",
    sans-serif;
  margin: 0;
}

.wpcd-field-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wpcd-label,
.wpcd-panel > label {
  color: var(--wpcd-slate);
  font-size: 1.3rem; 0;
}

.wpcd-amounts {
  display: grid;
  gap: 8px 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.wpcd-amounts label {
  align-items: center;
  background: #fff;
  border: 1px solid var(--wpcd-border);
  border-radius: 8px;
  color: var(--wpcd-navy);
  cursor: pointer;
  display: flex;
  font:
    600 15px/1.4 "Poppins",
    sans-serif;
  justify-content: center;
  min-height: 48px;
  padding: 12px 8px;
  white-space: nowrap;
}

.wpcd-amounts label.selected {
  background: var(--wpcd-navy);
  border: 2px solid var(--wpcd-navy);
  color: #fff;
  font-weight: 700;
  padding: 11px 7px;
}

.wpcd-sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.wpcd-input {
  background: #fff;
  border: 1px solid var(--wpcd-border);
  border-radius: 8px;
  color: var(--wpcd-navy);
  display: block;
  font:
    500 13px/1.4 "Poppins",
    sans-serif;
  margin: 6px 0 0;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.wpcd-custom-input {
	margin-top: 0;
	text-align: center;
}

.wpcd-custom-input.selected {
	border: 2px solid var(--wpcd-navy);
	font-weight: 600;
	padding: 9px 11px;
}

textarea.wpcd-input {
	min-height: 76px;
	resize: vertical;
}

.wpcd-message-toggle {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 8px;
}

.wpcd-message-toggle input {
	accent-color: var(--wpcd-navy);
	flex: 0 0 auto;
	margin: 0;
}

.wpcd-character-count {
	display: block;
	font-size: 10px;
	font-weight: 400;
	margin-top: 5px;
	text-align: right;
}

.wpcd-button {
  align-items: center;
  background: var(--primary);
  border: 0;
  border-radius: 100px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font:
    700 16px/1.5 "Poppins",
    sans-serif;
  justify-content: center; 
  padding: 5px 24px;
 transition:all .3s ease !important;
}
.wpcd-button:hover {
	background-color:var(--secondary);
}
.wpcd-button-primary {
  background: var(--wpcd-orange);
  min-height: 56px;
  width: 100%;
}

.wpcd-button.secondary {
  background: var(--wpcd-border);
  color: var(--wpcd-slate);
}

.wpcd-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.wpcd-actions {
  display: flex;
  gap: 10px;
}

.wpcd-actions .wpcd-button:not(.secondary) {
  background: var(--wpcd-orange);
  flex: 1;
}

.wpcd-error {
  color: #b42318;
  font-size: 11px;
  font-weight: 600;
  margin: 0;
}

.wpcd-summary {
  background: #f8fafc;
  border: 1px solid var(--wpcd-border);
  border-radius: 8px;
  margin: 0;
  padding: 14px;
}

.wpcd-summary h4,
.wpcd-summary p {
  margin: 0 0 8px;
}

.wpcd-summary p:last-child {
  margin-bottom: 0;
}

.wpcd-terms {
  color: var(--wpcd-slate);
  display: block;
  font-size: 12px;
  margin: 0;
}

.wpcd-privacy {
  align-items: center;
  color: var(--wpcd-slate);
  display: flex;
  font-size: 12px;
  gap: 6px;
  justify-content: center;
}
.wpcd-donation-widget .cards-logos{
	background:url('../img/logo-cards-black.png') center 0 no-repeat;
	height:3.2rem;
	background-size:contain;
}
.wpcd-lock {
  display: block;
  height: 12px;
  object-fit: contain;
  width: 12px;
}

.wpcd-security-block {
	text-align: center;
}

.wpcd-receipt {
  background: #fff;
  border: 1px solid var(--wpcd-border);
  border-radius: 16px;
  margin: 24px 0;
  max-width: 650px;
  padding: 24px;
  font-size: 1.4rem;
}

.wpcd-receipt table {
  border-collapse: collapse;
  width: 100%;
}

.wpcd-receipt th,
.wpcd-receipt td {
  border-bottom: 1px solid var(--wpcd-border);
  padding: 10px;
  text-align: left;
}

.wpcd-receipt-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  justify-content: center;
}

.wpcd-cardnet-result {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.wpcd-result-icon {
	align-items: center;
	background: #edfaef;
	border-radius: 50%;
	color: #0a5f1d;
	display: flex;
	font-size: 34px;
	font-weight: 700;
	height: 72px;
	justify-content: center;
	margin: 0 auto 16px;
	width: 72px;
}

.wpcd-cardnet-result.is-error .wpcd-result-icon {
	background: #fcf0f1;
	color: #8a2424;
}

.wpcd-status-pill {
  background: #f6f7f7;
  border: 1px solid #c3c4c7;
  border-radius: 999px;
  color: #50575e;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  padding: 3px 10px;
  text-transform: capitalize;
}

.wpcd-status-pending {
  background: #fcf9e8;
  border-color: #dba617;
  color: #755100;
}
.wpcd-status-paid,
.wpcd-status-completed,
.wpcd-status-success {
  background: #edfaef;
  border-color: #00a32a;
  color: #0a5f1d;
}
.wpcd-status-failed,
.wpcd-status-cancelled,
.wpcd-status-refunded {
  background: #fcf0f1;
  border-color: #d63638;
  color: #8a2424;
}

@media (max-width: 420px) {
  .wpcd-amounts {
    gap: 8px;
  }

  .wpcd-amounts label {
    font-size: 13px;
    padding-inline: 4px;
  }
}

@media (max-width: 1100px) {
  .wpcd-layout { gap: 32px; grid-template-columns: minmax(220px,1fr) minmax(260px,1.25fr) 360px; padding-inline: 32px; }
  .wpcd-below { padding-left: 32px; padding-right: 424px; }
}

@media (max-width: 820px) {
  .wpcd-cause-bar { align-items: stretch; flex-direction: column; gap: 12px; }
  .wpcd-cause-bar label { font-size: 18px; text-align: center; }
  .wpcd-cause-bar select { min-width: 0; width: 100%; }
  .wpcd-layout { display: flex; flex-direction: column; padding: 38px 24px; }
  .wpcd-heading h1 { font-size: 36px; }
  .wpcd-form-wrap { margin: 0; order: 3; }
  .wpcd-below { min-height: 0; padding: 32px 24px 48px; }
}

@media print {
  .wpcd-receipt-actions {
    display: none;
  }
}

.wpcd-admin-table-wrap {
	overflow-x: auto;
	width: 100%;
}

.wpcd-donation-filters {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	margin: 16px 0;
	padding: 18px;
}

.wpcd-filter-heading {
	align-items: center;
	display: flex;
	font-size: 15px;
	justify-content: space-between;
	margin-bottom: 16px;
}

.wpcd-filter-heading span {
	background: #f0f0f1;
	border-radius: 999px;
	color: #50575e;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
}

.wpcd-filter-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.wpcd-filter-grid label,
.wpcd-filter-grid label span {
	display: block;
}

.wpcd-filter-grid label span {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 5px;
}

.wpcd-filter-grid input {
	margin: 0;
	max-width: none;
	width: 100%;
}

.wpcd-filter-actions {
	align-items: center;
	display: flex;
	gap: 8px;
	margin-top: 16px;
}

.wpcd-filter-actions .submit {
	margin: 0;
	padding: 0;
}

.wpcd-export-button {
	margin-left: auto !important;
}

.wpcd-donations-table th,
.wpcd-donations-table td {
	white-space: nowrap;
}

.wpcd-tax-receipt-badge {
	background: #b91c1c;
	border-radius: 999px;
	color: #fff;
	display: inline-block;
	font-size: 11px;
	padding: 3px 8px;
}

.wpcd-fiscal-fields {
	background: #f8fafc;
	border-left: 3px solid #073763;
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 4px 0 14px;
	padding: 14px;
	font-size: 1.3rem;
}

.wpcd-fiscal-field {
	min-width: 0;
}

.wpcd-fiscal-field .wpcd-error {
	margin-bottom: 0;
}

.wpcd-cards-logo {
	display: block;
	height: auto;
	margin: 10px auto 0;
	max-width: 210px;
	width: 70%;
}

@media (max-width: 420px) {
	.wpcd-fiscal-fields {
		grid-template-columns: 1fr;
	}
}

.wpcd-donation-dialog {
	border: 0;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	max-height: 88vh;
	max-width: 900px;
	padding: 0;
	width: calc(100% - 40px);
}

.wpcd-donation-dialog::backdrop {
	background: rgba(0, 0, 0, 0.55);
}

.wpcd-dialog-header,
.wpcd-dialog-actions {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding: 16px 20px;
}

.wpcd-dialog-header {
	border-bottom: 1px solid #dcdcde;
}

.wpcd-dialog-header h2 {
	margin: 0;
}

.wpcd-dialog-close.button-link {
	color: #50575e;
	font-size: 30px;
	line-height: 1;
	text-decoration: none;
}

.wpcd-dialog-content {
	max-height: calc(88vh - 130px);
	overflow: auto;
	padding: 20px;
}

.wpcd-dialog-content th {
	width: 220px;
}

.wpcd-dialog-content td {
	white-space: normal;
	word-break: break-word;
}

.wpcd-dialog-content pre {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	max-height: 280px;
	overflow: auto;
	padding: 12px;
	white-space: pre-wrap;
}

.wpcd-dialog-actions {
	border-top: 1px solid #dcdcde;
	justify-content: flex-end;
}
