.wallet_container {
  margin-top: 0px;
}

.wallet_container .wallet_header {
  background: linear-gradient(135deg, #3e7d32 0%, #92c743 100%);
  color: #fff !important;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wallet_container .wallet_header::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -90px;
  right: -50px;
}

.wallet_container .wallet_header::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 202, 2, 0.12);
  bottom: -70px;
  left: -40px;
}

.wallet_container .wallet_title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.wallet_container .balance_amount {
  font-size: 40px;
  font-weight: 700;
  margin: 1.5rem 0;
  position: relative;
  z-index: 1;
}

.wallet_container .balance_label {
  font-size: 1.2rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.wallet_container .action_buttons_container {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin: 2rem 0;
}

.wallet_container .action_buttons_container .Green_btn_holder .Green_btn {
  padding: 10px 30px;
}

.wallet_container .green_btn {
  background: #92c743;
  border: none;
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wallet_container .green_btn:hover {
  background: #3e7d32;
  transform: translateY(-2px);
}

.wallet_container .transaction_history_card {
  background: #fff;
  border: 1px solid #e1e7d8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(62, 125, 50, 0.08);
}

.wallet_container .transaction_header {
  background: #3e7d32;
  color: #fff;
  padding: 13px 15px;
  font-size: 18px;
  font-weight: 700;
  border: none;
}

.wallet_container .Table_holder thead {
  position: sticky;
  top: 0;
  z-index: 12;
}

.wallet_container .Table_holder .table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: max-content;
  margin-bottom: 0;
}

.wallet_container .Table_holder {
  max-height: 300px;
  overflow: auto;
  border: 1px solid #e1e7d8;
  border-top: none;
  scrollbar-width: thin;
  scrollbar-color: #92c743 #f3f8e9;
}

.wallet_container .Table_holder .table-responsive {
  scroll-behavior: smooth;
  height: 100%;
  position: relative;
  overflow: auto;
  scrollbar-width: thin;
}

.wallet_container .transaction_table {
  width: 100%;
  border-collapse: collapse;
}

.wallet_container .transaction_table th {
  background: #f3f8e9;
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  color: #2f0406;
  border-bottom: 1px solid #dce6d0;
  text-wrap-mode: nowrap;
}

.wallet_container .transaction_table td {
  padding: 1rem;
  color: #222;
  font-weight: 500;
  border-bottom: 1px solid #edf0e9;
  text-wrap-mode: nowrap;
  background: #fff;
}

.wallet_container .transaction_table tbody tr {
  transition: 0.2s ease;
}

.wallet_container .transaction_table tbody tr:hover td {
  background: #f8faf3;
}

.wallet_container .credit_amount {
  color: #3e7d32;
  font-weight: 700;
}

.wallet_container .debit_amount {
  color: #a30404;
  font-weight: 700;
}

.wallet_container .credit_badge {
  background: #e7f3d5;
  color: #3e7d32;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid #cce3a9;
}

.wallet_container .debit_badge {
  background: #f9e8e6;
  color: #a30404;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid #e9c8c4;
}

.wallet_container .wallet_top_section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
  margin-bottom: 35px;
}

.wallet_container .wallet_top_section .wallet_balance_card {
  background: linear-gradient(135deg, #3e7d32 0%, #92c743 100%);
  color: #fff;
  padding: 35px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.wallet_container .wallet_top_section .wallet_balance_card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  right: -80px;
  top: -80px;
}

.wallet_container .wallet_top_section .wallet_balance_card::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 202, 2, 0.12);
  left: -40px;
  bottom: -50px;
}

.wallet_container .wallet_top_section .wallet_title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.wallet_container .wallet_top_section .wallet_balance {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}

.wallet_container .wallet_top_section .wallet_subtitle {
  font-size: 15px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.wallet_container .wallet_top_section .wallet_right_section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wallet_container .wallet_top_section .info_card {
  background: #fff;
  padding: 25px;
  border: 1px solid #e1e7d8;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(62, 125, 50, 0.08);
}

.wallet_container .wallet_top_section .info_card p {
  color: #666;
  margin-bottom: 10px;
  font-size: 14px;
}

.wallet_container .wallet_top_section .info_card h3 {
  font-size: 34px;
  color: #3e7d32;
  margin-bottom: 10px;
  font-weight: 700;
}

.wallet_container .wallet_top_section .wallet_btns {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wallet_container .wallet_top_section .wallet_btns .Green_btn_holder,
.wallet_container .wallet_top_section .wallet_btns .Green_Outline_Btn_holder {
  width: 100%;
}

.wallet_container .wallet_top_section .wallet_btns button {
  width: 100%;
}

.wallet_container .Rewards_text_holder {
  border-color: #e1e7d8;
}

.wallet_container .Table_holder::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.wallet_container .Table_holder::-webkit-scrollbar-thumb {
  background: #92c743;
  border-radius: 10px;
}

.wallet_container .Table_holder::-webkit-scrollbar-track {
  background: #f3f8e9;
}

@media (min-width: 576px) and (max-width: 1199.98px) {
  .wallet_container .wallet_top_section .wallet_balance_card {
    padding: 21px;
    height: 184px;
  }

  .wallet_container .wallet_top_section .info_card {
    padding: 13px;
  }

  .wallet_container .wallet_top_section .wallet_btns {
    gap: 9px;
  }

  .wallet_container .wallet_top_section .info_card h3 {
    font-size: 27px;
  }

  .wallet_container .wallet_top_section .info_card p {
    margin-bottom: 3px;
  }

  .wallet_container .wallet_top_section .wallet_balance {
    font-size: 35px;
  }

  .wallet_container .wallet_top_section {
    margin-bottom: 23px;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .wallet_container .wallet_title {
    font-size: 25px;
  }

  .wallet_container .balance_amount {
    font-size: 30px;
  }

  .wallet_container .wallet_top_section .wallet_balance_card {
    height: 174px;
  }

  .wallet_container .transaction_history_card {
    margin: 0;
  }
}

@media (min-width: 0px) and (max-width: 767.98px) {
  .wallet_container .wallet_top_section {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .wallet_container .wallet_top_section .wallet_btns {
    flex-direction: row;
  }

  .wallet_container .wallet_top_section .wallet_title {
    font-size: 17px;
    margin-bottom: 7px;
  }

  .wallet_container .wallet_top_section .wallet_balance {
    font-size: 28px;
  }

  .wallet_container .wallet_top_section .wallet_balance_card {
    height: 125px;
    padding: 15px;
  }

  .wallet_container .wallet_top_section .info_card h3 {
    font-size: 25px;
  }

  .wallet_container .transaction_header {
    font-size: 15px;
  }

  .wallet_container .transaction_table td {
    font-size: 14px;
  }
}

@media (min-width: 0px) and (max-width: 575px) {
  .wallet_container .wallet_title {
    font-size: 16px;
  }

  .wallet_container .balance_amount {
    font-size: 22px;
    margin: 4px 0;
  }

  .wallet_container .balance_label {
    font-size: 16px;
  }

  .wallet_container .wallet_title {
    margin-bottom: 0;
  }

  .wallet_container .wallet_header {
    padding: 10px;
    border-radius: 8px;
  }

  .wallet_container .Green_btn_holder .Green_btn {
    padding: 6px 10px;
  }

  .wallet_container .wallet_top_section .info_card {
    padding: 12px;
  }

  .wallet_container .wallet_top_section .wallet_balance {
    font-size: 22px;
  }

  .wallet_container .wallet_top_section .wallet_title {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .wallet_container .wallet_top_section .wallet_balance_card {
    height: 115px;
    border-radius: 8px;
  }

  .wallet_container .wallet_top_section {
    margin-bottom: 19px;
  }

  .wallet_container .transaction_history_card {
    border-radius: 8px;
  }

  .wallet_container .transaction_header {
    padding: 10px;
  }

  .wallet_container .transaction_table th,
  .wallet_container .transaction_table td {
    padding: 10px;
  }

  .wallet_container .credit_badge,
  .wallet_container .debit_badge {
    padding: 3px 8px;
    font-size: 10px;
  }
}
