:root {
	--hd-primary: #2e3f6a;
	--hd-primary-hover: #1d2c4e;
	--hd-secondary: #f3f4f6;
	--hd-secondary-hover: #e5e7eb;
	--hd-accent: #f59e0b;
	--hd-success: #10b981;
	--hd-error: #ef4444;
	--hd-text: #1f2937;
	--hd-text-muted: #6b7280;
	--hd-bg: #ffffff;
	--hd-card-bg: #f9fafb;
	--hd-border: #e5e7eb;
	--hd-radius: 12px;
	--hd-radius-sm: 8px;
	--hd-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
	--hd-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
	--hd-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--hd-gradient: linear-gradient(135deg, #2e3f6a 0%, #4a5d8c 100%);
	--hd-font: 'Kumbh Sans', sans-serif;
}

/* Base Form Styling */
.hello-donations-wizard-wrapper {
	font-family: var(--hd-font);
	color: var(--hd-text);
	background: var(--hd-bg);
	border: 1px solid var(--hd-border);
	border-radius: var(--hd-radius);
	padding: 30px;
	box-shadow: var(--hd-shadow-lg);
	max-width: 800px;
	margin: 20px auto;
}

/* Steps Navigation */
.hello-donations-steps-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 35px;
	border-bottom: 2px solid var(--hd-secondary);
	padding-bottom: 15px;
}

.step-nav-item {
	font-weight: 600;
	font-size: 15px;
	color: var(--hd-text-muted);
	display: flex;
	align-items: center;
	gap: 8px;
	position: relative;
	padding-bottom: 15px;
	margin-bottom: -17px;
	transition: var(--hd-transition);
}

.step-nav-item.active {
	color: var(--hd-primary);
	border-bottom: 2px solid var(--hd-primary);
}

.step-nav-item.done {
	color: var(--hd-success);
}

.step-nav-item .step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--hd-secondary);
	color: var(--hd-text-muted);
	font-size: 12px;
	font-weight: 700;
	transition: var(--hd-transition);
}

.step-nav-item.active .step-num {
	background: var(--hd-primary);
	color: #ffffff;
}

.step-nav-item.done .step-num {
	background: var(--hd-success);
	color: #ffffff;
}

/* Presets Grid */
.hello-donations-section {
	margin-bottom: 25px;
}

.hello-donations-section h3 {
	font-size: 18px;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 15px;
	color: var(--hd-text);
}

.hello-donations-presets-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.hello-donation-preset-card {
	background: var(--hd-card-bg);
	border: 2px solid var(--hd-border);
	border-radius: var(--hd-radius-sm);
	padding: 16px;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	color: var(--hd-text);
	transition: var(--hd-transition);
	user-select: none;
}

.hello-donation-preset-card:hover {
	border-color: var(--hd-primary);
	background: #f5f3ff;
}

.hello-donation-preset-card.selected {
	background: var(--hd-primary);
	border-color: var(--hd-primary);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(46, 63, 106, 0.2);
}

.hello-donation-preset-custom {
	display: flex;
	align-items: center;
	background: var(--hd-card-bg);
	border: 2px solid var(--hd-border);
	border-radius: var(--hd-radius-sm);
	padding: 0 12px;
	transition: var(--hd-transition);
}

.hello-donation-preset-custom:hover {
	border-color: var(--hd-primary);
}

.hello-donation-preset-custom.active {
	border-color: var(--hd-primary);
	background: #ffffff;
	box-shadow: 0 4px 12px rgba(46, 63, 106, 0.1);
}

.hello-donation-preset-custom .custom-amount-symbol {
	font-size: 18px;
	font-weight: 700;
	color: var(--hd-text-muted);
	margin-right: 4px;
}

.hello-donation-preset-custom input {
	border: none !important;
	background: transparent !important;
	padding: 16px 0 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: var(--hd-text) !important;
	width: 100% !important;
	box-shadow: none !important;
	outline: none !important;
}

/* Fields Form Columns */
.hello-donations-form-row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -10px;
	margin-right: -10px;
	margin-bottom: 18px;
}

.hello-donations-field-col {
	padding-left: 10px;
	padding-right: 10px;
	box-sizing: border-box;
}

.hello-donations-field-col.col-6 {
	width: 50%;
}

.hello-donations-field-col.col-12 {
	width: 100%;
}

.hello-donations-field-col.col-3 {
	width: 25%;
}

.hello-donations-field-col label {
	display: block;
	font-size: 15px;
	color: var(--hd-text-muted);
	padding-bottom: 8px;
	font-family: var(--hd-font);
	font-weight: 500;
}

.hello-donations-field-col label .req {
	color: var(--hd-error);
}

.hello-donations-field-col input[type="text"],
.hello-donations-field-col input[type="email"],
.hello-donations-field-col input[type="url"],
.hello-donations-field-col select,
.hello-donations-field-col textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 16px;
	color: var(--hd-text);
	border: 1px solid #D3D3D3;
	border-radius: 10px;
	background-color: #ffffff;
	box-sizing: border-box;
	transition: var(--hd-transition);
	font-family: var(--hd-font);
	font-weight: 500;
}

.hello-donations-field-col input[type="text"]:focus,
.hello-donations-field-col input[type="email"]:focus,
.hello-donations-field-col input[type="url"]:focus,
.hello-donations-field-col select:focus,
.hello-donations-field-col textarea:focus {
	border-color: var(--hd-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(46, 63, 106, 0.15);
}

.hello-donations-field-col textarea {
	resize: vertical;
}

/* Radio Card Groups */
.hello-donations-radio-selector-group {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin-top: 5px;
}

.hello-donations-radio-selector-group .radio-card {
	display: block !important;
	background: var(--hd-card-bg);
	border: 2px solid var(--hd-border);
	border-radius: var(--hd-radius-sm);
	padding: 16px;
	cursor: pointer;
	position: relative;
	transition: var(--hd-transition);
}

.hello-donations-radio-selector-group .radio-card input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.hello-donations-radio-selector-group .radio-card .pay-title {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: var(--hd-text);
	margin-bottom: 4px;
}

.hello-donations-radio-selector-group .radio-card .pay-desc {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: var(--hd-text-muted);
	line-height: 1.4;
}

.hello-donations-radio-selector-group .radio-card.checked {
	border-color: var(--hd-primary);
	background: #f5f3ff;
}

.hello-donations-radio-selector-group .radio-card.checked::after {
	content: "✓";
	position: absolute;
	top: 10px;
	right: 14px;
	background: var(--hd-primary);
	color: #ffffff;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 700;
}

/* Checkboxes Custom */
.checkbox-container {
	display: flex !important;
	align-items: center;
	position: relative;
	padding-left: 28px;
	cursor: pointer;
	font-size: 13px !important;
	font-weight: 600;
	color: var(--hd-text-muted) !important;
	user-select: none;
}

.checkbox-container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.checkbox-checkmark {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	height: 18px;
	width: 18px;
	background-color: var(--hd-secondary);
	border: 1px solid var(--hd-border);
	border-radius: 4px;
	transition: var(--hd-transition);
}

.checkbox-container:hover input ~ .checkbox-checkmark {
	border-color: var(--hd-primary);
}

.checkbox-container input:checked ~ .checkbox-checkmark {
	background-color: var(--hd-primary);
	border-color: var(--hd-primary);
}

.checkbox-checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.checkbox-container input:checked ~ .checkbox-checkmark:after {
	display: block;
}

.checkbox-container .checkbox-checkmark:after {
	left: 6px;
	top: 2px;
	width: 4px;
	height: 8px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* Button UI */
.hello-donations-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--e-global-color-accent, var(--hd-gradient));
	background-color: var(--e-global-color-accent);
	color: #ffffff !important;
	border: none;
	border-radius: var(--hd-radius-sm);
	padding: 14px 28px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	transition: var(--hd-transition);
	box-shadow: 0 4px 10px rgba(46, 63, 106, 0.2);
}

.hello-donations-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(46, 63, 106, 0.35);
	opacity: 0.95;
}

.hello-donations-button:not(.secondary) {
	background: var(--e-global-color-accent, var(--hd-gradient)) !important;
	background-color: var(--e-global-color-accent) !important;
}

.hello-donations-button.secondary {
	background: var(--hd-secondary);
	color: var(--hd-text) !important;
	box-shadow: none;
}

.hello-donations-button.secondary:hover {
	background: var(--hd-secondary-hover);
}

.hello-donations-button.large {
	padding: 16px 36px;
	font-size: 16px;
}

.hello-donations-form-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 25px;
	border-top: 1px solid var(--hd-border);
	padding-top: 20px;
}

.hello-donations-confirm-actions {
	display: flex;
	gap: 15px;
	justify-content: flex-end;
	margin-top: 25px;
	border-top: 1px solid var(--hd-border);
	padding-top: 20px;
}

/* Confirmation Page */
.hello-donations-confirm-details h3 {
	font-size: 20px;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 20px;
}

.hello-donations-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 25px;
}

.hello-donations-table td {
	padding: 12px 15px;
	border-bottom: 1px solid var(--hd-border);
	font-size: 15px;
}

.hello-donations-table td:first-child {
	width: 35%;
	color: var(--hd-text-muted);
}

.hello-donations-table .confirm-amount {
	font-size: 20px;
	font-weight: 800;
	color: var(--hd-primary);
}

/* Success Card */
.hello-donations-success-card {
	text-align: center;
	padding: 20px 10px;
}

.hello-donations-success-card .success-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--hd-success);
	color: #ffffff;
	font-size: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.hello-donations-success-card h2 {
	font-size: 24px;
	font-weight: 800;
	margin-top: 0;
	margin-bottom: 10px;
}

.hello-donations-success-card p {
	font-size: 15px;
	color: var(--hd-text-muted);
	line-height: 1.6;
	max-width: 500px;
	margin: 0 auto 25px auto;
}

.hello-donations-offline-instructions {
	background: var(--hd-card-bg);
	border: 1px dashed var(--hd-border);
	border-radius: var(--hd-radius-sm);
	padding: 20px;
	text-align: left;
	max-width: 500px;
	margin: 20px auto;
}

.hello-donations-offline-instructions h4 {
	font-size: 16px;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 10px;
	color: var(--hd-text);
}

.hello-donations-offline-instructions .instructions-content p {
	margin-bottom: 10px;
	font-size: 14px;
}

/* Alerts and Redirect Box */
.hello-donations-alert {
	padding: 12px 18px;
	border-radius: var(--hd-radius-sm);
	margin-bottom: 20px;
	font-size: 14px;
	font-weight: 600;
}

.hello-donations-alert.error {
	background: #fef2f2;
	color: var(--hd-error);
	border: 1px solid #fee2e2;
}

.hello-donations-redirect-msg {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-size: 16px;
	font-weight: 600;
	color: var(--hd-text-muted);
	padding: 40px 0;
}

.hello-donations-spinner {
	width: 24px;
	height: 24px;
	border: 3px solid var(--hd-secondary);
	border-top: 3px solid var(--hd-primary);
	border-radius: 50%;
	animation: hd_spin 1s linear infinite;
}

@keyframes hd_spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Donors List */
.hello-donations-list-wrapper {
	display: flex;
	flex-direction: column;
	gap: 15px;
	max-width: 600px;
	margin: 20px 0;
}

.hello-donations-list-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 12px;
	background: var(--hd-card-bg);
	border: 1px solid var(--hd-border);
	border-radius: var(--hd-radius-sm);
}

.hello-donor-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--hd-secondary);
	color: var(--hd-text-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	flex-shrink: 0;
}

.hello-donor-avatar.anon {
	background: #e5e7eb;
	font-size: 20px;
}

.donor-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.donor-name {
	font-size: 15px;
	font-weight: 700;
	color: var(--hd-text);
}

.donation-meta {
	font-size: 13px;
	color: var(--hd-text-muted);
}

.donation-date {
	font-size: 11px;
	color: var(--hd-text-muted);
}

/* Campaigns Grid */
.hello-campaigns-grid {
	display: grid;
	gap: 25px;
	margin: 20px 0;
}

.hello-campaigns-grid.cols-3 {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.hello-campaigns-grid.cols-2 {
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.hello-campaigns-grid.cols-4 {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.hello-campaigns-grid.cols-1 {
	grid-template-columns: 1fr;
}

.hello-campaign-card {
	background: var(--hd-bg);
	border: 1px solid var(--hd-border);
	border-radius: var(--hd-radius);
	overflow: hidden;
	box-shadow: var(--hd-shadow);
	transition: var(--hd-transition);
	display: flex;
	flex-direction: column;
}

.hello-campaign-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--hd-shadow-lg);
}

.campaign-card-thumb {
	width: 100%;
	height: 180px;
	overflow: hidden;
}

.campaign-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--hd-transition);
}

.hello-campaign-card:hover .campaign-card-thumb img {
	transform: scale(1.05);
}

.campaign-card-content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.campaign-card-content h4 {
	font-size: 18px;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 10px;
}

.campaign-card-content h4 a {
	color: var(--hd-text);
	text-decoration: none;
}

.campaign-card-content h4 a:hover {
	color: var(--hd-primary);
}

.campaign-excerpt {
	font-size: 14px;
	color: var(--hd-text-muted);
	line-height: 1.5;
	margin-bottom: 20px;
	flex-grow: 1;
}

/* Progress bar inside cards */
.hello-donations-progress-wrap {
	margin-bottom: 20px;
}

.progress-bar-bg {
	width: 100%;
	height: 8px;
	background: var(--hd-secondary);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 8px;
}

.progress-bar-fill {
	height: 100%;
	border-radius: 4px;
	background: var(--hd-gradient);
	width: 0%;
	transition: width 1.2s cubic-bezier(0.1, 0.8, 0.25, 1);
}

.progress-stats {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: var(--hd-text-muted);
	margin-bottom: 4px;
}

.progress-stats .raised strong {
	color: var(--hd-text);
}

.progress-stats .percent {
	font-weight: 700;
	color: var(--hd-primary);
}

.progress-goal {
	font-size: 11px;
	color: var(--hd-text-muted);
}

.campaign-card-actions {
	border-top: 1px solid var(--hd-border);
	padding-top: 15px;
	margin-top: auto;
}

.campaign-card-actions .card-btn {
	width: 100%;
}

/* Featured Campaign Card (Large render) */
.hello-featured-campaign-wrapper {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	background: var(--hd-card-bg);
	border: 1px solid var(--hd-border);
	border-radius: var(--hd-radius);
	overflow: hidden;
	box-shadow: var(--hd-shadow-lg);
	max-width: 900px;
	margin: 25px auto;
}

.featured-campaign-image {
	width: 100%;
	height: 100%;
	min-height: 300px;
}

.featured-campaign-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.featured-campaign-body {
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.featured-campaign-body h2 {
	font-size: 26px;
	font-weight: 800;
	margin-top: 0;
	margin-bottom: 15px;
}

.featured-campaign-body h2 a {
	color: var(--hd-text);
	text-decoration: none;
}

.featured-campaign-body h2 a:hover {
	color: var(--hd-primary);
}

.featured-excerpt {
	font-size: 15px;
	color: var(--hd-text-muted);
	line-height: 1.6;
	margin-bottom: 25px;
}

.hello-donations-progress-wrap.featured-progress .progress-bar-bg {
	height: 12px;
	border-radius: 6px;
}

.hello-donations-progress-wrap.featured-progress .progress-bar-fill {
	border-radius: 6px;
}

.hello-donations-progress-wrap.featured-progress .progress-stats {
	font-size: 14px;
	margin-top: 8px;
}

.hello-donations-progress-wrap.featured-progress .progress-stats .percent {
	font-size: 16px;
}

.featured-actions {
	margin-top: 15px;
}

/* Responsive details */
@media (max-width: 768px) {
	.hello-featured-campaign-wrapper {
		grid-template-columns: 1fr;
	}
	.featured-campaign-image {
		height: 220px;
		min-height: auto;
	}
	.featured-campaign-body {
		padding: 25px;
	}
	.hello-donations-wizard-wrapper {
		padding: 20px;
	}
	.hello-donations-field-col.col-6,
	.hello-donations-field-col.col-3 {
		width: 100%;
		margin-bottom: 10px;
	}
	.hello-donations-form-row {
		margin-bottom: 0;
	}
	.step-nav-item {
		font-size: 12px;
	}
}

/* ==========================================
   Single Post Views (Donation & Campaign)
   ========================================== */

/* Single Donation Detail View */
.hello-single-donation-card {
	font-family: var(--hd-font);
	background: #ffffff;
	border: 1px solid var(--hd-border);
	border-radius: var(--hd-radius);
	box-shadow: var(--hd-shadow);
	padding: 40px;
	max-width: 700px;
	margin: 30px auto;
}

.hello-single-donation-header {
	display: flex;
	align-items: baseline;
	gap: 15px;
	border-bottom: 2px solid var(--hd-secondary);
	padding-bottom: 20px;
	margin-bottom: 25px;
}

.hello-single-amount {
	font-size: 38px;
	font-weight: 800;
	color: var(--hd-text);
	letter-spacing: -0.5px;
}

.hello-single-recurrence {
	font-size: 18px;
	font-weight: 600;
	color: var(--hd-text-muted);
}

.hello-single-donation-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 25px;
}

.hello-single-donation-table th {
	text-align: left;
	padding: 12px 0;
	font-weight: 600;
	color: var(--hd-text-muted);
	border-bottom: 1px solid #f1f5f9;
	width: 35%;
}

.hello-single-donation-table td {
	padding: 12px 0;
	font-weight: 500;
	color: var(--hd-text);
	border-bottom: 1px solid #f1f5f9;
}

.hello-donation-anonymous-notice {
	background: #f8fafc;
	border: 1px solid var(--hd-border);
	padding: 15px;
	border-radius: var(--hd-radius-sm);
	color: var(--hd-text-muted);
	text-align: center;
}

.hello-single-donation-message {
	margin-top: 25px;
	border-top: 1px solid var(--hd-border);
	padding-top: 20px;
}

.hello-single-donation-message h4 {
	font-size: 15px;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 10px;
	color: var(--hd-text-muted);
}

.hello-single-donation-message blockquote {
	border-left: 4px solid var(--hd-primary);
	padding: 2px 0 2px 20px;
	margin: 0;
	font-style: italic;
	color: var(--hd-text);
}

/* Single Campaign Append Box */
.hello-single-campaign-meta-box {
	font-family: var(--hd-font);
	background: var(--hd-card-bg);
	border: 1px solid var(--hd-border);
	border-radius: var(--hd-radius);
	padding: 30px;
	margin: 30px 0;
	box-shadow: var(--hd-shadow);
}

.hello-single-campaign-meta-box h3 {
	font-size: 20px;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 20px;
	color: var(--hd-text);
}

