/* Project Image Styling */
.post-image {
  max-width: 750px;
  margin: 20px auto;
}

.post-image img {
  width: 100%;
  height: auto !important;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  object-fit: contain;
  display: block;
}

/* Donation Card Styling */
.donation-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  margin: 40px 0;
  padding: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.donation-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  color: #405556;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.donation-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #405556;
}

.donation-body {
  padding: 30px;
}

.donation-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.donation-details {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
}

.donation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.donation-row:last-child {
  border-bottom: none;
}

.donation-label {
  font-weight: 600;
  color: #405556;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
}

.donation-label i {
  font-size: 18px;
  color: #405556;
}

.donation-value {
  flex: 1;
  text-align: right;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.iban-number {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 15px;
}

.copy-btn {
  background: #405556;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}

.copy-btn:hover {
  background: #2d3d3e;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.copy-btn.copied {
  background: #28a745;
}

.copy-btn i {
  font-size: 14px;
}

.donation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
}

.donation-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.donation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.donation-btn i {
  font-size: 20px;
}

.qr-code-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.qr-code {
  width: 150px;
  height: 150px;
  border: 3px solid #405556;
  border-radius: 8px;
  padding: 10px;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.qr-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .donation-card {
    margin: 20px -15px;
  }

  .donation-header {
    padding: 15px 20px;
  }

  .donation-header h3 {
    font-size: 20px;
  }

  .donation-body {
    padding: 20px;
  }

  .donation-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .donation-value {
    justify-content: flex-start;
    width: 100%;
  }

  .iban-number {
    font-size: 13px;
  }

  .donation-actions {
    flex-direction: column;
  }

  .donation-btn {
    width: 100%;
    justify-content: center;
  }
}
