.container-block {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  /* flex: 1; */
  /* box-shadow: 0 0 10px #a2a2a2ad; */
}
.input-group {
  display: flex;
  width: 100%;
     align-items: flex-end;
}

.phn-input,
.eml-input {
  flex: 1;
  display: flex;
  align-items: center;
}

button.next {
  background: linear-gradient(
    90deg,
    rgba(96, 185, 70, 1) 0%,
    rgba(92, 185, 79, 1) 15.56%,
    rgba(80, 185, 105, 1) 41.35%,
    rgba(71, 185, 123, 1) 56.74%,
    rgba(0, 181, 107, 1) 86.52%,
    rgba(0, 181, 150, 1) 99.44%
  );
  border-radius: 40px;
  font-size: 1rem !important;
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  transition: color 0.15sease-in-out, background-color 0.15sease-in-out,
    border-color 0.15sease-in-out, box-shadow 0.15sease-in-out;
  color: #fff;
  margin-top: 30px;
  margin-left: auto;
  width: 100%;
  max-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.purchase-container {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 60px;
}

h6.purchase-title {
  font-size: 1.3rem;
  color: #989898;
}

.purchase-container .radio-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: bold;
}
bdi {
  font-size: 1.5rem;
  color: #4c4c4c;
  text-decoration: none;
}

a {
  text-decoration: none;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
/* .Webtopupplans .plans-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
} */

.plan-card {
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2sease-in-out;
  background: linear-gradient(
    130deg,
    rgba(240, 255, 240, 1) 0%,
    rgba(235, 255, 245, 1) 15.56%,
    rgba(230, 255, 250, 1) 41.35%,
    rgba(225, 255, 250, 1) 56.74%,
    rgba(210, 250, 245, 1) 86.52%,
    rgba(210, 250, 250, 1) 99.44%
  );
}

.plan-card:hover {
  transform: scale(1.05);
}

/* .Webtopupplans .plans-grid .plan-card {
 display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  width: 70px;
  height:70px;
} */

.content-section.Webtopupplans .plans-grid .plan-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-section.Webtopupplans .plans-grid .plan-card h2 span bdi {
  font-size: 30px;
}

.plan-name {
  font-size: 18px;
  font-weight: bold;
}

.plan-details {
  font-size: 14px;
  font-weight: bold;
  margin-top: 5px;
}

.plan-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  font-size: 14px;
  margin-top: 10px;
  font-weight: bold;
}

.donation-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.donation-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  font-size: 24px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  transition: all 0.3sease;
  background: linear-gradient(
    130deg,
    rgba(240, 255, 240, 1) 0%,
    rgba(235, 255, 245, 1) 15.56%,
    rgba(230, 255, 250, 1) 41.35%,
    rgba(225, 255, 250, 1) 56.74%,
    rgba(210, 250, 245, 1) 86.52%,
    rgba(210, 250, 250, 1) 99.44%
  );
  box-shadow: 0px 0px 8px rgb(201, 201, 201);
}

.donation-box.selected {
  position: relative;
  border: 2px solid #28a745;
}

.donation-box.selected::after {
  content: "✔";
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 16px;
  color: green;
  font-weight: bold;
}

.plan-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.plan-card h2 span bdi {
  font-size: 2rem;
}

.plan-card.active {
  position: relative;
  border: 2px solid #28a745;
}

.plan-card.active::after {
  content: "✔";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  background: #28a745;
  color: white;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
}

/**/
h2,
h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #454545;
  font-weight: 400 !important;
}
.summary {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.divider {
  border-bottom: 1px solid #ccc;
  margin: 20px 0;
}
.main-payment-method {
  display: flex;
  align-items: baseline;
  gap: 50px;
}

.payment-method {
  display: flex;
  align-items: center;
}
form#payment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}
.payment-options {
  background: #f8f9fa;
  padding: 20px 10px;
  border-radius: 5px;
  width: 100%;
  max-width: 80%;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 15px;
}
.payment-options label {
  display: flex;
  align-items: center;
  gap:5px;
  
}

.terms {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.terms a {
  color: #007bff;
  text-decoration: none;
  margin-left: 5px;
}
.button {
  background: linear-gradient(90deg, #32cd32, #228b22);
  color: #fff;
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 15px;
}
.button:hover {
  background: linear-gradient(90deg, #2ca02c, #1e7e1e);
}
.icons {
  display: flex;
  align-items: center;
  margin-left: 10px;
}
.icons img {
  height: 20px;
  margin-left: 5px;
}
div#checkout-container {
  padding: 20px 10px 0;
}

div#selected-product-details {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
}

.left-chek-info,
.right-chek-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.status-message {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  display: none;
}

.status-message.success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #3c763d;
}

.status-message.error {
  background-color: #f2dede;
  border-color: #ebccd1;
  color: #a94442;
}

/* Default (enabled) button */
button#submit-topup {
  border-radius: 50px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  padding: 0.375rem 0.75rem;
  width: 100%;
  max-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #146c43;
  box-shadow: 0 0 0 0.25rem rgba(60, 153, 110, 0.5);
  font-size: 18px;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(
    90deg,
    rgba(96, 185, 70, 1) 0%,
    rgba(92, 185, 79, 1) 15.56%,
    rgba(80, 185, 105, 1) 41.35%,
    rgba(71, 185, 123, 1) 56.74%,
    rgba(0, 181, 107, 1) 86.52%,
    rgba(0, 181, 150, 1) 99.44%
  );
}

/* Disabled button state */
button#submit-topup:disabled {
  background: #c0c0c0; /* Grey background */
  border: 1px solid #999999;
  color: #666666;
  cursor: not-allowed;
  box-shadow: none;
}

.plan-card {
  cursor: pointer;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;

}

.container-block p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #757575;
}
.webtop-up-block label {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #757575;
}

.nav-links {
  margin-bottom: 20px;
}

.nav-links a {
  margin-right: 10px;
  text-decoration: none;
  color: #0073aa;
}

.nav-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .input-group {
    padding: 15px;
  }

  .input-group button {
    max-width: 100%;
  }
}
.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.status-message {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  display: none;
}

.status-message.success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #3c763d;
}

.status-message.error {
  background-color: #f2dede;
  border-color: #ebccd1;
  color: #a94442;
}

.plan-card {
  cursor: pointer;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
}

.nav-links {
  margin-bottom: 20px;
}

.nav-links a {
  margin-right: 10px;
  text-decoration: none;
  color: #0073aa;
}

.nav-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .input-group {
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  .main-webtop-up-block {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
    flex-direction: column;
  }
  .webtop-up-block {
    flex-direction: column;
  }
  .main-webtop-up-block .webtop-up-block div {
    width: 100%;
  }

  .input-group button {
    max-width: 100% !important;
  }
  .purchase-container {
    flex-direction: column;
  }
}

/* 
 */
.main-webtop-up-block {
  display: flex;

  justify-content: space-between;
  width: 100%;
  gap: 15px;
}

.webtop-up-block {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}
.main-webtop-up-block .webtop-up-block div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
}
.payment-options label img {
  max-width: 140px;
  width: 100%;
  max-height: 30px;
}
button#submit-payment {
  padding: 0.4rem 2.3rem;
  border: none;
  background: linear-gradient(
    90deg,
    rgba(96, 185, 70, 1) 0%,
    rgba(92, 185, 79, 1) 15.56%,
    rgba(80, 185, 105, 1) 41.35%,
    rgba(71, 185, 123, 1) 56.74%,
    rgba(0, 181, 107, 1) 86.52%,
    rgba(0, 181, 150, 1) 99.44%
  );
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  display: flex;
    align-items: center;
    width: max-content;
    border-radius: 50px;
        height: 35px;
}

/*  */
.category-filter {
  margin-bottom: 20px;
}
.category-filter label {
  margin-right: 10px;
}
.category-filter select {
  padding: 8px;
  font-size: 16px;
}

div#payment-methods-container {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
   
}
@media only screen and (max-width: 600px) {
  div#payment-methods-container {
        flex-wrap: wrap;
}
.payment-options label {

      flex-wrap: wrap;
}
}
section.woocommerce-customer-details {
    display: none;
}
