.tab-container {
  background-color: #f7f7f7;
  display: flex;
  border-radius: 20px 20px 0px 0px;
  margin-bottom: 30px;
  user-select: none;
}
.tab-select1 {
  padding: 13px 20px;
  cursor: pointer;
  position: relative;
  background-color: #f7f7f7;
  flex: 1;
  text-align: center;
  border-radius: 20px 0px 0px 0px;
  user-select: none;
}

.item-price {
  font-size: 16px;
  color: #0d2366;
  margin-right: 10px;
  max-width: 100px;
  width: 100px;
}
.item-name {
  /* font-weight: bold; */
  font-size: 14px;
  color: #515978;
}
.tab-select2 {
  padding: 13px 20px;
  cursor: pointer;
  position: relative;
  background-color: #f7f7f7;
  flex: 1;
  text-align: center;
  border-radius: 0px 20px 0px 0px;
  user-select: none;
}
.tab-selected {
  width: 100%;
  height: 2px;
  background-color: #14b396;
  position: absolute;
  bottom: 0;
  left: 0;
  display: none;
}
.selected .tab-selected {
  display: block;
}
.tab-select-text {
  font-size: 15px;
}
.donation-amt {
  font-size: 15px;
  text-align: center;
}
.card-net {
  font-size: 15px;
  text-align: center;
  padding-top: 10px;
}
.donate-using {
  font-size: 12px;
  text-align: center;
  color: #e4dede;
  margin-top: -10px;
}
.scan-donate {
  font-size: 12px;
  text-align: center;
  margin-top: 6px;
}

.error-message {
  font-size: 11px;
  margin-top: 0px;
  padding: 0px;
  background-color: transparent;
}

/* Fast Amount Selection */
.amount-container {
  display: flex;
  gap: 5px;
  margin-top: 30px;
  margin-bottom: 20px;
  justify-self: center;
  margin-left: 10px;
  margin-right: 10px;
  user-select: none;
  justify-content: center;
}
.amount-box {
  padding: 5px 12px;
  background-color: #f7f7f7;
  cursor: pointer;
  text-align: center;
  min-width: 50px;
  border-radius: 10px;
  font-size: 12px;
}
.amount-box.selected {
  background-color: #14b396;
  color: white;
}

.other-amount input {
  border: none;
  text-align: center;
  width: 70px;
  font-size: 14px;
  outline: none;
  background-color: transparent;
  padding-left: 0px;
  padding-right: 0px;
}
.img-qr {
  height: 170px;
  width: 170px;
  justify-self: center;
  display: flex;
  padding-bottom: 10px;
  cursor: pointer;
  user-select: none;
}
.img-gateway {
  /* height: 140px;
    width: 140px; */
  justify-self: center;
  display: flex;
  margin-top: -15px;
  cursor: pointer;
  align-items: center;
  align-self: center;
}

.info-modal,
.success-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  transform: scale(1);
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  /* display: flex; */
  justify-content: center;
  align-items: center;
  align-content: center;
}

/* Overlay */
/* .success-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  align-content: center;
} */

/* Success Box */
.success-box {
  background: white;
  width: 350px;
  border-radius: 10px;
  text-align: center;
  padding: 25px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.5s ease-in-out;
  justify-self: center;
}

/* Success Tick Icon */
.success-box .checkmark {
  width: 70px;
  height: 70px;
  background: #14b396;
  color: white;
  font-size: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Success Message */
.success-box h2 {
  margin: 10px 0;
  color: #14b396;
  font-size: 22px;
}

.success-box p {
  color: #444;
  font-size: 16px;
  margin-bottom: 20px;
}

/* Close Button */
.success-btn {
  padding: 5px 20px;
  background: #14b396;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.success-btn:hover {
  background: rgb(16, 139, 117);
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Popup Box */
.popup-box {
  background: white;
  width: 400px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
  justify-self: center;
}

/* Header */
.popup-header {
  background: #14b396;
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-header h2 {
  margin: 0;
  font-size: 16px;
}

.popup-header .close {
  font-size: 18px;
  cursor: pointer;
}

/* Sub-title */
.popup-subtitle {
  padding: 5px 15px 0px 15px;
  font-size: 13px;
  color: #666;
}

.note-subtitle {
  padding: 0px 0px;
  margin: -8px 0px 10px;
  font-size: 10px;
  color: #969595;
}

/* Form */
.popup-body {
  padding: 0px 20px 20px 20px;
}

.input-group {
  margin-bottom: 5px;
}

.input-group label {
  display: block;
  font-size: 12px;
  color: #333;
  margin-bottom: -8px;
}

.input-group input {
  width: 100%;
  padding: 1px 0;
  font-size: 15px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  transition: border-color 0.3s;
}

.input-group input:focus {
  border-bottom: 2px solid #14b396;
}

/* Process to Pay Button */
.process-btn {
  width: 100%;
  padding: 12px;
  background: #14b396;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
  transition: background 0.3s;
}

.process-btn:hover {
  background: rgb(16, 139, 117);
}

.close {
  cursor: pointer;
  float: right;
  font-size: 20px;
  margin-right:5px;
}

@media screen and (max-width: 600px) {
  .tab-container {
    flex-direction: row;
    border-radius: 15px 15px 0 0;
  }
  .tab-select1,
  .tab-select2 {
    font-size: 14px;
    padding: 10px;
  }
  .amount-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .amount-box {
    flex: 1 1 30%;
    min-width: 70px;
    text-align: center;
  }
  .img-qr {
    width: 150px;
    height: 150px;
  }
  .donate-using,
  .scan-donate {
    font-size: 10px;
  }

  .popup-box {
    width: 100%;
    height: 100%;
    /* max-width: 350px; */
    /* max-height: 100vh; Prevent it from going out */
    overflow-y: auto; 
  }

  .popup-body {
    padding: 10px 15px;
  }

  .process-btn {
    font-size: 14px;
    padding: 10px;
  }


  .popup-header h2 {
    font-size: 14px; /* Mobile ke liye thoda chhota */
}

.popup-header .close {
    font-size: 20px;
}

.popup-body {
    padding: 10px 15px;
}

.popup-subtitle {
    font-size: 12px;
}

.input-group label {
    font-size: 12px;
}

.input-group input {
    font-size: 13px;
    padding: 0px 0;
}

.process-btn {
    font-size: 14px;
    padding: 5px;
}

/* Success Modal Box */
.success-box {
    width: 90%;
    max-width: 300px;
    padding: 20px;
}

.success-box h2 {
    font-size: 18px;
}

.success-box p {
    font-size: 14px;
}

.success-btn {
    font-size: 14px;
    padding: 5px 15px;
}

.item-price {
  font-size: 14px;
  color: #0d2366;
  margin-right: 10px;
  /* max-width: 100px; */
  width: 60px;
}
.item-name {
  /* font-weight: bold; */
  font-size: 13px;
  color: #515978;
}
}



.container {
  max-width: 500px;
  margin: auto;
  background: #fff;
  padding: 10px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

.item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.item-info {
  flex: 1;
}



.item-optional {
  font-size: 12px;
  opacity: 0.6;
  margin-top: -7px;
}


.quantity-control {
  display: flex;
  align-items: center;
  /* gap: 5px; */
  border: 1px solid #eee;
}

.quantity-control button {
  padding: 0px 10px;
  /* font-size: 14px; */
  cursor: pointer;
  color: #14b396;
}

.containerPrice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: 15px; */
  border: 1px solid #eee;
  padding: 5px 15px;
  background: #fcfbfb;
  /* height: 36px; */

}

.quantity-control span {
  min-width: 20px;
  text-align: center;
  display: inline-block;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  font-size: 14px;
  padding: 0px 10px;
  background: #ffffff;
}

.total-btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: default;
  text-align: center;
}

