:root {
  --primary: #2e9e5b;        /* Fresh Light Green */
  --primary-light: #48bb78;  
  --text: #222b25;           
  --muted: #6e7f78;          
  --line: #e2f5e8;           /* Soft light green tinted border */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 36px 20px 56px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f4fbf6;       /* Very soft light green-ivory background */
  color: var(--text);
}

.container {
  width: 100%;
  max-width: 720px;
  margin: auto;
  display: grid;
  gap: 36px;
}

.card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(46, 158, 91, 0.05);
  padding: 40px 32px 36px;
  border-top: 5px solid var(--primary);
}

.profile-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 22px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(46, 158, 91, 0.1);
  border-radius: 50%;
  border: 3px solid #f4fbf6;
}

.profile-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1, h2 {
  text-align: center;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  color: var(--text);
  font-size: 34px;
  margin-bottom: 12px;
}

h2 {
  color: var(--text);
  font-size: 22px;
  margin-bottom: 20px;
}

p.desc {
  max-width: 690px;
  margin: 0 auto 36px;
  text-align: center;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 30px;
}

.form-group > label {
  display: block;
  text-align: center;
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222b25;
}

.form-group label span {
  color: #d99b26;            /* Warm golden accent */
}

input[type=text], input[type=number], textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fafaf8;
  color: var(--text);
  font: inherit;
  font-size: 16.5px;
  text-align: center;
  outline: 0;
  transition: all 0.2s ease;
}

textarea {
  min-height: 112px;
  text-align: left;
  resize: vertical;
}

input:focus, textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(46, 158, 91, 0.15);
}

/* Amount Grid Buttons */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.btn-amount {
  min-height: 48px;
  padding: 10px 4px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-amount:hover {
  border-color: var(--primary);
  background: #eef8f2;
}

.btn-amount.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(46, 158, 91, 0.25);
}

.amount-input-box {
  padding: 9px !important;
  border: 2px solid var(--line) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  background: #ffffff !important;
}

.min-max-text {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eef8f2;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}

.char-count {
  margin-top: 8px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

/* Checkbox Card */
.checkbox-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fafaf8;
}

.checkbox-card input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}

.checkbox-card label {
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
}

.security-badges {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
}

.badge-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.badge-item {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #eef8f2;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

/* RECENT DONORS SECTION STYLES */
.donor-section {
  border-top: 5px solid var(--primary);
}

.donor-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.donor-item {
  background: #fafaf8;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
}

.donor-avatar {
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 10px;
  box-shadow: 0 3px 8px rgba(46, 158, 91, 0.2);
}

.donor-item-name {
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.donor-item-amount {
  color: var(--primary);
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.donor-item-date {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.donor-item-msg {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--muted);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.45;
  margin-top: 10px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 640px) {
  body {
    padding: 16px 12px 32px;
  }

  .container {
    max-width: 380px;
    margin: 0 auto;
    gap: 20px;
  }

  .card {
    padding: 24px 18px 20px;
    border-radius: 16px;
  }

  h1 { font-size: 22px; margin-bottom: 6px; }
  h2 { font-size: 18px; margin-bottom: 14px; }
  p.desc { font-size: 13.5px; line-height: 1.5; margin-bottom: 18px; }

  .form-group { margin-bottom: 18px; }
  .form-group > label { font-size: 14px; margin-bottom: 6px; }

  input[type=text], input[type=number], textarea {
    padding: 10px 12px;
    font-size: 15px;
  }

  .amount-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .btn-amount { font-size: 13.5px; min-height: 40px; padding: 6px 2px; }
  .amount-input-box { font-size: 22px !important; padding: 8px !important; }

  .checkbox-card { padding: 14px; }
  .checkbox-card label { font-size: 13.5px; }
  .security-badges { margin-top: 28px; padding-top: 18px; font-size: 13px; }

  .donor-item { padding: 14px; }
  .donor-item-amount { font-size: 15px; }
  .donor-item-msg { font-size: 13px; }
}