/* ================================================================
   DONATE PAGE CSS
   ================================================================ */

/* ---- Why Donate Section ---- */
.donate-why-section { background: var(--light-bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

.why-card h3 {
  font-size: 26px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}

/* ---- Main Donate Section ---- */
.donate-main-section { background: white; }

.donate-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ---- Donate Form Card ---- */
.donate-form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.donate-form-card h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.donate-form-card > p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 28px;
}

.field-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.field-label span { color: #e53e3e; }

.field-msg {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;       /* 12px → 11px */
  font-weight: 500;
  margin-top: 4px;       /* 6px → 4px */
  min-height: 16px;      /* 18px → 16px */
  padding: 3px 8px;      /* 4px 10px → 3px 8px */
  border-radius: 20px;
  color: red;
  width: fit-content;
  transition: all 0.2s ease;
}

.field-msg i {
  font-size: 10px;       /* 11.5px → 10px */
}



/* Amount buttons */
.donate-amount-section { margin-bottom: 22px; }

.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.amount-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  background: white;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.amount-btn:hover,
.amount-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  box-shadow: 0 4px 14px rgba(26,159,212,0.35);
}

/* Donate button */
.donate-btn-full {
  width: 100%;
  padding: 16px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  box-shadow: 0 6px 22px rgba(26,159,212,0.40);
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.donate-btn-full:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26,159,212,0.45);
}

/* Trust badges */
.donate-trust {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.donate-trust span {
  font-size: 12.5px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.donate-trust i { color: var(--green); }


/* Alert */
.donate-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
  animation: slideDown 0.3s ease;
  line-height: 1.6;
}

.donate-alert i { font-size: 15px; margin-top: 1px; flex-shrink: 0; }

.donate-alert.success {
  background: rgba(34,197,94,0.10);
  border: 1.5px solid #22c55e;
  color: #16a34a;
}

.donate-alert.error {
  background: rgba(239,68,68,0.10);
  border: 1.5px solid #ef4444;
  color: #dc2626;
}

@keyframes slideDown {
  from { opacity:0; transform: translateY(-8px); }
  to   { opacity:1; transform: translateY(0);    }
}







/* ---- Right Side Info Cards ---- */
.donate-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.donate-info-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.donate-info-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.donate-info-card h3 i { color: var(--blue); }

.donate-info-card > p {
  font-size: 13.5px;
  color: var(--text-mid);
  margin-bottom: 16px;
}


/* ================================================================
   SCREENSHOT UPLOAD
   ================================================================ */

.screenshot-upload-wrap {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  background: var(--light-bg);
  position: relative;
}

.screenshot-upload-wrap:hover {
  border-color: var(--blue);
  background: rgba(26,159,212,0.04);
}

.screenshot-upload-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  text-align: center;
  gap: 6px;
}

.upload-icon {
  width: 52px;
  height: 52px;
  background: rgba(26,159,212,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 4px;
}

.upload-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.upload-hint {
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* Preview */
.screenshot-preview {
  position: relative;
  padding: 12px;
  text-align: center;
}

.screenshot-preview img {
  max-height: 180px;
  max-width: 100%;
  border-radius: var(--radius-sm);
  object-fit: contain;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.remove-screenshot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.remove-screenshot:hover {
  background: #dc2626;
  transform: scale(1.1);
}

.preview-name {
  font-size: 11.5px;
  color: var(--text-light);
  margin-top: 8px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

/* Uploaded state */
.screenshot-upload-wrap.uploaded {
  border-color: var(--green);
  border-style: solid;
  background: rgba(91,173,47,0.04);
}

/* Note text */
.upload-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.upload-note i {
  color: var(--blue);
  margin-top: 2px;
  flex-shrink: 0;
}




/* Bank details table */
.bank-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.bank-row {
  display: flex;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

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

.bank-row:nth-child(even) { background: var(--light-bg); }

.bank-label {
  font-weight: 600;
  color: var(--text-dark);
  min-width: 130px;
  flex-shrink: 0;
}

.bank-value { color: var(--text-mid); }



/* ================================================================
   UPI / QR SECTION — BEAUTIFUL
   ================================================================ */

.upi-wrap {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* ---- QR Box ---- */
.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.qr-img-wrap {
  width: 115px;
  height: 115px;
  border-radius: 14px;
  border: 2px solid var(--border);
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 6px;
}

.qr-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}

.qr-label i { color: var(--blue); }

/* ---- UPI ID Wrap ---- */
.upi-id-wrap {
  flex: 1;
  min-width: 180px;
}

.upi-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* UPI ID Box */
.upi-id-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e8f6fd, #f0fdf4);
  border: 1.5px solid rgba(26,159,212,0.22);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
}

.upi-at-icon {
  color: var(--blue);
  font-size: 14px;
  flex-shrink: 0;
}

.upi-id-box span {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  flex: 1;
}

/* Copy button */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue);
  color: white !important;
  border: none;
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: var(--dark-blue);
  transform: translateY(-1px);
}

/* Apps label */
.upi-apps-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

/* ---- UPI App Buttons ---- */
.upi-apps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.upi-app-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-decoration: none;
  transition: var(--transition);
  min-width: 62px;
  cursor: pointer;
}

.upi-app-btn img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.upi-app-btn span {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}

/* Individual hover colors */
.upi-app-btn.gpay:hover    { border-color: #4285F4; box-shadow: 0 4px 14px rgba(66,133,244,0.2);  transform: translateY(-3px); }
.upi-app-btn.phonepe:hover { border-color: #5f259f; box-shadow: 0 4px 14px rgba(95,37,159,0.2);  transform: translateY(-3px); }
.upi-app-btn.paytm:hover   { border-color: #00BAF2; box-shadow: 0 4px 14px rgba(0,186,242,0.2);   transform: translateY(-3px); }
.upi-app-btn.bhim:hover    { border-color: #FF6B00; box-shadow: 0 4px 14px rgba(255,107,0,0.2);   transform: translateY(-3px); }

/* Mobile */
@media (max-width: 480px) {
  .upi-wrap       { flex-direction: column; align-items: center; }
  .upi-id-wrap    { width: 100%; }
  .qr-img-wrap    { width: 130px; height: 130px; }
  .upi-apps       { justify-content: center; }
}





/* 80G Tax card */
.tax-card { background: linear-gradient(135deg, #f0f8fc 0%, #edf7e3 100%); }

.tax-list {
  list-style: none;
  padding: 0;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tax-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-dark);
  font-weight: 500;
}

.tax-list li i { color: var(--green); font-size: 14px; }

/* ================================================================
   DONATE PAGE MOBILE
   ================================================================ */
@media (max-width: 768px) {

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .donate-main-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .donate-form-card { padding: 24px 18px; }

  .donate-info-card { padding: 20px 16px; }

  .bank-label { min-width: 100px; font-size: 12.5px; }
  .bank-value { font-size: 12.5px; }

  .upi-wrap { flex-direction: column; }
  .qr-box img { width: 130px; height: 130px; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .donate-amounts { gap: 8px; }
  .amount-btn { padding: 9px 14px; font-size: 13px; }
}



/* ================================================================
   HELP CARD — COMPACT
   ================================================================ */
.help-card {
  background: linear-gradient(135deg, #f0f8fc 0%, #edf7e3 100%);
}

.help-card > p {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.help-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.help-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}

.help-btn:hover { transform: translateX(4px); }

.help-btn.call:hover     { border-color: var(--blue);  box-shadow: 0 3px 10px rgba(26,159,212,0.15); }
.help-btn.whatsapp:hover { border-color: #25D366;      box-shadow: 0 3px 10px rgba(37,211,102,0.15); }
.help-btn.email:hover    { border-color: var(--green); box-shadow: 0 3px 10px rgba(91,173,47,0.15);  }

.help-btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.help-btn.call .help-btn-icon     { background: rgba(26,159,212,0.10); color: var(--blue);  }
.help-btn.whatsapp .help-btn-icon { background: rgba(37,211,102,0.10); color: #25D366;      }
.help-btn.email .help-btn-icon    { background: rgba(91,173,47,0.10);  color: var(--green); }

.help-btn > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.help-btn-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.help-btn-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.help-timing {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.help-timing i { color: var(--blue); }

/* Right side height — left ke barabar */
.donate-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.donate-info-card:last-child {
  flex: 1;
}
