.container {
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 30rpx;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 300rpx;
  z-index: 5;
}

.header .background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(46, 130, 255, 1) 0%, rgba(46, 130, 255, 1) 84.9%, rgba(46, 130, 255, 0) 100%);
}

/* 固定返回按钮样式 */
.fixed-back {
  position: fixed;
  top: 50rpx;
  left: 30rpx;
  z-index: 999;
  border-radius: 50%;
  width: 50rpx;
  height: 200rpx;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 1);
}


.header-title {
  text-align: center;
  font-size: 36rpx;
  margin-bottom: 20rpx;
}


.user-info-container {
  position: fixed;
  top: 200rpx;
  left: 0;
  width: 100%;
  padding: 0 30rpx;
  box-sizing: border-box;
  z-index: 10;
}

.user-info {
  background-color: transparent;
  color: white;
  padding: 20rpx 20rpx;
  width: 100%;
}

.user-name {
  font-size: 40rpx;
  font-weight: bold;
  margin-bottom: 20rpx;
}

.user-id, .user-address {
  display: flex;
  align-items: center;
  font-size: 28rpx;
  margin-bottom: 10rpx;
  color: rgba(255, 255, 255, 0.9);
}

.id-icon, .address-icon {
  width: 30rpx;
  height: 30rpx;
  margin-right: 10rpx;
}

.bill-list-container {
  flex: 1;
  padding: 20rpx;
  margin-top: 30rpx;
}

.bill-date-section {
  font-size: 32rpx;
  font-weight: bold;
  padding: 20rpx 10rpx;
  color: #333;
}

.address-info {
  display: flex;
  align-items: center;
  margin-bottom: 30rpx;
  padding: 20rpx 0;
}

.address-icon image {
  width: 40rpx;
  height: 40rpx;
  margin-right: 10rpx;
}

.address-text {
  font-size: 28rpx;
  color: #333;
}

/* 添加固定高度的外层容器 */
.bill-list-wrapper {
  position: fixed;
  top: 400rpx;
  left: 0;
  width: 100%;
  height: calc(100vh - 400rpx); /* 计算剩余高度 */
  z-index: 30;
  overflow: hidden;
}

/* 调整账单列表样式 */
.bill-list {
  width: 100%;
  height: 100%;
  padding: 0 30rpx;
  box-sizing: border-box;
  margin-top: 0; 
  padding-bottom: 50rpx;
}

.bill-card {
  width: 100%;
  border-radius: 12rpx;
  overflow: hidden;
  margin-bottom: 30rpx;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
}

.bill-date {
  background-color: #f5f5f5;
  padding: 20rpx 30rpx;
  font-size: 28rpx;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1rpx solid #f0f0f0;
}

.paid-date {
  background-color: #f5f5f5;
}

.invoice-btn {
  color: #1989fa;
  font-size: 26rpx;
}

/* 调整账单信息布局 */
.bill-info {
  background-color: #fff;
  padding: 20rpx 30rpx;
  display: flex;
  justify-content: space-between;
}

/* 水滴图标区域 */
.bill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15rpx;
}

.water-icon {
  width: 40rpx;
  height: 40rpx;
}

/* 账单信息左侧区域 */
.bill-info-left {
  flex: 1;
}

/* 账单信息右侧区域 */
.bill-info-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 移除之前的水滴图标样式 */
.bill-number {
  font-size: 26rpx;
  color: #666;
  margin-bottom: 10rpx;
}

.bill-amount {
  font-size: 36rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 10rpx;
}

.bill-usage {
  font-size: 24rpx;
  color: #999;
  margin-bottom: 10rpx;
}

.bill-payment-time {
  font-size: 24rpx;
  color: #999;
  margin-bottom: 10rpx;
}

.bill-status {
  font-size: 26rpx;
  text-align: right;
}

.paid {
  color: #07c160;
}

.unpaid {
  color: #ff4d4f;
}

.no-more {
  text-align: center;
  color: #999;
  font-size: 26rpx;
  padding: 30rpx 0;
}
.no-data {
  text-align: center;
  color: #999;
  font-size: 26rpx;
  padding: 250rpx 0;
}

.bill-action {
  margin-top: 20rpx;
  display: flex;
  justify-content: flex-end;
}

.pay-btn {
  background-color: #ff4d4f;
  color: white;
  font-size: 28rpx;
  padding: 10rpx 40rpx;
  border-radius: 30rpx;
  line-height: 1.5;
}

.detail-btn {
  background-color: #f0f0f0;
  color: #333;
  font-size: 28rpx;
  padding: 10rpx 40rpx;
  border-radius: 30rpx;
  line-height: 1.5;
}

.list-end {
  text-align: center;
  color: #999;
  font-size: 26rpx;
  padding: 30rpx 0;
}

.empty-list {
  text-align: center;
  color: #999;
  font-size: 28rpx;
  padding: 100rpx 0;
}

/* 未缴费金额标红 */
.unpaid-amount {
  color: #ff4d4f;
}