.page-bills {
  background: linear-gradient(180deg, #eef5ff 0%, #f9fcff 100%);
  min-height: 100vh;
}

.subpage-topbar {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 12px;
  background: linear-gradient(135deg, #095dff 0%, #0039d8 72%);
  color: #fff;
}

.subpage-topbar h1 {
  margin: 0;
  font-size: 18px;
  text-align: center;
}

.subpage-topbar .back-button {
  color: #fff;
  font-size: 36px;
  text-decoration: none;
  line-height: 1;
}

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

.bills-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(8, 21, 55, 0.06);
  overflow: hidden;
}

.bills-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(13, 59, 151, 0.06);
}

.bills-list li:last-child {
  border-bottom: none;
}

.bill-info strong {
  display: block;
  font-size: 15px;
  color: #081537;
}

.bill-info small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #5a6f94;
}

.bill-amt {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.bill-amt.in {
  color: #0a7a3e;
}

.bill-amt.out {
  color: #d4380d;
}

.bills-empty {
  justify-content: center;
  color: #5a6f94;
  padding: 36px 16px !important;
}
