.modalWide {
  max-width: 720px;
}

.body {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.txList {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
}

.txCard {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.55);
}

.txHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.txType {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.txAmount {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.txMeta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
  font-size: 12px;
  color: var(--text-secondary);
}

.txMetaItem strong {
  color: var(--text-primary);
  font-weight: 600;
}

.statusBadge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
}

.statusPending {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
}

.statusCompleted {
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
}

.statusFailed {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.12);
}

.statusRefunded {
  color: #6d28d9;
  background: rgba(139, 92, 246, 0.12);
}

.empty {
  font-size: 13px;
  color: var(--text-muted);
  padding: 12px 0;
}

.summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.summaryLabel {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.summaryValue {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

@media (max-width: 640px) {
  .txMeta {
    grid-template-columns: 1fr;
  }
}
