* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  background: #f9f9f9;
  color: #333;
}

.donation-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.appeal-text h1 {
  font-size: 1.8rem;
  color: #d62828;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.appeal-text p {
  margin-bottom: 0.8rem;
  color: #444;
}

.donation-form {
  flex: 1 1 500px;
  padding: 2rem;
}

.donation-form h2 {
  color: #d62828;
  font-size: 1.2rem;
  margin: 1.5rem 0 0.8rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.4rem;
}

.donation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.donation-options label {
  background: #f2f2f2;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.donation-options label:hover {
  background: #e0e0e0;
}

.hidden {
  display: none;
}

.form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.form-group input {
  flex: 1;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.crypto-section {
  margin-top: 1rem;
}

.wallet-box {
  display: flex;
  align-items: center;
  margin: 0.8rem 0;
}

.wallet-box input {
  flex: 1;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px 0 0 6px;
}

.wallet-box button {
  background: #2b9348;
  color: #fff;
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: 0.3s;
}

.wallet-box button:hover {
  background: #218838;
}

.note {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.donate-btn {
  width: 100%;
  background: #d62828;
  color: #fff;
  padding: 0.9rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: 0.3s;
}

.donate-btn:hover {
  background: #b71c1c;
}

.donation-image {
  flex: 1 1 400px;
  background: #eee;
}

.donation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  height: 160vh;
}

/* ===== Donation Header and Logo ===== */
.donation-header {
  text-align: center;
  padding: 20px 0;
}

.donation-logo img {
  width: 150px;
  height: auto;
  display: inline-block;
}

/* ===== Donation Layout ===== */
.donation-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px;
}

/* ===== Responsive: Hide image on mobile ===== */
@media (max-width: 768px) {
  .donation-image {
    display: none;
  }

  .donation-header {
    padding-top: 10px;
  }

  .donation-logo img {
    width: 120px;
  }
}

.donation-header {
  padding-top: 10px;
}

.donation-logo img {
  width: 120px;
}

/* Responsive */
@media (max-width: 768px) {
  .donation-container {
    flex-direction: column;
  }

  .donation-image {
    order: -1;
    height: 250px;
  }
}

/* ===== Payment Tabs ===== */
.payment-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-tabs .tab {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  cursor: pointer;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.payment-tabs .tab:hover {
  background-color: #f1f1f1;
}

.payment-tabs .tab.active {
  background-color: #ff805d;
  color: white;
  border-color: #ff805d;
}

/* ===== Payment Sections ===== */
.payment-section {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 10px;
  margin-top: 10px;
}

.hidden {
  display: none !important;
}

/* ===== Wallet Box ===== */
.wallet-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}

.wallet-box input {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}

.wallet-box button {
  background: #ff805d;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.wallet-box button:hover {
  background: #e76a48;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .payment-tabs {
    flex-direction: column;
  }
  .wallet-box {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ===== Tab Icon Styling ===== */
.payment-tabs .tab i {
  margin-right: 8px;
  font-size: 1rem;
  vertical-align: middle;
}

.wallet-box button i {
  margin-right: 5px;
}

/* Make icons and text aligned nicely */
.payment-tabs .tab {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

@media (max-width: 600px) {
  .payment-tabs .tab {
    justify-content: flex-start;
    padding-left: 20px;
  }
}
