/* contributions-style.css */

/* Note: This CSS assumes that the donors-style.css is also loaded and contains the basic styles and variables */

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

.contributions-table th,
.contributions-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid hsl(var(--border));
}

.contributions-table th {
	font-size: 14px;
		    background: #f9f9f9;
  font-weight: 500;
	font-family: Cabin;
	text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.contributions-table tr:last-child td {
  border-bottom: 0px 
}

.contributions-table td {
  color: hsl(var(--foreground));
}

.donor-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.donor-image {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.donor-name {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.receiver-name {
font-weight: 500 !important;
    font-family: Cabin !important;
    font-size: 0.875rem !important;
    color: hsl(var(--muted-foreground)) !important;
}

.recipient-image {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

.amount {
  font-weight: 400;
  color: hsl(var(--primary));
}

@media (max-width: 640px) {
  .contributions-table {
    font-size: 0.875rem;
  }

  .contributions-table th,
  .contributions-table td {
    padding: 0.5rem;
  }

  .donor-image,
  .recipient-image {
    width: 1.5rem;
    height: 1.5rem;
  }

  .receiver-name {
    font-size: 0.75rem;
  }
}
