:root {
  --accent: #7f4098;
  --light: #f8f9fa;
  --border: #dee2e6;
  --text: #212529;
}

button#donate {
  background: #f15a24 url(https://riazs23.sg-host.com/wp-content/uploads/2025/10/donate-icon.webp) no-repeat !important;
  background-position: 30% center !important;
  padding-left: 30px !important;
}

.find-address {
  background: #777 !important;
  margin: 26px 0 0 0;
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, Roboto, sans-serif;
  margin: 0;
  background: var(--light);
  color: var(--text);
}

#drawer-content .container {
  max-width: 800px;
  margin: auto;
  /* background: #fff; */
  border-radius: 12px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
  overflow: hidden;
  width: 100% !important;
}

#drawer-content header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding-bottom: 60px;
}

#drawer-content header .logo {
  font-weight: 700;
  font-size: 1.2rem;
  ;
}

.progress {
  display: flex;
  justify-content: space-between;
  margin: 0 auto 0 auto;
  float: none;
  width: 100%;
  background: transparent;
  box-shadow: none;
}

.step {
  flex: 1;
  text-align: center;
  font-size: 20px;
  margin: 0px 60px !important;
  color: #888;
  position: relative;
  line-height: 33px;
}

.step.active {
  color: var(--accent);
  font-weight: 600;
}

.step::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
}

.step.active::after {
  background: var(--accent);
}

main {
  padding: 16px;
}

#drawer-content h2 {
  margin-top: 10px;
  font-size: 22px;
  margin-bottom: 15px;
  text-align: center;
}

#drawer-content .input,
select,
textarea {
  width: 100%;
  padding: 15px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 18px;
}

#drawer-content select {
  padding: 0px 12px;
  height: 55px;
}

#drawer-content label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 18px;
}

.amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

#drawer-content .btn-amount {
  flex: 1 1 30%;
  padding: 14px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 1rem;
  cursor: pointer;
}

#drawer-content .btn-amount.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  width: 100%;
}

#drawer-content .btn {
  flex: 1;
  padding: 14px 0px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 19px;
  cursor: pointer;
}

.btn.ghost {
  background: #fff !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
}

.summary {
  background: #8fc54408;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 20px;
  border: 2px dashed #8dc543;
}

.summary h4 {
  margin-top: 0;
}

.summary .line {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.col {
  flex: 1 1 30%;
}

.col1 {
  flex: 1 1 100%;
}

.col2 {
  flex: 1 1 40%;
}

.payment-options {
  max-width: 650px;
  margin: 0px auto;
}

/* Thank You Section */
.thankyou {
  text-align: center;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.thankyou h2 {
  color: #000;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.thankyou p {
  font-size: 1.1rem;
  margin: 5px 0;
}

#donation-form .col img {
  height: 60px;
  width: auto !important;
}

/* Mobile Donate Button + Drawer */
#mobile-donate-btn {
  display: none;
}

.drawer-close {
  display: none;
}

.thanks-donate-btn#donate {
  width: 100%;
  max-width: 250px;
  background-position: 24% center !important;
  margin-top: 40px;
  border: none;
  padding: 20px 10px 20px 45px !important;
  color: #FFF;
  font-size: 20px;
  border-radius: 8px;
}

#donation-form .row::before,
#donation-form .row::after {
  display: none !important;

}

#donation-form::before,
#donation-form::after {
  display: none !important;
}

.summary h4 {
    margin-bottom: 10px;
}

/* -- Form validation -- */
.input-invalid {
  border-color: #dc3545 !important;
  background-color: #fff5f5 !important;
}

.invalid-message {
  color: #dc3545;
  font-size: 0.85rem;
  display: none;
  margin-top: 4px;
}

.invalid-message.active {
  display: block;
}

#donate-submit[disabled],
#donate-submit.mdf-btn-loading {
  opacity: 0.6;
  cursor: not-allowed;
}

/* -- Form validation -- */


@media (max-width: 768px) {


  .step {
    font-size: 14px;
    margin: 0px 24px !important;
  }

  .drawer-close {
    display: block !important;
  }

  button#donate {
    background-position: 12% center !important;
    padding-left: 45px !important;
    padding-right: 10px !important;
  }


  #drawer-content .btn {
    font-size: 17px !important
  }


  #drawer-content .input,
  select,
  textarea {
    padding: 10px 12px;
    font-size: 16px;
  }

  #mobile-donate-btn {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #f15a24 url(https://riazs23.sg-host.com/wp-content/uploads/2025/10/donate-icon.webp) no-repeat !important;
    background-position: 35% center !important;
    max-width: 90%;
    margin: 0 auto;
    border-radius: 10px 10px 0px 0px;
    color: white;
    text-align: center;
    padding: 15px 0px 15px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    z-index: 1000;
  }

  .drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: bottom 0.4s ease;
    z-index: 1001;
    max-height: 90vh;
    overflow-y: auto;
  }

  .drawer.open {
    bottom: 0;
  }

  .drawer-close {
    text-align: right;
    padding: 12px 16px 0 0;
  }

  .drawer-close button {
    background: #f00;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1rem;
    cursor: pointer;
  }

  #drawer-content .container {
    box-shadow: none;
    border-radius: 0;
    margin: 0;
  }

  .col2,
  .col {
    flex: 1 1 100%;
  }


  #drawer-content select {
    padding: 0px 12px;
    height: 45px;
  }

  #drawer-content h2 {
    font-size: 18px;
  }

  #drawer-content label {
    font-size: 16px;
  }

.summary h4 {
    font-size: 18px;
}

  #drawer-content label {
    margin-bottom: 0px;
  }

  #mobile-donate-btn.donate-toggle-btn {
    background-position: 27% center !important;
    padding: 15px 0px 15px 41px;
  }

  .thanks-donate-btn#donate {
    background-position: 23% center !important;
    padding: 20px 10px 20px 51px !important;
  }

 .summary .line {
    display: block;
    font-size: 16px;
}

.summary .line span {
    padding-right: 10px;
}

}