/**
 * Donations List Block Styles
 */

.donations-list-block {
	margin: 40px 0;
	padding: 30px 0;
}

.donations-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Donation Item */
.donation-item {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	padding: 20px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donation-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Header */
.donation-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--ambh-border-color, #e0e0e0);
}

.donor-name {
	font-size: 18px;
	font-weight: 600;
	color: var(--ambh-text-color, #1e1e1e);
}

.child-fundraiser-organiser {
	font-size: 14px;
	font-weight: 400;
	color: var(--ambh-text-muted, #646970);
	font-style: italic;
}



.donation-date {
	font-size: 14px;
	color: var(--ambh-text-muted, #646970);
}

/* Message */
.donation-message {
	font-size: 15px;
	line-height: 1.6;
	color: var(--ambh-text-color, #1e1e1e);
	margin-bottom: 12px;
	padding: 12px;
	background: color-mix(in srgb, var(--ambh-color-primary) 8%, transparent);
	border-left: 3px solid var(--ambh-color-primary, #3498db);
	border-radius: 4px;
	font-style: italic;
}

/* Amount */
.donation-amount {
	font-size: 20px;
	font-weight: 700;
	color: var(--ambh-color-secondary, #27ae60);
	text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
	.donations-list-block {
		padding: 20px 0;
	}
	
	.donation-item {
		padding: 16px;
	}
	
	.donation-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	
	.donor-name {
		font-size: 16px;
	}
	
	.donation-date {
		font-size: 13px;
	}
	
	.donation-message {
		font-size: 14px;
	}
	
	.donation-amount {
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.donations-list {
		gap: 15px;
	}
	
	.donation-item {
		padding: 14px;
	}
	
	.donor-name {
		font-size: 15px;
	}
	
	.donation-amount {
		font-size: 16px;
	}
}
