input,
button {
  padding: 10px;
  margin: 8px 0;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
}

/* .din-primary:hover:not(:disabled) {
  background-color: #43a047;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
} */

/* .din-primary:active:not(:disabled) {
  background-color: #388e3c;
  transform: scale(0.97);
} */

.din-primary:disabled {
  background-color: #ccc; /* Grey background */
  color: #777; /* Faded text */
  cursor: not-allowed; /* Disabled cursor */
  box-shadow: none; /* Remove shadow */
  opacity: 0.7; /* Slightly faded look */
  transform: none; /* No animation */
}

@media (min-width: 1024px) {
  .banner-img.mobile-img {
    width: 100%;
    max-width: none;
    /* Remove any max-width constraints */
    height: auto;
  }
}

.banner-img-wrap {
  min-height: 600px;
  /* Increase to desired height */
}

/* Adjust the image styling to ensure it scales properly */
.banner-img-line-wrapper img {
  width: 100%;
  /* Keeps the image responsive */
  height: auto;
  /* Maintains the aspect ratio */
}
button {
  background-color: #4caf50;
  color: #fff;
  border: none;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

.hidden {
  display: none !important;
}

/* Modal styles */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.close {
  color: #aaa;
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

#qr-code {
  text-align: center;
  margin-top: 20px;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.result-table th,
.result-table td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: left;
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.custom-select::after {
  content: "y" !important;
  position: absolute !important;
  top: 50% !important;
  right: 0 !important;
  transform: translateY(-50%) translateX(-5px) !important;
  /* Adjust horizontal position */
}

select .placeholder {
  color: gray;
}

/* Error messages */
.error-text {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 4px;
  display: none;
}

.input-error {
  border-color: #e74c3c !important;
}

/* Payment screens */
#paymentStatusContainer {
  display: none;
  margin-top: 20px;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: 80%;
}

@media screen and (max-width: 990px) {
  #paymentStatusContainer {
    width: 100%;
  }
}

.status-waiting {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
}

.status-failed {
  background-color: #fdecea;
  border: 1px solid #e74c3c;
}

.status-processing {
  background-color: #e8f4fd;
  border: 1px solid #3498db;
}

.status-success {
  background-color: #e9fdf0;
  border: 1px solid #2ecc71;
}

#qrCodeContainer {
  margin: 20px auto;
  max-width: 200px;
}

.upi-button {
  background-color: #5253ed;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  margin-top: 15px;
  cursor: pointer;
  display: inline-block;
}

.countdown {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0;
}

.button-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Spinner */
.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

input:checked {
  accent-color: #5d56dd !important;
}

.single-field-label {
  margin-bottom: 9px;
  color: #080808;
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
}

.payment-details {
  margin-block: 2rem;
  display: flex;
  flex-direction: column;
  row-gap: 0.3rem;
}

/* Main Container Styles */
.din-container {
  width: 100%;

  margin: 0 auto;
  font-family: "Montserrat", Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

.din-wrap {
  min-height: 100vh;
  /* max-width: 1400px; */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Content Section */
.din-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 5vw;
  padding-inline: 40px;
  padding-top: 10vh;

  /* margin-bottom: 60px; */
}

/* Form Section Styles */
.din-form-section {
  flex: 1;
  max-width: min(45vw, 550px);
}

.din-heading {
  color: #333;
  font-size: 38px;
  margin-bottom: 16px;

  font-weight: bolder;
  font-size: 36px;
  line-height: 139%;
  letter-spacing: 1.5%;

  font-family: "Montserrat", Arial, sans-serif;
}

.din-subtext {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 30px;

  width: 85%;
}

.din-form {
  margin-top: 20px;
}

.din-label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 8px;
  color: rgba(15, 15, 16, 0.8);
}
.din-label1 {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(15, 15, 16, 0.8);
}

.din-input {
  width: 70%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.din-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.din-button {
  width: fit-content;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  background-color: transparent;
  border: 1px solid #4527a0;
  color: #4527a0;
}

.din-primary {
  background-color: #5e35b1;
  color: white;
  border: none;
}

.din-primary:hover {
  background-color: #4527a0;
}

/* Image Section Styles */
.din-image-section {
  flex: 1;
  display: flex;
  justify-content: center;
}

.din-illustration {
  max-width: 100%;
  height: auto;
}

/* Trust Section Styles */
.trust-section {
  padding-top: 40px;
  padding-bottom: 60px;
  margin-bottom: 100px;
  border-top: 1px solid #eee;
  background: rgba(241, 237, 248, 1);
  text-align: center;
}

.trust-heading {
  margin-bottom: 50px;

  font-family: Montserrat;
  font-weight: 500;
  font-size: 16px;
  line-height: 169%;
  letter-spacing: 22%;
  text-align: center;

  color: rgba(0, 0, 0, 0.88);
}

.trust-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.trust-logo {
  height: 40px;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.trust-logo:hover {
  opacity: 1;
}

.charges-table {
  width: 350px;
  margin-block: 1rem;
}

.charges-table th,
td {
  padding-block: 0.5rem;
}

.charges-table th {
  text-align: start;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 1.5%;
}

.charges-table .charge {
  color: rgba(15, 15, 16, 0.8);
}

.charges-table td {
  text-align: end;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 1.5%;
}

.charges-table .gst-th,
.total-th,
.gst-td {
  color: rgba(73, 73, 73, 1) !important;
  font-weight: 400 !important;
}

.charges-table .total-td {
  text-align: end;
  color: rgba(73, 73, 73, 1);

  font-family: "Montserrat";
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1.5%;
  text-align: right;
}

.pay-wrap {
  width: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 1rem;
}

.pay-container {
  flex: 1;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 10px;
  padding: 13px 0px 13px 20px;
}

.pay-container .top-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 20px;
}

.pay-container .top-section h4 {
  max-width: 187px;
  font-size: 12px;
  flex: 1;
  font-family: Montserrat;
  font-weight: 600;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 1.5%;
  padding-left: 5px;
  color: rgba(0, 0, 0, 1);
}

.pay-container .top-section p {
  /* flex: 1; */
  width: fit-content;
  flex: 1;
  background: rgba(248, 190, 83, 1);
  padding: 10px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  padding-left: 24px;
  font-family: Montserrat;
  font-weight: 500;
  font-size: 13px;
  text-align: end;
  line-height: 168%;
  /* letter-spacing: 1.5%; */
  color: rgba(40, 37, 37, 0.81);
}

.pay-container .middle-section {
  height: 187px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  column-gap: 20px;
  margin-block: 5px;
}

.pay-container .middle-section .qrcode-wraper {
  width: 187px;
  min-height: 100%;
  place-items: center;
  /* background-color: red; */
}

.pay-container .middle-section .amount-container {
  flex: 1;
  min-height: 100%;
  margin-right: 20px;

  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pay-container .middle-section .amount-container .amount-container-wrapper {
  width: 100%;
  background-color: #fff;
  border: 1px solid rgba(201, 201, 201, 0.18);
  backdrop-filter: blur(30px);
  box-shadow: 0px 1.53px 19.08px 0px rgba(0, 0, 0, 0.08);

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 15px;
  border-radius: 14px;
}

.amount-container-wrapper h5 {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 1.5%;
  text-align: right;
  color: rgba(15, 15, 16, 0.8);
}

.amount-container-wrapper span {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 1.5%;
  text-align: right;
  color: rgba(26, 27, 28, 0.8);
}

.pay-container .bottom-section {
  margin-block: 15px 5px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 20px;
}

.pay-container .bottom-section .left-text {
  width: 187px;
  text-align: center;

  font-family: Montserrat;
  font-weight: 500;
  font-size: 13px;
  line-height: 168%;
  letter-spacing: 1.5%;
  text-align: center;

  color: rgba(15, 15, 16, 0.54);
}

.pay-container .bottom-section .right-text {
  flex: 1;

  font-family: Montserrat;
  font-weight: 500;
  font-size: 11px;
  line-height: 168%;
  letter-spacing: 1.5%;

  color: rgba(15, 15, 16, 0.54);
}

.result-wrap {
  width: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 1rem;

  max-width: 500px;
}

.result-wrap .result-container {
  flex: 1;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 10px;
  padding: 25px;
}

.result-container .result-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 1rem;
}

.result-container .result-top .result-status {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 1.5%;
  color: rgba(0, 0, 0, 1);

  margin-bottom: 1.5rem;
}

.result-container .result-top .result-data {
  margin-bottom: 1.5rem;
}

.result-container .result-top .result-data p {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 1.5%;
  color: rgba(0, 0, 0, 1);
}

.result-container .result-top .result-data span {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 1.5%;
  color: rgba(0, 0, 0, 0.69);
}

.result-container .result-info p {
  font-family: Montserrat;
  font-weight: 500;
  font-size: 12px;
  line-height: 168%;
  letter-spacing: 1.5%;
  color: rgba(15, 15, 16, 0.54);
}

.mobile-upi-options {
  display: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .din-content {
    flex-direction: column-reverse;
    text-align: center;
    align-items: center;

    margin-bottom: 30px;
  }

  .din-form-section {
    max-width: 100%;
  }

  .din-subtext {
    text-align: center;
    width: 100%;
  }

  .din-label {
    width: 70%;
    margin-inline: auto;
  }
  .service-label {
    margin-left: 25%;
  }
  .charges-table {
    margin-inline: auto;
  }

  .din-buttons {
    justify-content: center;
  }

  .din-image-section {
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .din-illustration {
    max-height: 40vh;
    margin: auto;
  }

  .result-data {
    text-align: start;
  }

  .result-info {
    text-align: left;
  }

  #resultView {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .result-status {
    text-align: left;
  }
  .xx1lable {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .trust-logos {
    gap: 20px;
  }

  .trust-logo {
    height: 30px;
    max-width: 120px;
  }
}

@media (max-width: 576px) {
  .din-heading {
    font-size: 28px;
  }

  .din-label {
    width: 90%;
  }

  .din-input {
    width: 90%;
  }

  .din-buttons {
    /* flex-direction: column; */
    gap: 12px;
  }

  .trust-logos {
    flex-direction: column;
    gap: 25px;
  }

  .trust-logo {
    height: 25px;
  }

  .pay-container {
    padding: 10px !important;
  }

  .pay-container .top-section {
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
    padding-top: 10px;
  }

  .pay-container .top-section p {
    border-radius: 30px;
    padding-right: 20px;
  }

  .pay-container .middle-section {
    flex-direction: column;
    align-items: center;
    height: auto;
    row-gap: 1rem;
  }

  .pay-container .bottom-section {
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
  }

  .amount-container {
    width: 200px;
  }

  .mobile-upi-options {
    display: block;
    width: 100%;
    margin-block: 1rem;
  }

  .mobile-upi-options p {
    width: 50%;
    text-align: start;
    margin: auto;

    font-family: Montserrat;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 1.5%;

    color: rgba(15, 15, 16, 0.38);
  }

  .mobile-upi-options input {
    width: fit-content;
  }

  .mobile-upi-bottom {
    margin-block: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: center;

    column-gap: 10px;
  }
  .service-label {
    margin-left: 10%;
  }
  .mobile-upi-bottom span {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 1.5%;
    color: rgba(0, 0, 0, 0.7);
  }

  .upi-options {
    column-gap: 5px;
  }

  .upi-options img {
    width: 35px;
    height: 35px;
  }

  #qrcode-container {
    display: none !important;
  }
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: 4px;
  margin-bottom: 10px;
}

.input-container {
  margin-bottom: 24px;
}
