.donate_form h3:not(:first-of-type),
.donate_form > div:not(:first-of-type) {
    display: none;
}

.woocommerce .avada-myaccount-user {
  display: none !important;
}

.woocommerce form.checkout_coupon {
  display: none !important;
}

.page-template-form-template-php #checkout-render {
    display: none;
}

.donate_time {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.donate_time li {
  position: relative;
  transition: all 0.25s ease;
}

.donate_time input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.donate_time label {
  cursor: pointer;
  background: #f9f9f9;
  border: 2px solid #ccc;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 600;
  color: #333;
  transition: all 0.25s ease;
  display: inline-block;
  text-transform: uppercase;
}

.donate_time label span {
  transition: color 0.25s ease;
}

/* Hover state */
.donate_time li:hover label {
  background: #31a25c;
  border-color: #31a25c;
  color: #fff;
}

/* ✅ Highlight li when its input is checked */
@supports(selector(:has(*))) {
  .donate_time li:has(input[type="radio"]:checked) label {
    background: #31a25c;
    border-color: #31a25c;
    color: #fff;
  }
}






.wc-label-button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  background: #f9f9f9;
  border: 2px solid #ccc;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 600;
  color: #333;
  text-align: center;
  transition: all 0.25s ease;
}

/* hide native radios */
.wc-label-button input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* hover state */
.wc-label-button:hover {
  background: #31a25c;
  border-color: #31a25c;
  color: #fff;
}

/* ✅ selected state */
@supports(selector(:has(*))) {
  .wc-label-button:has(input[type="radio"]:checked) {
    background: #31a25c;
    border-color: #31a25c;
    color: #fff;
  }
}

/* fallback for browsers that don't support :has() */
.wc-label-button input[type="radio"]:checked + * {
  background: #31a25c;
  border-color: #31a25c;
  color: #fff;
}














#global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  animation: rotate 1.5s linear infinite;
  width: 60px;
  height: 60px;
}

.spinner .path {
  stroke: #31a25c; /* your green colour */
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}


























/* When Monthly selected — hide Stripe + Express Checkout only */
.is-monthly .payment_method_stripe,
.is-monthly #wc-stripe-express-checkout-element,
.is-monthly #wc-stripe-express-checkout-button-separator {
  display: none !important;
}








.back-btn {
  display: inline-block;
  margin-top: 20px;
  background: #31a25c;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease;
}
.back-btn:hover {
  background: #278b4e;
}




#donate_to_masjid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

#donate_to_masjid .donate_form {
  width: 50%;
}

#donate_to_masjid .donate_form_right {
  width: 48%;
}

/* 🔽 On mobile, stack vertically: image on top, form below */
@media (max-width: 950px) {
  #donate_to_masjid {
    flex-direction: column;
    align-items: center;
  }

  #donate_to_masjid .donate_form_right {
    order: 1;
    width: 100%;
    text-align: center;
  }

  #donate_to_masjid .donate_form {
    order: 2; 
    width: 100%; 
  }

  #donate_to_masjid .donate_form_right_inner img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
  }
}



.page-template-form-template-php .shop_table tbody tr {
  height: 70px;
}

























/* Hide native radio visually but keep it focusable */
.wc_payment_method input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Make label behave like a full-width block */
.wc_payment_method label {
  display: block !important;                   /* full clickable area */
  width: 100%;
  height: 100%;
  padding: 16px 20px;
  cursor: pointer;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Hover effect */
.wc_payment_method label:hover {
  border-color: #31a25c;
  box-shadow: 0 3px 8px rgba(49,162,92,0.15);
}

/* Active (checked) state */
.wc_payment_method input[type="radio"]:checked + label {
  border-color: #31a25c;
  background: #f7fff9;
  color: #31a25c;
  font-weight: 600;
}

/* Keep text and icons aligned */
.wc_payment_method label img {
  margin-left: 6px;
  height: 20px;
  vertical-align: middle;
}





form.checkout.woocommerce-checkout .tableted table,
form.checkout.woocommerce-checkout th,
form.checkout.woocommerce-checkout td {
  border-color : #f2f3f5;
}