.header-img {
	display: none;
}

/* ── Test Mode Banner ────────────────────────────────────────────────────── */
.lovemb-test-banner {
	background: #fff3cd;
	border: 2px solid #ffc107;
	border-radius: 10px;
	padding: 14px 20px;
	margin: 0 auto 20px;
	max-width: 640px;
	text-align: center;
	font-size: .9rem;
	color: #856404;
	box-shadow: 0 8px 50px rgba(26,39,68,.5);
}

/* ── Page Intro ──────────────────────────────────────────────────────────── */
.donation-intro {
	margin-bottom: 36px;
	padding-bottom: 32px;
	border-bottom: 2px solid #f0f4f8;
	text-align: center;
}
.donation-title {
	font-size: 1.9rem;
	color: #1a2744;
	font-weight: 800;
	margin: 0 0 10px;
}
.donation-subtitle {
	color: #555;
	font-size: 1rem;
	margin: 0 0 20px;
	line-height: 1.6;
}
.donation-large-notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #f0f8ff;
	border: 1px solid #c8e0f0;
	border-left: 4px solid #1a6fa8;
	border-radius: 8px;
	padding: 14px 18px;
	text-align: left;
}
.donation-large-notice .notice-icon {
	font-size: 1.3rem;
	flex-shrink: 0;
	margin-top: 1px;
}
.donation-large-notice p {
	margin: 0;
	color: #1a2744;
	font-size: .92rem;
	line-height: 1.6;
}

/* ── Tax deductible note ─────────────────────────────────────────────────── */
.tax-deductible-note {
	margin: 18px 0 0;
	font-size: .88rem;
	color: #2d7a3a;
	font-weight: 600;
}

/* ── Page Layout ─────────────────────────────────────────────────────────── */
#lovemb-donation-page {
	min-height: 60vh;
	padding: 60px 20px;
	background: linear-gradient(160deg, #f0f6ff 0%, #fff 60%);
	background-image: url('../img/donate-background-2.jpg');
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: fixed;
	background-size: cover;
}

.lovemb-donation-container {
	max-width: 640px;
	margin: 0 auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 50px rgba(26,39,68,.5);
	padding: 48px 52px;
}

/* ── Section headings ────────────────────────────────────────────────────── */
.form-section {
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 2px solid #f0f4f8;
}
.form-section:last-of-type {
	border-bottom: none;
	margin-bottom: 24px;
}
.form-section h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.55rem;
	color: #1a2744;
	margin-bottom: 22px;
	font-weight: 700;
}
.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #1a6fa8;
	color: #fff;
	font-size: .85rem;
	font-weight: 700;
	flex-shrink: 0;
}

/* ── Campaign grid (2×2) ─────────────────────────────────────────────────── */
.campaign-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}
.campaign-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 22px 16px;
	border: 2px solid #e0e8f0;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	transition: border-color .2s, background .2s, transform .15s;
	font-size: 1.1rem;
	color: #1a2744;
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
}
.campaign-btn:hover {
	border-color: #1a6fa8;
	background: #f0f8ff;
	transform: translateY(-2px);
}
.campaign-btn.active {
	border-color: #1a6fa8;
	background: #e6f3fb;
}
.campaign-icon { font-size: 2rem; }

/* ── Amount presets ──────────────────────────────────────────────────────── */
.preset-amounts {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.amount-btn {
	flex: 1 1 70px;
	padding: 14px 10px;
	border: 2px solid #e0e8f0;
	border-radius: 10px;
	background: #fff;
	font-size: 1.05rem;
	font-weight: 700;
	color: #1a2744;
	cursor: pointer;
	transition: border-color .2s, background .2s, color .2s;
}
.amount-btn:hover,
.amount-btn.active {
	border-color: #e8923a;
	background: #fff8f2;
	color: #e8923a;
}

/* ── Custom amount ───────────────────────────────────────────────────────── */
.custom-amount-wrap {
	margin-bottom: 24px;
}
.custom-amount-wrap label {
	display: block;
	font-weight: 600;
	color: #555;
	margin-bottom: 8px;
	font-size: .88rem;
}
.custom-amount-input-wrap {
	display: flex;
	align-items: center;
	border: 2px solid #e0e8f0;
	border-radius: 10px;
	overflow: hidden;
	width: 200px;
	transition: border-color .2s;
}
.custom-amount-input-wrap:focus-within {
	border-color: #1a6fa8;
}
.custom-amount-input-wrap span {
	padding: 12px 14px;
	background: #f7fafc;
	color: #888;
	font-weight: 700;
	font-size: 1.1rem;
	border-right: 1px solid #e0e8f0;
}
.custom-amount-input-wrap input {
	border: none;
	outline: none;
	padding: 12px 14px;
	font-size: 1rem;
	width: 100%;
	color: #1a2744;
}

/* ── Frequency ───────────────────────────────────────────────────────────── */
.frequency-wrap {
	margin-top: 4px;
}
.frequency-wrap label {
	display: block;
	font-weight: 600;
	color: #555;
	margin-bottom: 10px;
	font-size: .88rem;
}
.frequency-btns {
	display: flex;
	gap: 10px;
}
.freq-btn {
	padding: 10px 20px;
	border: 2px solid #e0e8f0;
	border-radius: 8px;
	background: #fff;
	font-weight: 600;
	font-size: .9rem;
	color: #555;
	cursor: pointer;
	transition: all .2s;
}
.freq-btn.active {
	border-color: #1a2744;
	background: #1a2744;
	color: #fff;
}

/* ── Donor info ──────────────────────────────────────────────────────────── */
.form-row {
	margin-bottom: 16px;
}
.form-row label {
	display: block;
	font-weight: 600;
	color: #444;
	margin-bottom: 6px;
	font-size: .88rem;
}
.form-row input {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid #e0e8f0;
	border-radius: 8px;
	font-size: 1rem;
	color: #1a2744;
	outline: none;
	transition: border-color .2s;
	box-sizing: border-box;
}
.form-row input:focus {
	border-color: #1a6fa8;
}

/* ── Required field indicator ────────────────────────────────────────────── */
.required-star {
	color: #c0392b;
	font-weight: 700;
	margin-left: 2px;
}
.required-note {
	margin: 12px 0 0;
	font-size: .8rem;
	color: #888;
}

/* ── Inline form row (city / state / zip) ────────────────────────────────── */
.form-row-inline {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 12px;
}
.form-row-inline .form-row {
	margin-bottom: 0;
}

@media (max-width: 480px) {
	.form-row-inline {
		grid-template-columns: 1fr 1fr;
	}
	.form-row-inline .form-row:first-child {
		grid-column: 1 / -1;
	}
}

/* ── Payment method tabs ─────────────────────────────────────────────────── */
.payment-method-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 16px;
}
.tab-btn {
	flex: 1;
	padding: 10px;
	border: 2px solid #e0e8f0;
	border-radius: 8px;
	background: #fff;
	font-weight: 600;
	font-size: .88rem;
	color: #555;
	cursor: pointer;
	transition: all .2s;
}
.tab-btn.active {
	border-color: #1a6fa8;
	background: #e6f3fb;
	color: #1a6fa8;
}

/* ── Stripe elements ─────────────────────────────────────────────────────── */
.stripe-element {
	padding: 14px;
	border: 2px solid #e0e8f0;
	border-radius: 8px;
	background: #fff;
	transition: border-color .2s;
}
.stripe-element:focus-within {
	border-color: #1a6fa8;
}
.stripe-errors {
	color: #c0392b;
	font-size: .88rem;
	margin-top: 8px;
	min-height: 20px;
}

/* ── Apple/Google Pay ────────────────────────────────────────────────────── */
#payment-request-button-wrap {
	margin-bottom: 20px;
}
.divider {
	text-align: center;
	position: relative;
	margin: 16px 0;
	color: #aaa;
	font-size: .85rem;
}
.divider::before,
.divider::after {
	content: '';
	position: absolute;
	top: 50%;
	width: 38%;
	height: 1px;
	background: #e0e8f0;
}
.divider::before { left: 0; }
.divider::after  { right: 0; }

/* ── ACH note ────────────────────────────────────────────────────────────── */
.ach-note {
	color: #666;
	font-size: .9rem;
	margin-bottom: 12px;
	background: #fffbf0;
	border: 1px solid #ffe0a0;
	border-radius: 8px;
	padding: 12px;
}

/* ── Validation errors ───────────────────────────────────────────────────── */
.field-error {
	color: #c0392b;
	font-size: .88rem;
	margin-top: 8px;
	font-weight: 600;
}

/* ── Fee Coverage ────────────────────────────────────────────────────────── */
.fee-coverage-wrap {
	margin-bottom: 20px;
	animation: fadeSlideIn .25s ease;
}
.fee-coverage-label {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: #f9fdf9;
	border: 2px solid #c3e6cb;
	border-radius: 10px;
	padding: 16px 18px;
	cursor: pointer;
	transition: border-color .2s, background .2s;
}
.fee-coverage-label:hover {
	border-color: #2d7a3a;
	background: #f0faf0;
}
.fee-coverage-label input[type="checkbox"] {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	accent-color: #2d7a3a;
	cursor: pointer;
}
.fee-coverage-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: .9rem;
	color: #1a2744;
	line-height: 1.4;
}
.fee-coverage-text strong {
	font-size: .95rem;
}
.fee-coverage-text p {
	margin: 0;
	color: #555;
	font-size: .85rem;
}
#fee-coverage-amount {
	font-size: .85rem;
	color: #2d7a3a;
	font-weight: 600;
}

/* ── Summary bar ─────────────────────────────────────────────────────────── */
.donation-summary-bar {
	background: #f0f8ff;
	border: 2px solid #c8e0f0;
	border-radius: 10px;
	padding: 14px 20px;
	margin-bottom: 20px;
	color: #1a2744;
	font-size: .95rem;
	animation: fadeSlideIn .25s ease;
	line-height: 1.7;
	text-align: center;
}
#summary-text .summary-donation-fund {
	font-size: 1.1rem;
}

/* ── Submit button ───────────────────────────────────────────────────────── */
.btn-donate {
	width: 100%;
	padding: 18px;
	background: linear-gradient(135deg, #e8923a, #d4751e);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 1.15rem;
	font-weight: 700;
	cursor: pointer;
	transition: opacity .2s, transform .15s;
	letter-spacing: .02em;
}
.btn-donate:hover {
	opacity: .92;
	transform: translateY(-1px);
}
.btn-donate:disabled {
	opacity: .6;
	cursor: not-allowed;
	transform: none;
}

.secure-note {
	text-align: center;
	color: #aaa;
	font-size: .8rem;
	margin-top: 12px;
	margin-bottom: 0;
}

/* ── Primary button (success page) ──────────────────────────────────────── */
.btn-primary {
	display: inline-block;
	padding: 14px 32px;
	background: #1a6fa8;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	transition: background .2s, transform .15s;
}
.btn-primary:hover {
	background: #15598a;
	transform: translateY(-1px);
}

/* ── Success screen ──────────────────────────────────────────────────────── */
#step-success {
	text-align: center;
	padding: 30px 0;
}
.success-icon {
	font-size: 4rem;
	margin-bottom: 35px;
}
#success-message {
	color: #555;
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 28px;
}

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes fadeSlideIn {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
	.lovemb-donation-container {
		padding: 32px 24px;
	}
	.campaign-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.frequency-btns {
		flex-wrap: wrap;
	}
	.freq-btn {
		flex: 1 1 auto;
	}
}