/* Title Header */
.wallet_page_wrapper .title_icon_circle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background-color: #f5e9e8;
  color: #820802;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.wallet_page_wrapper .page_main_title {
  color: #820802;
  font-size: 1.5rem;
}

/* Balance Card */
.wallet_page_wrapper .wallet_balance_card {
  background-color: #f4f0ef;
  border: 1px solid #f3e6e4;
  border-radius: 14px;
}

.wallet_page_wrapper .balance_display {
  color: #820802;
  font-size: 2.2rem;
  letter-spacing: -0.5px;
  word-break: break-word;
}

.wallet_page_wrapper .btn_add_money {
  background-color: #820802;
  border: 1px solid #820802;
  color: #ffffff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.wallet_page_wrapper .btn_add_money:hover {
  background-color: #a30a03;
  border-color: #a30a03;
}

.wallet_page_wrapper .btn_withdraw_money {
  background-color: #ffffff;
  border: 1px solid #820802;
  color: #820802;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.wallet_page_wrapper .btn_withdraw_money:hover {
  background-color: #fdf2f1;
}

/* Transaction Card & Header */
.wallet_page_wrapper .transaction_container {
  border: 1px solid #f0e4e2;
}

.wallet_page_wrapper .transaction_header {
  background-color: #820802;
  color: #ffffff;
}

/* Table Styling */
.wallet_page_wrapper .table-responsive {
  -webkit-overflow-scrolling: touch;
}

.wallet_page_wrapper .custom_transaction_table {
  min-width: 650px;
}

.wallet_page_wrapper .custom_transaction_table th {
  background-color: #faf6f5;
  color: #475569;
  font-size: 0.825rem;
  font-weight: 600;
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.wallet_page_wrapper .custom_transaction_table td {
    padding: 12px 14px;
    text-wrap-mode: nowrap;
    font-size: 0.875rem;
    border-bottom: 1px solid #f1f5f9;
}

.wallet_page_wrapper .type_badge {
  text-transform: capitalize;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-block;
}

.wallet_page_wrapper .badge_credit {
  background-color: #dcfce7;
  color: #15803d;
}

.wallet_page_wrapper .badge_debit {
  background-color: #fee2e2;
  color: #b91c1c;
}

/* Empty State Styling */
.wallet_page_wrapper .empty_state_wrapper {
  background-color: #ffffff;
}

.wallet_page_wrapper .empty_icon_wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #fcf1ef;
  color: #820802;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.wallet_page_wrapper .empty_state_title {
  color: #820802;
}

.wallet_page_wrapper .max-width-text {
  max-width: 380px;
  line-height: 1.5;
}

/* Breakpoints */

/* Tablet & Desktop Layout */
@media (min-width: 576px) {
  .wallet_page_wrapper .btn_add_money,
  .wallet_page_wrapper .btn_withdraw_money {
    width: auto;
  }
}

@media (min-width: 768px) {
  .wallet_page_wrapper .page_main_title {
    font-size: 1.75rem;
  }

  .wallet_page_wrapper .balance_display {
    font-size: 2.5rem;
  }

  .border-end-md {
    border-right: 1px solid #ebd3d0;
  }
}

/* Mobile Small Devices */
@media (max-width: 767.98px) {
  .wallet_page_wrapper .balance_col {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #ebd3d0;
  }

  .wallet_page_wrapper .custom_transaction_table th,
  .wallet_page_wrapper .custom_transaction_table td {
    padding: 10px 12px;
  }
}