.rchg_depo_wdrl_hstry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 5%;
  place-items: center;
  margin: 2% 0%;
}
.Rechrge_hstry_btn {
  background-color: #00c853;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 2% 4%;
  border-radius: 10px;
  cursor: pointer;
}
.wthdrawl_hstry_btn {
  background-color: #dc3545;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 2% 4%;
  border-radius: 10px;
  cursor: pointer;
}
.dpste_hstry_btn {
  background-color: #ffc107;
  color: #333;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 2% 4%;
  border-radius: 10px;
  cursor: pointer;
  grid-column: 3;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 60% !important;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0, 0.2);
  border-radius: 1rem !important;
  outline: 0;
  height: 60% !important;
}
.close {
  cursor: pointer;
  color: red;
  text-align: right;
  margin-right: 30px;
  margin-top: 5px;
}
.transaction-history {
display: flex;
height: auto;
flex-wrap: wrap;
box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.3);
border-radius: 10px;
padding: 2%;
width: 80%;
margin: 1% auto;
}
.transaction-history-M {
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: scroll;
  height: 60% !important;
  padding: 0% 5%;
  scroll-behavior: smooth;
  scrollbar-width: none;
  height: 85% !important;
}

.transaction_history_amount_ {
width: 50%;
display: flex;
flex-direction: row;
gap: 5%;
}
.transaction_history_amount_trnscon_id {
width: 50%;
display: flex;
flex-direction: row;
gap: 5%;
opacity: 0.7;
}
.transaction_history_amount_desc {
width: 100%;
display: flex;
flex-direction: row;
gap: 5%;
}
.transaction_history_amount_status {
width: 50%;
display: flex;
flex-direction: row;
gap: 5%;
}
.transaction_history_amount_status_failed {
width: 50%;
display: flex;
flex-direction: row;
gap: 5%;
}
.transaction_history_amount_status_failed span{
color: red;
font-size: 1rem;
}
.transaction_history_amount_status span{
color: green;
font-size: 1rem;
}


.transaction_history_amount_status_proccess {
  width: 50%;
  display: flex;
  flex-direction: row;
  gap: 5%;
  }

.transaction_history_amount_status_proccess span{
  color: rgb(199, 196, 8);
  font-size: 1rem;
  }

.transaction_history_amount_date {
width: 50%;
display: flex;
flex-direction: row;
gap: 5%;
opacity: 0.6;
}

.recharge_container_head {
  display: flex;
  justify-content: center;
}
.recharge_container {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 400px;
  text-align: center;
}
.balance {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}
.withdraw_container_head {
  display: none;
  justify-content: center;
}
.recharge_container input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}
.withdraw_container input{
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}
.btn-recharge {
  background: #007bff;
  color: white;
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 2%;
}
.btn_withdraw_text {
  border: none;
  margin-top: 2%;
  background: #EF9651;
  color: white;
  font-size: 1.5rem;
  border-radius: 10px;
  background: url('/frontend/Images/Withdraw_banner.png');
  height: 360px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
}
.btn_withdraw_text span {
  text-decoration: underline;
}
.withdraw_container {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 400px;
  text-align: center;
}
.btn-withdraw {
  background: #5F8B4C;
  color: white;
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 2%;
}
#switch_to_recharge {
  padding: 5%;
}
.recharge_container_head, .withdraw_container_head{
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none; /* Prevent interaction when hidden */
}

.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
body.no-scroll{
  overflow: hidden;
}
.modal-content h2 {
  font-size: 1.1rem !important;
  text-align: center !important;
  padding-bottom: 12px;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
}
@media (max-width: 480px){
.Rechrge_hstry_btn {
  font-size: 0.8rem;
  font-weight: 500;
  text-wrap: nowrap;
  padding: 5%;
}
.btn-recharge {
width: 100%;
}
.dpste_hstry_btn {
font-size: 0.8rem;
font-weight: 500;
padding: 5%;
text-wrap: nowrap;
}
.modal-content li{
font-size: 1rem;
padding: 0 !important;
margin-bottom: 5%;
}
.modal-content{
width: 85% !important;
height: 85% !important;
padding-bottom: 10px !important;
}
#switch_to_recharge{
font-size: 1rem;
      border-radius: 10px;
      width: 100%;
      margin-top: 10%;
}
.btn_withdraw_text {
font-size: 1rem;
border-radius: 10px;
width: 100%;
margin-top: 10%;
}
.btn-withdraw{
width: 100%;
padding: 10px;
}
.rchg_depo_wdrl_hstry {
width: 90%;
margin: 5% auto;
}
.wthdrawl_hstry_btn {
font-size: 0.8rem;
font-weight: 500;
padding: 5%;
text-wrap: nowrap;
}
.transaction-history{
  width: 95%;
  font-size: 0.7rem;
}
.transaction-history-M{
  height: 90% !important;
}
.transaction_history_amount_desc, .transaction_history_amount_date, .transaction_history_amount_status_proccess, .transaction_history_amount_trnscon_id, .transaction_history_amount_{
  gap: 2%;
}
.transaction_history_amount_status_proccess span {
  font-size: 0.7rem;
}
.transaction_history_amount_status span {
  font-size: 0.7rem;
}
.recharge_container h2{
  font-size: 1.2rem !important;
}
.balance {
  font-size: 0.8rem;
}
.withdraw_container h2{
  font-size: 1.2rem !important;
}
.slider-confirmation-container{
  margin-bottom: 5%;
}
}

@media (min-width: 481px) and (max-width: 767px) {
  .Rechrge_hstry_btn {
      font-size: 1rem;
      font-weight: 600;
      text-wrap: nowrap;
      padding: 5%;
  }
  .btn-recharge {
  width: 100%;
  }
  .dpste_hstry_btn {
    font-size: 1rem;
    font-weight: 600;
    padding: 5%;
    text-wrap: nowrap;
  }
  .modal-content li{
    font-size: 1rem;
    padding: 0 !important;
    margin-bottom: 5%;
  }
  .modal-content{
    width: 85% !important;
    height: 85% !important;
    padding-bottom: 10px !important;
    }
  #switch_to_recharge{
    font-size: 1rem;
          border-radius: 10px;
          width: 100%;
          margin-top: 10%;
  }
  .btn_withdraw_text {
    font-size: 1rem;
    border-radius: 10px;
    width: 100%;
    margin-top: 10%;
  }
  .btn-withdraw{
    width: 100%;
    padding: 10px;
  }
  .rchg_depo_wdrl_hstry {
    width: 90%;
    margin: 5% auto;
  }
  .transaction-history-M{
    height: 90% !important;
  }
  .wthdrawl_hstry_btn {
    font-size: 1rem;
    font-weight: 600;
    padding: 5%;
    text-wrap: nowrap;
  }
  .transaction_history_amount_desc, .transaction_history_amount_date, .transaction_history_amount_status_proccess, .transaction_history_amount_trnscon_id, .transaction_history_amount_{
    gap: 2%;
  }
  .transaction_history_amount_status_proccess span {
    font-size: 0.7rem;
  }
  .recharge_container h2{
    font-size: 1.4rem !important;
  }
  .balance {
    font-size: 1rem;
  }
  .withdraw_container h2{
    font-size: 1.4rem !important;
  }
}

@media (min-width: 768px) and (max-width: 991px){
  .Rechrge_hstry_btn {
      font-size: 1rem;
      font-weight: 600;
      text-wrap: nowrap;
      padding: 5%;
    }
    .btn-recharge {
    width: 100%;
    }
    .dpste_hstry_btn {
    font-size: 1rem;
    font-weight: 600;
    padding: 5%;
    text-wrap: nowrap;
    }
    .modal-content li{
    font-size: 1rem;
    padding: 0 !important;
    margin-bottom: 5%;
    }
    .modal-content{
      width: 85% !important;
      height: 85% !important;
      padding-bottom: 10px !important;
      }
      .transaction-history-M {
        height: 90% !important;
    }
    #switch_to_recharge{
    font-size: 1rem;
          border-radius: 10px;
          width: 100%;
          margin-top: 10%;
    }
    .btn_withdraw_text {
    font-size: 1rem;
    border-radius: 10px;
    width: 100%;
    margin-top: 10%;
    }
    .btn-withdraw{
    width: 100%;
    padding: 10px;
    }
    .rchg_depo_wdrl_hstry {
    width: 90%;
    margin: 5% auto;
    }
    .wthdrawl_hstry_btn {
    font-size: 1rem;
    font-weight: 600;
    padding: 5%;
    text-wrap: nowrap;
    }
}
