/* --- Fonts & Reset --- */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f6f8fa;
  margin: 0;
  color: #222;
}

/* --- Header --- */
.transaction-header {
  background: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
}

.transaction-header h1 {
  font-size: 1.2rem;
  margin: 0;
}

.back-button {
  font-size: 1.4rem;
  background: none;
  border: none;
  color: #003366;
  cursor: pointer;
  margin-right: 1rem;
}

/* --- Wallet Summary --- */
.wallet-summary {
  padding: 1.5rem;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.balance-box {
  background: linear-gradient(135deg, #003366, #0055aa);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
}

.balance {
  font-size: 1.7rem;
  font-weight: 600;
}

.label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.3rem;
  display: block;
}

/* --- Transaction Container --- */
.transaction-container {
  padding: 1.5rem;
}

.transaction-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.transaction-header-bar select {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-left: 0.5rem;
}

/* --- Transaction List --- */
.transaction-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.transaction-item {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.transaction-item div:first-child {
  flex: 1;
}

.transaction-item .ref {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.2rem;
  word-break: break-all;
}

.transaction-item .amount {
  font-weight: 600;
  color: #e53935;
  font-size: 1rem;
  margin-left: 1rem;
  white-space: nowrap;
}

/* --- Load More --- */
.load-more-container {
  text-align: center;
  margin-top: 1rem;
}

#loadMoreBtn {
  padding: 0.7rem 1.5rem;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease-in-out;
}

#loadMoreBtn:hover {
  background-color: #002244;
}
