* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% -10%, #dbe7ff 0%, var(--bg) 45%, #eef2ff 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
  min-height: 100%;
}

body {
  display: flex;
  justify-content: center;
}

a {
  text-decoration: none;
  color: inherit;
}

.app-shell {
  width: 100%;
  max-width: var(--page-max);
  min-width: var(--page-min);
  min-height: 100vh;
  background: linear-gradient(180deg, #f8f9ff 0%, #f7f8fc 30%, #f3f7ff 100%);
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.06), 0 24px 80px rgba(37, 99, 235, 0.12);
}

.page {
  padding: var(--space-5);
  padding-bottom: 98px;
}

.page-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.section-title {
  margin: 0 0 var(--space-4);
  font-size: 0.95rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.stack {
  display: grid;
  gap: var(--space-4);
}

.muted {
  color: var(--text-secondary);
}

.amount-lg {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.text-right {
  text-align: right;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.status-chip.success {
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
}

.status-chip.pending {
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.divider {
  height: 1px;
  background: rgba(17, 24, 39, 0.08);
  margin: var(--space-3) 0;
}

.pill-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pill {
  border: var(--border);
  background: #fff;
  padding: 10px;
  text-align: center;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 4px;
}

.page-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(37, 99, 235, 0.25);
  cursor: pointer;
}

.page-dot.active {
  width: 22px;
  background: var(--primary);
}
