.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: 120rpx;
  left: 25rpx;
  z-index: 999;
  width: 40rpx;
  height: 40rpx;
}


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


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

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

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

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

.id-icon, .address-icon {
  width: 40rpx;
  height: 40rpx;
  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;
}

/* 修改搜索容器样式 */
.search-container {
  position: fixed;
  top: 360rpx; /* 调整位置到用户信息下方 */
  left: 0;
  padding: 12rpx 24rpx 0rpx 36rpx;
  box-sizing: border-box;
  z-index: 20; /* 确保在背景之上 */
}

/* 修改搜索按钮样式 */
.search-button {
  padding: 15rpx 20rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
  border-radius: 16rpx;
  background: rgba(255, 255, 255, 0.3);
}

.search-button text {
  font-size: 28rpx;
  color: rgba(255, 255, 255, 1);
  margin-left: 12rpx;
}

.search-icon {
  width: 30rpx;
  height: 30rpx;
}

/* 调整账单列表容器位置 */
.bill-list-wrapper {
  position: fixed;
  top: 450rpx; /* 调整位置，为搜索按钮留出空间 */
  left: 0;
  width: 100%;
  height: calc(100vh - 450rpx);
  z-index: 15;
  overflow: hidden;
}

/* 调整账单列表样式 */
.bill-list {
  width: 100%;
  height: 100%;
  padding: 0 24rpx;
  box-sizing: border-box;
  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: rgba(247, 248, 249, 1);
  padding: 20rpx 30rpx;
  font-size: 34rpx;
  font-weight: 500;
  color: rgba(22, 23, 27, 1);
  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;
  margin-top: -90rpx;
}

.water-icon {
  width: 52rpx;
  height: 56rpx;
}

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

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

/* 移除之前的水滴图标样式 */
.bill-number {
  font-size: 36rpx;
  font-weight: 600;
  color: rgba(46, 48, 56, 1);
  margin-bottom: 10rpx;
}

.bill-amount {
  font-size: 40rpx;
  font-weight: 500;
  color: rgba(46, 48, 56, 1);
}

.bill-usage {
  font-size: 30rpx;
  font-weight: 400;
  color: rgba(100, 108, 128, 1);
  margin-bottom: 15rpx;
}

.bill-payment-time {
  font-size: 28rpx;
  font-weight: 400;
  color: rgba(100, 108, 128, 1);
  padding-bottom: 10rpx;
}

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

.paid {
  color: rgba(44, 232, 94, 1);
}

.unpaid {
  color: rgba(239, 93, 93, 1);
}

.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;
}

/* 删除原有的年份选择器样式，替换为以下样式 */
.picker-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.picker-container-modal {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: #fff;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}

.picker-container-modal.show {
  bottom: 0;
}

.picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20rpx 30rpx;
  border-bottom: 1rpx solid #eee;
}

.picker-cancel, .picker-confirm {
  font-size: 32rpx;
  padding: 10rpx;
}

.picker-cancel {
  color: #999;
}

.picker-confirm {
  color: #2E82FF;
}

.picker-title {
  font-size: 32rpx;
  color: #333;
}

/* 修改年份选择器样式 */
.year-picker {
  width: 100%;
  height: 400rpx;
}

.picker-item {
  line-height: 100rpx;
  text-align: center;
  font-size: 36rpx;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100rpx;
}

/* 修改选中项样式 */
.picker-view-indicator {
  height: 100rpx;
}

/* 添加选中项的样式 */
.picker-view-column view.picker-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
