/* Partner — Payment History / Wallet */

.wallet-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.wallet-summary__label {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wallet-summary__balance {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.wallet-balance-pending {
  opacity: 0.5;
  font-weight: 600;
}

.wallet-section {
  margin-bottom: 1.5rem;
}

.wallet-section__title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.wallet-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
}

.wallet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.wallet-table th,
.wallet-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  vertical-align: top;
}

.wallet-table th {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
}

.wallet-table tr:last-child td {
  border-bottom: 0;
}

.wallet-amount--credit {
  color: #b8e8c1;
}

.wallet-amount--debit {
  color: #f0c9a8;
}

.wallet-status {
  display: inline-flex;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wallet-status--pending {
  background: rgba(232, 168, 124, 0.15);
  color: #f0c9a8;
}

.wallet-status--approved {
  background: rgba(143, 209, 158, 0.15);
  color: #b8e8c1;
}

.wallet-status--rejected {
  background: rgba(240, 168, 168, 0.15);
  color: #f0a8a8;
}

.wallet-topup-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.wallet-empty {
  margin: 0;
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}
