.wallet-ledger-list-page__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wallet-ledger-list-page__panel {
  border: 1px solid var(--admin-page-section-border);
  border-radius: var(--admin-page-section-radius);
  background: #ffffff;
  overflow: hidden;
}

.wallet-ledger-list-page__panel .search-filter-toolbar {
  margin: 0;
  padding: 24px;
  border: 0;
  border-bottom: 1px solid var(--admin-page-table-divider);
  border-radius: 0;
}

.wallet-ledger-list-page__details {
  padding: 24px 24px 0;
  background: #ffffff;
}

.wallet-ledger-list-page__details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 24px;
  padding: 24px;
  border-radius: var(--admin-page-section-radius);
  background: #f8fafc;
}

.wallet-ledger-list-page__detail-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.wallet-ledger-list-page__detail-label {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.4;
}

.wallet-ledger-list-page__detail-value {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.wallet-ledger-list-page__table {
  padding: 24px 24px 0;
  background: #ffffff;
}

.wallet-ledger-list-page__table section {
  margin: 0;
  border: 1px solid var(--admin-page-section-border);
  border-radius: var(--admin-page-section-radius);
  overflow: auto;
  box-shadow: none;
}

.wallet-ledger-list-page__table-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.wallet-ledger-list-page__table-element {
  min-width: 1560px;
  width: 100%;
  border-collapse: collapse;
}

.wallet-ledger-list-page__table-element tbody td {
  padding: 14px 16px;
  text-align: left;
  color: var(--admin-page-table-body-color);
  font-size: 14px;
  line-height: 1.5;
  vertical-align: middle;
  border-bottom: 1px solid var(--admin-page-table-divider);
}

.wallet-ledger-list-page__table-element tbody tr:last-child td {
  border-bottom: 0;
}

.wallet-ledger-list-page__table-element tbody tr:hover td {
  background: #fcfdff;
}

.wallet-ledger-list-page__entry-id-column {
  width: 140px;
  max-width: 140px;
}

.wallet-ledger-list-page__table-element
  tbody
  td.wallet-ledger-list-page__entry-id-column,
.wallet-ledger-list-page__table-element
  thead
  th.wallet-ledger-list-page__entry-id-column {
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.wallet-ledger-list-page__amount-cell {
  font-weight: 600;
}

.wallet-ledger-list-page__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
}

.wallet-ledger-list-page__badge--credit {
  background: #dcfce7;
  color: #15803d;
}

.wallet-ledger-list-page__badge--debit {
  background: #fee2e2;
  color: #dc2626;
}

.wallet-ledger-list-page__badge--expire {
  background: #ffedd5;
  color: #ea580c;
}

.wallet-ledger-list-page__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wallet-ledger-list-page__action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #667085;
  text-decoration: none;
}

.wallet-ledger-list-page__action-button:hover {
  color: #0f172a;
}

.wallet-ledger-list-page__action-button .adminjs_Icon {
  width: 16px;
  height: 16px;
}

.wallet-ledger-list-page__empty-state {
  padding: 36px 20px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

.wallet-ledger-list-page__footer {
}

.wallet-ledger-list-page__summary {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .wallet-ledger-list-page__stats-grid,
  .wallet-ledger-list-page__details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .wallet-ledger-list-page__stats-grid,
  .wallet-ledger-list-page__details-grid {
    grid-template-columns: 1fr;
  }

  .wallet-ledger-list-page__panel .search-filter-toolbar,
  .wallet-ledger-list-page__details,
  .wallet-ledger-list-page__table {
    padding-left: 16px;
    padding-right: 16px;
  }

  .wallet-ledger-list-page__panel .search-filter-toolbar {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .wallet-ledger-list-page__details {
    padding-top: 16px;
  }

  .wallet-ledger-list-page__details-grid {
    padding: 18px;
  }

  .wallet-ledger-list-page__table-element tbody td {
    padding: 14px 16px;
  }
}
