/* Wallet Page Styles - Harvest Era Theme */
.wallet_container {
  margin: 5% 0%;
}

.wallet_container .wallet_header {
  background: #df4223;
  color: #fff !important;
  padding: 1.5rem;
  border-radius: 0;
  margin-bottom: 2rem;
  text-align: center;
}

.wallet_container .wallet_title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.wallet_container .balance_amount {
  font-size: 40px;
  font-weight: bold;
  margin: 1.5rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.wallet_container .balance_label {
  font-size: 1.2rem;
  opacity: 0.9;
}

.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: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border: none;
  color: white;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.wallet_container .green_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.wallet_container .transaction_history_card {
  /* background: white; */
  /* border-radius: 15px; */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-top: 2rem;
}

.wallet_container .transaction_header {
  background: #048048;
  color: #ffffff;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
  border: 1px solid black;
  border-bottom: none;
}

.wallet_container .Table_holder thead {
  position: sticky;
  top: 0;
  /* background: #f8f8f8; */
  z-index: 12;
}

.wallet_container .Table_holder .table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: max-content;
}

.wallet_container .Table_holder {
  max-height: 300px;
  overflow: auto;
  border: 1px solid #2e2e2e;
  height: 70vh;
}

.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: #9bcfb2;
  padding: 1rem;
  text-align: left;
  font-weight: bold;
  color: #000;
  border-bottom: 1px solid #2f2f2f;
  text-wrap-mode: nowrap;
}

.wallet_container .transaction_table td {
  padding: 1rem;
  color: #000;
  font-weight: 500;
  border-bottom: 1px solid #2e2e2e;
  text-wrap-mode: nowrap;
  background: #f3f3f3;
}

.wallet_container .transaction_table tr:hover {
  background-color: #e2e2e2;
}

.wallet_container .credit_amount {
  color: #28a745;
  font-weight: bold;
}

.wallet_container.wallet_container .debit_amount {
  color: #dc3545;
  font-weight: bold;
}

.wallet_container .credit_badge {
  background: #28a745;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
}

.wallet_container .debit_badge {
  background: #dc3545;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
}

@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;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .wallet_container .wallet_title {
    font-size: 25px;
  }

  .wallet_container .balance_amount {
    font-size: 30px;
  }
}
