.donation-campaign-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	background: #fff;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.donation-thank-you-message {
	margin-bottom: 30px;
	padding: 30px;
	background: linear-gradient(135deg, #2271b1 0%, #1e5a8e 100%);
	border-radius: 8px;
	text-align: center;
	color: #fff;
	box-shadow: 0 4px 15px rgba(34, 113, 177, 0.3);
}

.thank-you-content {
	max-width: 600px;
	margin: 0 auto;
}

.thank-you-icon {
	font-size: 64px;
	font-weight: bold;
	color: #fff;
	margin-bottom: 15px;
	line-height: 1;
}

.thank-you-title {
	font-size: 32px;
	font-weight: 600;
	margin-bottom: 15px;
	color: #fff;
}

.thank-you-text {
	font-size: 18px;
	line-height: 1.6;
	color: #fff;
	opacity: 0.95;
}

.thank-you-text p {
	margin: 0 0 10px 0;
}

.thank-you-text p:last-child {
	margin-bottom: 0;
}

.donation-campaign-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.donation-campaign-left {
	position: sticky;
	top: 20px;
}

.donation-campaign-right {
	min-width: 0;
}

.donation-campaign-image {
	margin-bottom: 20px;
	text-align: center;
}

.donation-campaign-image img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.donation-campaign-title {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 15px;
	color: #333;
}

.donation-campaign-form h4 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #333;
}

.donation-campaign-description {
	margin-bottom: 25px;
	color: #666;
	line-height: 1.6;
}

.donation-campaign-description p {
	margin-bottom: 1em;
}

.donation-campaign-description p:last-child {
	margin-bottom: 0;
}

.donation-campaign-progress {
	margin-bottom: 30px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
	display: none;
}

.progress-info {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 600;
}

.current-amount {
	color: #2271b1;
}

.target-amount {
	color: #666;
}

.progress-bar {
	width: 100%;
	height: 30px;
	background: #e0e0e0;
	border-radius: 15px;
	overflow: hidden;
	margin-bottom: 10px;
	position: relative;
}

.progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #2271b1 0%, #1e5a8e 100%);
	transition: width 0.3s ease;
	border-radius: 15px;
}

.progress-percentage {
	text-align: center;
	font-size: 14px;
	color: #666;
	font-weight: 500;
}

.donation-campaign-form {
	margin-top: 30px;
}

.donation-campaign-form h3 {
	font-size: 22px;
	margin-bottom: 10px;
	color: #333;
}

.donation-subtitle {
	color: #666;
	margin-bottom: 25px;
	font-size: 14px;
}

.donation-amount-section {
	margin-bottom: 25px;
}

.donation-amount-section label {
	display: block;
	font-weight: 600;
	margin-bottom: 10px;
	color: #333;
}

.required {
	color: #d63638;
}

.donation-amount-buttons {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 15px;
}

.amount-btn {
	padding: 12px 20px;
	border: 2px solid #e0e0e0;
	background: #fff;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	transition: all 0.3s ease;
}

.amount-btn:hover {
	background: #2271b1;
	color: #fff;
	border-color: #2271b1;
}

.amount-btn.active {
	background: #2271b1;
	color: #fff;
	border-color: #2271b1;
}

.custom-amount-section {
	margin-top: 15px;
}

.custom-amount-section input {
	width: 100%;
	padding: 12px;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-size: 14px;
	transition: border-color 0.3s ease;
}

.custom-amount-section input:focus {
	outline: none;
	border-color: #2271b1;
}

.donation-purpose-section {
	margin-bottom: 25px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.donation-purpose-section label {
	display: block;
	font-weight: 600;
	margin-bottom: 15px;
	color: #333;
}

.donation-purpose-options-frontend {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.purpose-option {
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 12px;
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.purpose-option:hover {
	border-color: #2271b1;
	background: #f0f7ff;
}

.purpose-option input[type="radio"] {
	margin-right: 12px;
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.purpose-option input[type="radio"]:checked + .purpose-label {
	color: #2271b1;
	font-weight: 600;
}

.purpose-option:has(input[type="radio"]:checked) {
	border-color: #2271b1;
	background: #f0f7ff;
}

.purpose-label {
	flex: 1;
	font-size: 15px;
	color: #333;
	cursor: pointer;
}

.donor-info-section {
	margin-bottom: 25px;
}

.form-row {
	margin-bottom: 20px;
}

.form-row label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #333;
}

.form-row input {
	width: 100%;
	padding: 12px;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-size: 14px;
	transition: border-color 0.3s ease;
}

.form-row input:focus {
	outline: none;
	border-color: #2271b1;
}

.donation-submit-section {
	text-align: center;
}

.donate-button {
	background: #2271b1;
	color: #fff;
	padding: 15px 40px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.donate-button:hover {
	background: #1e5a8e;
}

.donate-button:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.arrow {
	font-size: 18px;
}

.secure-notice {
	margin-top: 15px;
	font-size: 12px;
	color: #28a745;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.lock-icon {
	font-size: 14px;
}

.donation-messages {
	margin-top: 15px;
	padding: 12px;
	border-radius: 6px;
	display: none;
}

.donation-messages.success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	display: block;
}

.donation-messages.error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	display: block;
}

/* Stats Page Styles */
.donation-campaign-stats-wrapper {
	max-width: 1600px;
	width: 100%;
	margin: 0 auto;
	background: #fff;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.donation-stats-header {
	margin-bottom: 30px;
	text-align: center;
}

.stats-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #333;
}

.stats-campaign-image {
	margin-bottom: 20px;
}

.stats-campaign-image img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	max-height: 300px;
	object-fit: cover;
}

.donation-stats-container-frontend {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}

.stats-box-frontend {
	background: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 25px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats-box-frontend:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stats-box-frontend h5 {
	margin: 0 0 15px 0;
	font-size: 14px;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 500;
}

.stats-box-frontend .stats-number {
	font-size: 36px;
	font-weight: 700;
	color: #2271b1;
	margin: 0;
	line-height: 1.2;
}

.donation-progress-section {
	margin-bottom: 40px;
	padding: 25px;
	background: #f8f9fa;
	border-radius: 8px;
}

.progress-info-frontend {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: 600;
}

.progress-info-frontend .current-amount {
	color: #2271b1;
}

.progress-info-frontend .target-amount {
	color: #666;
}

.progress-bar-frontend {
	width: 100%;
	height: 35px;
	background: #e0e0e0;
	border-radius: 18px;
	overflow: hidden;
	margin-bottom: 10px;
	position: relative;
}

.progress-fill-frontend {
	height: 100%;
	background: linear-gradient(90deg, #2271b1 0%, #1e5a8e 100%);
	transition: width 0.3s ease;
	border-radius: 18px;
}

.progress-percentage-frontend {
	text-align: center;
	font-size: 16px;
	color: #666;
	font-weight: 600;
}

.donors-section {
	margin-top: 40px;
}

.donors-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #333;
}

.donors-table-wrapper {
	overflow-x: visible;
	width: 100%;
}

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

.donors-table thead {
	background: #f8f9fa;
}

.donors-table th {
	padding: 12px;
	text-align: left;
	font-weight: 600;
	color: #333;
	border-bottom: 2px solid #e0e0e0;
}

.donors-table td {
	padding: 12px;
	border-bottom: 1px solid #e0e0e0;
}

.donors-table tbody tr:hover {
	background: #f8f9fa;
}

.status-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.status-badge.status-paid {
	background: #d4edda;
	color: #155724;
}

.status-badge.status-pending {
	background: #fff3cd;
	color: #856404;
}

.status-badge.status-failed {
	background: #f8d7da;
	color: #721c24;
}

.no-donations {
	text-align: center;
	padding: 40px;
	color: #666;
	font-size: 16px;
}

/* Responsive */
@media (max-width: 968px) {
	.donation-campaign-layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	
	.donation-campaign-left {
		position: static;
	}
}

@media (max-width: 768px) {
	.donation-campaign-wrapper {
		padding: 20px;
	}
	
	.donation-amount-buttons {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.donation-campaign-title {
		font-size: 24px;
	}
	
	.donation-campaign-stats-wrapper {
		padding: 20px;
		max-width: 100%;
	}
	
	.donation-stats-container-frontend {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
	
	.stats-title {
		font-size: 24px;
	}
	
	.stats-box-frontend .stats-number {
		font-size: 28px;
	}
	
	.donors-table-wrapper {
		overflow-x: auto;
	}
}

@media (max-width: 480px) {
	.donation-stats-container-frontend {
		grid-template-columns: 1fr;
	}
}

