/**
 * Yemen4Christ — Donation Pages Styles
 * Palette: brown / gold / olive / cream
 */

/* ============================================================
   HERO
   ============================================================ */
.donate-hero {
	position: relative;
	background: linear-gradient(150deg, #2D1A0E 0%, #4A2C1A 45%, #4F5C37 100%);
	padding: 80px 0 70px;
	overflow: hidden;
	text-align: center;
}
.donate-hero__bg {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(201, 168, 76, .18) 1.2px, transparent 1.2px);
	background-size: 28px 28px;
	opacity: .45;
	pointer-events: none;
}
.donate-hero__inner {
	position: relative;
	max-width: 720px;
	margin: 0 auto;
}
.donate-hero__icon {
	display: inline-flex;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: rgba(201, 168, 76, .18);
	border: 2px solid rgba(201, 168, 76, .5);
	align-items: center;
	justify-content: center;
	color: #DFC06E;
	margin-bottom: 20px;
	box-shadow: 0 0 36px rgba(201, 168, 76, .22);
}
.donate-hero__icon svg { width: 36px; height: 36px; }
.donate-hero__title {
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	font-weight: 900;
	color: #fff;
	line-height: 1.1;
	margin-bottom: 12px;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.donate-hero__subtitle {
	font-size: clamp(1rem, 2.2vw, 1.2rem);
	color: var(--gold-light, #DFC06E);
	font-weight: 600;
}

/* ============================================================
   BODY GRID
   ============================================================ */
.donate-body {
	padding: 60px 0 80px;
	background: var(--cream, #FDF8F0);
}
.donate-grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 40px;
	align-items: start;
}

/* ============================================================
   LEFT — info panel
   ============================================================ */
.donate-info {
	padding: 8px 0;
}
.donate-info__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: var(--brown-dark, #2D1A0E);
	margin-bottom: 16px;
	border-right: 4px solid var(--gold, #C9A84C);
	padding-right: 14px;
	line-height: 1.3;
}
.donate-info__text {
	font-size: 15px;
	color: var(--text-muted, #6B5242);
	line-height: 1.9;
	margin-bottom: 22px;
}
.donate-info__list {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.donate-info__list li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid rgba(201, 168, 76, .18);
	border-radius: 12px;
	padding: 14px 16px;
	transition: all .2s;
}
.donate-info__list li:hover {
	border-color: rgba(201, 168, 76, .4);
	box-shadow: 0 4px 18px rgba(74, 44, 26, .08);
}
.donate-info__icon {
	font-size: 24px;
	line-height: 1;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	background: rgba(201, 168, 76, .12);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.donate-info__list strong { color: var(--brown-dark, #2D1A0E); }
.donate-info__list li > div {
	font-size: 14px;
	color: var(--text-muted, #6B5242);
	line-height: 1.7;
}
.donate-info__verse {
	background: linear-gradient(135deg, rgba(201, 168, 76, .08), rgba(107, 124, 75, .08));
	border-right: 4px solid var(--gold, #C9A84C);
	border-radius: 14px;
	padding: 20px 24px;
	font-style: italic;
}
.donate-info__verse p {
	color: var(--brown-dark, #2D1A0E);
	font-size: 14.5px;
	line-height: 1.85;
	margin-bottom: 8px;
}
.donate-info__verse span {
	color: var(--gold-dark, #A88830);
	font-size: 13px;
	font-weight: 700;
	font-style: normal;
}

/* ============================================================
   RIGHT — donation card / form
   ============================================================ */
.donate-card {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 12px 40px rgba(74, 44, 26, .12);
	border: 1px solid rgba(201, 168, 76, .18);
	padding: 32px 30px;
	position: sticky;
	top: 90px;
}
.donate-card__notice {
	background: rgba(180, 60, 40, .07);
	border: 1px solid rgba(180, 60, 40, .25);
	border-radius: 12px;
	padding: 18px;
	color: #6e2a1f;
}
.donate-card__notice strong { display: block; margin-bottom: 6px; font-size: 15px; }
.donate-card__notice p { font-size: 13.5px; line-height: 1.7; margin: 0; }
.donate-card__test-banner {
	background: rgba(255, 196, 0, .12);
	border: 1px solid rgba(255, 196, 0, .4);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 12.5px;
	color: #6b4a00;
	margin-bottom: 18px;
	line-height: 1.6;
}
.donate-card__test-banner code {
	background: rgba(0,0,0,.06);
	padding: 1px 6px;
	border-radius: 4px;
	font-size: 12px;
}

.donate-form__title {
	font-size: 18px;
	font-weight: 800;
	color: var(--brown-dark, #2D1A0E);
	margin-bottom: 16px;
	text-align: center;
}

/* Amount grid */
.donate-form__amounts {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-bottom: 20px;
}
.donate-amount {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	background: #FDF8F0;
	border: 2px solid rgba(201, 168, 76, .25);
	border-radius: 14px;
	padding: 18px 14px;
	font-family: inherit;
	cursor: pointer;
	transition: all .18s;
	color: var(--brown-dark, #2D1A0E);
}
.donate-amount:hover {
	border-color: var(--gold, #C9A84C);
	background: rgba(201, 168, 76, .05);
	transform: translateY(-1px);
}
.donate-amount.is-active {
	border-color: var(--gold, #C9A84C);
	background: rgba(201, 168, 76, .12);
	box-shadow: 0 4px 14px rgba(201, 168, 76, .22);
}
.donate-amount__currency {
	font-size: 18px;
	font-weight: 700;
	color: var(--gold-dark, #A88830);
	margin-right: 2px;
}
.donate-amount__value {
	font-size: 26px;
	font-weight: 900;
	line-height: 1;
}
.donate-amount__badge {
	position: absolute;
	top: -10px;
	background: var(--gold, #C9A84C);
	color: #fff;
	font-size: 10.5px;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 12px;
	letter-spacing: .3px;
	text-transform: uppercase;
}

/* Custom amount */
.donate-form__custom {
	margin-bottom: 18px;
}
.donate-form__custom-label {
	display: block;
	font-size: 13px;
	color: var(--text-muted, #6B5242);
	margin-bottom: 8px;
	font-weight: 600;
}
.donate-form__custom-input {
	position: relative;
	display: flex;
	align-items: center;
	background: #FDF8F0;
	border: 2px solid rgba(201, 168, 76, .25);
	border-radius: 12px;
	padding: 0 14px;
	transition: border-color .18s;
}
.donate-form__custom-input:focus-within {
	border-color: var(--gold, #C9A84C);
	background: #fff;
}
.donate-form__custom-currency {
	font-size: 18px;
	font-weight: 800;
	color: var(--gold-dark, #A88830);
	margin-inline-end: 8px;
}
.donate-form__custom-input input {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	color: var(--brown-dark, #2D1A0E);
	padding: 13px 0;
}

/* Generic field */
.donate-form__field {
	margin-bottom: 16px;
}
.donate-form__field label {
	display: block;
	font-size: 13px;
	color: var(--text-muted, #6B5242);
	font-weight: 600;
	margin-bottom: 6px;
}
.donate-form__optional {
	color: #9A8270;
	font-weight: 500;
	font-size: 12px;
}
.donate-form__field input {
	width: 100%;
	background: #FDF8F0;
	border: 2px solid rgba(201, 168, 76, .2);
	border-radius: 10px;
	padding: 11px 14px;
	font-family: inherit;
	font-size: 14px;
	color: var(--brown-dark, #2D1A0E);
	outline: none;
	transition: border-color .18s;
}
.donate-form__field input:focus {
	border-color: var(--gold, #C9A84C);
	background: #fff;
}

/* Submit button */
.donate-form__submit {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, var(--gold, #C9A84C), var(--gold-dark, #A88830));
	color: #fff;
	border: none;
	border-radius: 14px;
	padding: 16px 24px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	transition: all .2s;
	margin-top: 8px;
	box-shadow: 0 6px 22px rgba(201, 168, 76, .35);
}
.donate-form__submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(201, 168, 76, .5);
}
.donate-form__submit:disabled {
	opacity: .65;
	cursor: not-allowed;
	transform: none;
}

.donate-form__methods {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 8px;
}
.donate-form__methods .donate-form__submit { margin-top: 0; }

.donate-form__submit--stripe {
	background: linear-gradient(135deg, #635BFF, #4B45D1);
	box-shadow: 0 6px 22px rgba(99, 91, 255, .35);
}
.donate-form__submit--stripe:hover {
	box-shadow: 0 10px 30px rgba(99, 91, 255, .5);
}

.donate-form__submit--paypal {
	background: linear-gradient(135deg, #0070BA, #003087);
	box-shadow: 0 6px 22px rgba(0, 112, 186, .35);
}
.donate-form__submit--paypal:hover {
	box-shadow: 0 10px 30px rgba(0, 112, 186, .5);
}

.donate-form__submit-icon { width: 22px; height: 22px; }
.donate-form__submit-spinner svg {
	width: 22px;
	height: 22px;
	animation: y4c-donate-spin 0.9s linear infinite;
}
@keyframes y4c-donate-spin { to { transform: rotate(360deg); } }

.donate-form__error {
	background: rgba(180, 60, 40, .08);
	border: 1px solid rgba(180, 60, 40, .25);
	border-radius: 10px;
	padding: 12px 14px;
	color: #6e2a1f;
	font-size: 13.5px;
	margin-top: 14px;
	line-height: 1.6;
}

.donate-form__security {
	display: flex;
	align-items: center;
	gap: 7px;
	justify-content: center;
	margin-top: 18px;
	font-size: 12px;
	color: var(--text-muted, #6B5242);
	text-align: center;
}
.donate-form__security svg {
	width: 14px;
	height: 14px;
	color: var(--olive, #6B7C4B);
}
.donate-form__security strong { color: var(--brown-dark, #2D1A0E); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
	.donate-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.donate-card {
		position: static;
	}
}

@media (max-width: 600px) {
	.donate-hero { padding: 56px 0 50px; }
	.donate-hero__icon { width: 60px; height: 60px; margin-bottom: 16px; }
	.donate-hero__icon svg { width: 28px; height: 28px; }
	.donate-body { padding: 40px 0 60px; }
	.donate-card { padding: 24px 20px; border-radius: 16px; }
	.donate-form__amounts { gap: 8px; }
	.donate-amount { padding: 14px 10px; }
	.donate-amount__value { font-size: 22px; }
	.donate-info__verse { padding: 16px 18px; }
}

/* ============================================================
   RESULT PAGES — success + cancel
   ============================================================ */
.y4c-donate-result {
	min-height: 70vh;
	display: flex;
	align-items: center;
	padding: 60px 0;
	background: var(--cream, #FDF8F0);
}
.donate-result__card {
	max-width: 640px;
	margin: 0 auto;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 18px 56px rgba(74, 44, 26, .14);
	border: 1px solid rgba(201, 168, 76, .2);
	padding: 50px 40px;
	text-align: center;
}
.donate-result__icon {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}
.donate-result__icon svg { width: 44px; height: 44px; }
.donate-result__icon--success {
	background: rgba(107, 124, 75, .15);
	color: var(--olive-dark, #4F5C37);
	border: 3px solid rgba(107, 124, 75, .35);
}
.donate-result__icon--cancel {
	background: rgba(180, 130, 60, .12);
	color: var(--brown, #4A2C1A);
	border: 3px solid rgba(180, 130, 60, .3);
}
.donate-result__title {
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	font-weight: 900;
	color: var(--brown-dark, #2D1A0E);
	margin-bottom: 8px;
	line-height: 1.2;
}
.donate-result__subtitle {
	color: var(--gold-dark, #A88830);
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 24px;
}
.donate-result__amount {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	background: rgba(201, 168, 76, .1);
	border: 1px solid rgba(201, 168, 76, .3);
	border-radius: 14px;
	padding: 14px 28px;
	margin-bottom: 24px;
}
.donate-result__amount-label {
	font-size: 11.5px;
	color: var(--text-muted, #6B5242);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 4px;
}
.donate-result__amount-value {
	font-size: 32px;
	font-weight: 900;
	color: var(--brown-dark, #2D1A0E);
}
.donate-result__message {
	font-size: 15px;
	color: var(--text-muted, #6B5242);
	line-height: 1.85;
	max-width: 480px;
	margin: 0 auto 18px;
}
.donate-result__receipt {
	font-size: 13.5px;
	color: var(--text-muted, #6B5242);
	margin-bottom: 22px;
}
.donate-result__verse {
	background: rgba(201, 168, 76, .07);
	border-right: 4px solid var(--gold, #C9A84C);
	border-radius: 12px;
	padding: 18px 22px;
	margin: 0 0 28px;
	font-style: italic;
	color: var(--brown-dark, #2D1A0E);
	font-size: 14.5px;
	line-height: 1.8;
	text-align: start;
}
.donate-result__verse cite {
	display: block;
	color: var(--gold-dark, #A88830);
	font-style: normal;
	font-weight: 700;
	font-size: 13px;
	margin-top: 6px;
}
.donate-result__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}
.donate-result__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 12px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: all .18s;
}
.donate-result__btn--primary {
	background: var(--gold, #C9A84C);
	color: #fff;
}
.donate-result__btn--primary:hover {
	background: var(--gold-dark, #A88830);
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(201, 168, 76, .35);
}
.donate-result__btn--ghost {
	background: transparent;
	color: var(--brown-dark, #2D1A0E);
	border: 2px solid rgba(201, 168, 76, .35);
}
.donate-result__btn--ghost:hover {
	background: rgba(201, 168, 76, .08);
	border-color: var(--gold, #C9A84C);
}

@media (max-width: 600px) {
	.donate-result__card { padding: 36px 22px; border-radius: 18px; }
	.donate-result__icon { width: 70px; height: 70px; }
	.donate-result__icon svg { width: 36px; height: 36px; }
}
