.page-bills {
  background: linear-gradient(180deg, #eef5ff 0%, var(--app-bg) 32%);
}

.bills-main {
  padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px));
}

.bills-tabs {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bills-tabs::-webkit-scrollbar {
  display: none;
}

.bills-tab {
  flex: 0 0 auto;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 6px rgba(26, 45, 77, 0.06);
  white-space: nowrap;
}

.bills-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #0052d9, #003a9e);
  box-shadow: 0 4px 12px rgba(0, 82, 217, 0.25);
}

.bills-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.bills-empty {
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 20px !important;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  display: flex;
}

.bills-empty--illus {
  padding: 20px 16px 28px !important;
}

.bills-empty__visual {
  width: 100%;
  max-width: 280px;
  height: 140px;
  margin: 0 auto 12px;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f8fc;
}

.bills-empty__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bills-empty--illus p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.bill-info {
  flex: 1;
  min-width: 0;
}

.bill-info strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.bill-info small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  word-break: break-word;
}

.bill-amt {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-top: 1px;
}

.bill-amt.in {
  color: var(--gov-green);
}

.bill-amt.out {
  color: var(--gov-red);
}

