.sdr-donation-wrap {
	display: flex;
	justify-content: center;
	padding: 24px 12px;
}

.sdr-card {
	width: 100%;
	max-width: 1200px;
	background: #ffffff;
	border-radius: 50px;
	box-shadow: 0px 4px 21.9px 0px #00000040;
	padding: 60px 50px 60px;
	box-sizing: border-box;
}

.sdr-card * {
	box-sizing: border-box;
}

h2.sdr-title {
  background: linear-gradient(90deg, #763EFF 0%, #DD369A 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin: 0 0 12px;
}

.sdr-subtext {
	font-size: 13.5px;
	line-height: 1.6;
	color: #444;
	margin: 0 0 18px;
}

.sdr-confirm-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #333;
	margin-bottom: 20px;
	cursor: pointer;
}

.sdr-confirm-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #9747FF;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  cursor: pointer;
  background-color: #fff;
  position: relative;
}

.sdr-confirm-row input[type="checkbox"]:checked {
  background-color: #a020c0;
  border-color: #a020c0;
}

.sdr-confirm-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.sdr-amount-row {
	display: flex;
	align-items: stretch;
	border: 1px solid #d9d3e0;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 26px;
	background: #f7f5fa;
}

.sdr-amount-prefix {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #efe9f4;
	padding: 0 16px;
	font-weight: 600;
	color: #444;
}

.sdr-amount-row input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 12px 14px;
	font-size: 15px;
	outline: none;
}

.sdr-fieldset {
	border: none;
	padding: 0;
	margin: 0;
}

.sdr-fieldset[disabled] {
	opacity: 0.55;
}

.sdr-section-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    margin: 30px 0 14px;
}

.sdr-row {
	margin-bottom: 16px;
}

.sdr-row-2 {
	display: flex;
	gap: 16px;
}

.sdr-row-2 .sdr-field {
	flex: 1;
	min-width: 0;
}

.sdr-field label {
	display: block;
	font-size: 13px;
	color: #333;
	margin-bottom: 6px;
	font-weight: 500;
}

.sdr-field .req {
	color: #d63384;
	margin-left: 2px;
}

.sdr-field input,
.sdr-field textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #ddd6e3;
	border-radius: 8px;
	font-size: 14px;
	color: #222;
	background: #fff;
	outline: none;
	transition: border-color 0.15s ease;
	font-family: inherit;
}

.sdr-field input:focus,
.sdr-field textarea:focus {
	border-color: #a020c0;
}

.sdr-field textarea {
	resize: vertical;
}

.sdr-fineprint {
	font-size: 12px;
	color: #888;
	margin: 18px 0 20px;
	line-height: 1.5;
}

.sdr-form-message {
	font-size: 13.5px;
	margin-bottom: 12px;
	min-height: 0;
}

.sdr-form-message.sdr-error {
	color: #c0392b;
	background: #fdecea;
	border: 1px solid #f5c2c0;
	border-radius: 8px;
	padding: 10px 14px;
	font-weight: 600;
}

.sdr-form-message.sdr-info {
	color: #444;
	background: #f3eefb;
	border: 1px solid #e0d3f5;
	border-radius: 8px;
	padding: 10px 14px;
}

.sdr-submit-btn {
	padding: 15px 40px;
	border: none;
	border-radius: 999px;
	background: linear-gradient(270deg, #DD369A 0%, #8766D4 100%);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.05s ease;
}

.sdr-submit-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.sdr-submit-btn:not(:disabled):hover {
	opacity: 0.92;
}

.sdr-submit-btn:not(:disabled):active {
	transform: scale(0.99);
}

.sdr-honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.sdr-thankyou {
	text-align: center;
	padding: 30px 10px;
}

.sdr-thankyou h3 {
	color: #7b1fa2;
	font-size: 20px;
	margin-bottom: 10px;
}

.sdr-thankyou p {
	color: #444;
	font-size: 14px;
}

@media (max-width: 480px) {
	.sdr-row-2 {
		flex-direction: column;
		gap: 0;
	}
	.sdr-card {
		padding: 24px 18px 30px;
	}
}

/* ---- Receipt / status page ---- */

.sdr-receipt-card {
	padding: 40px;
	overflow: hidden;
}

.sdr-status-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 24px;
	font-size: 14.5px;
	font-weight: 600;
}

.sdr-status-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	font-size: 13px;
	flex-shrink: 0;
}

.sdr-status-success {
	background: #eef8ee;
	color: #2e7d32;
}
.sdr-status-success .sdr-status-icon {
	background: #43a047;
	color: #fff;
}

.sdr-status-failed {
	background: #fdecea;
	color: #c0392b;
}
.sdr-status-failed .sdr-status-icon {
	background: #e53935;
	color: #fff;
}

.sdr-status-info {
	background: #f3eefb;
	color: #555;
}
.sdr-status-info .sdr-status-icon {
	background: #9575cd;
	color: #fff;
}

.sdr-receipt-table {
	margin: 24px 0px 0;
	border: 1px solid #eee;
	border-radius: 10px;
	overflow: hidden;
}

.sdr-receipt-title {
	background: #f7f5fa;
	text-align: center;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	font-size: 13px;
	color: #555;
	padding: 12px 16px;
}

.sdr-receipt-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 18px;
	font-size: 14px;
	border-top: 1px solid #f0eef2;
}

.sdr-receipt-row:nth-child(odd) {
	background: #fbfafc;
}

.sdr-receipt-row span:first-child {
	color: #777;
	font-weight: 600;
}

.sdr-receipt-row span:last-child {
	color: #222;
	text-align: right;
}

.sdr-receipt-footnote {
	font-size: 12.5px;
	color: #888;
	line-height: 1.5;
	padding: 18px 24px 4px;
	margin: 0;
}

.sdr-retry-btn {
	display: block;
	width: calc(100% - 48px);
	margin: 18px 24px 24px;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
}

@media (max-width: 480px) {
	.sdr-receipt-row {
		flex-direction: column;
		gap: 2px;
	}
	.sdr-receipt-row span:last-child {
		text-align: left;
	}
}
