.container1 {
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 1);
  min-height: 100vh;
  padding-bottom: 30rpx;
}
.logo {
  position: absolute;
  bottom: 80rpx;
  width: 280rpx;
  height: 100rpx;
  top: 60rpx;
  z-index: 2;
}
.header {
  position: relative;
  width: 100%;
  height: 180rpx;
}

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

.header .logo {
  position: relative;
  height: 80rpx;
  margin: 50rpx 0 0 30rpx;
  z-index: 1;
}

.user-info-section {
  padding: 10rpx;
  display: flex;
  flex-direction: column;
}

.info-row {
  display: flex;
  align-items: center;
  margin-bottom: 12rpx;
  position: relative;
}

.info-row .label {
  color: rgba(163, 163, 163, 1);
  font-size: 30rpx;
  font-weight: 400;
  width: 100rpx;
  margin-right: 30rpx;
}

.info-row .value {
  color: rgba(46, 48, 56, 1);
  font-size: 32rpx;
  flex: 1;
}

.switch-btn {
  position: absolute;
  right: 0;
  background-color: rgba(45, 128, 254, 0.12);
  color: #0080ff;
  font-size: 26rpx;
  padding: 8rpx 20rpx;
  border-radius: 30rpx;
}

.amount-section {
  position: relative;
  padding: 5rpx 30rpx;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.section-background {
  position: absolute;
  top: 0rpx;
  left: 0;
  width: 30%;
  height: 40%;
  z-index: 0;
}

.water-drop {
  width: 188rpx;
  position: absolute;
  left: -30rpx;
  bottom: 40rpx; 
  z-index: 1;
}

.amount-display {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.total-amount {
  font-size: 80rpx;
  font-weight: 700;
  color: rgba(239, 93, 93, 1);
}

.amount-label {
  font-size: 32rpx;
  color: rgba(104, 108, 128, 1);
  margin-bottom: 30rpx;
}

.amount-details {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 20rpx;
}

.detail-item {
  text-align: center;
}

.detail-item .number {
  display: block;
  font-size: 48rpx;
  font-weight: 700;
  color: rgba(63, 65, 76, 1);
}

.detail-item .number.blue {
  color: rgba(46, 125, 253, 1);
}

.detail-item .label {
  font-size: 24rpx;
  color: #666;
}

.detail-divider {
  width: 2rpx;
  height: 60rpx;
  background-color: #DDDDDD;
  margin: 0 10rpx;
  align-self: center;
}

.pay-btn {
  width: 100%;
  height: 80rpx;
  line-height: 80rpx;
  background-color: #0080ff;
  color: white;
  font-size: 32rpx;
  border-radius: 40rpx;
  margin: 30rpx auto 0;
}

.function-area {
  margin: 15rpx 30rpx 15rpx;
  background-color: #ffffff;
  border-radius: 20rpx;
  padding: 30rpx;
}

.function-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.function-item {
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20rpx;
  position: relative;
}

.function-item image {
  width: 64rpx;
  height: 64rpx;
  margin-bottom: 10rpx;
}

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

.activity-area {
  margin: 0rpx 30rpx 0rpx;
  background-color: #ffffff;
  border-radius: 20rpx;
  margin-top: -30rpx;
  padding: 30rpx;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
}

.area-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20rpx;
}

.area-header .title {
  font-size: 32rpx;
  color: #333;
  font-weight: bold;
}

.area-header .more {
  font-size: 24rpx;
  color: #999;
}

.activity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.activity-image {
  width: 100%;
  height: 200rpx;
  border-radius: 10rpx;
  margin-bottom: 20rpx;
}

/* 卡片容器样式 */
.cards-container {
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 100;
  margin-top: 40rpx;
  background-color: transparent;
  border-radius: 20rpx;
  overflow: visible;
}

/* 用户信息卡片样式 */
.user-card {
  background-color: #FAFCFF;
  border-radius: 20rpx 20rpx 0 0;
  padding: 18rpx;
  position: relative;
  width: 100%;
  min-height: 220rpx;
  height: auto;
  box-sizing: border-box;
  overflow: visible;
  margin: 0;
  top: 0;
  border-bottom: none;
}

/* 票据式分割线 */
.card-divider {
  position: relative;
  margin: 0 15rpx;
  border: 2rpx dashed rgba(229, 229, 229, 1);
  background-color: white;
  z-index: 1;
}

/* 左侧半圆挖孔 */
.card-divider::before {
  content: "";
  position: absolute;
  left: -30rpx;
  top: -15rpx;
  width: 30rpx;
  height: 30rpx;
  background-color: #0080ff;
  border-radius: 50%;
  z-index: 1;
}

/* 右侧半圆挖孔 */
.card-divider::after {
  content: "";
  position: absolute;
  right: -30rpx;
  top: -15rpx;
  width: 30rpx;
  height: 30rpx;
  background-color: #0080ff;
  border-radius: 50%;
  z-index: 1;
}

/* 水费金额卡片样式 */
.amount-card {
  border-radius: 0 0 20rpx 20rpx;
  padding: 10rpx 30rpx 30rpx 30rpx;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border-top: none;
  background: linear-gradient(135deg, rgba(245, 249, 255, 1) 0%, rgba(252, 253, 255, 1) 50.4%, rgba(242, 247, 255, 1) 100%);
  box-shadow: 0px 2px 4px  rgba(177, 191, 215, 0.6);
}

/* 通知轮播样式 */
.notice-bar {
  display: flex;
  align-items: center;
  padding: 0 20rpx;
  border-radius: 30rpx;
  margin: 0rpx 0 0rpx;
  height: 50rpx;
  overflow: hidden;
}

.notice-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 10rpx;
  width: 30rpx;
  height: 40rpx;
}

.notice-icon image {
  width: 32rpx;
  height: 32rpx;
}

.notice-icon text {
  font-size: 26rpx;
  color: #333;
  white-space: nowrap;
}

.notice-swiper-container {
  flex: 1;
  height: 50rpx;
  overflow: hidden;
  position: relative;
}

.notice-content {
  display: flex;
  align-items: center;
  font-size: 28rpx;
  color: rgba(104, 108, 128, 1);
  line-height: 50rpx;
  white-space: nowrap;
  transform: translateX(100%);
}

.notice-content.scrolling {
  animation: marquee linear forwards;
}

@keyframes marquee {
  from {
    transform: translateX(120%);
  }
  to {
    transform: translateX(-100%);
  }
}

.notice-title {
  color: rgba(104, 108, 128, 1);
  margin-right: 10rpx;
}

.address-row {
  align-items: flex-start !important;
  min-height: 20rpx;
  margin-bottom: 10rpx;
}

.address-value {
  flex: 1;
  word-break: break-all;
  white-space: normal;
  line-height: 1.4;
  padding-right: 10rpx;
  font-size: 28rpx;
}

/* 下拉刷新提示样式 */
.refresh-tip {
  text-align: center;
  padding: 10px 0;
  color: #666;
  font-size: 14px;
}

.pay-btn-hover {
  transform: scale(0.95);
  opacity: 0.9;
  background-color: #0080b0; /* 可以使用稍深一点的颜色 */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 消息通知图标的红点样式 */
.notice-badge {
  position: absolute;
  min-width: 32rpx;
  height: 32rpx;
  line-height: 32rpx;
  border-radius: 16rpx;
  background-color: #ff4d4f;
  color: white;
  font-size: 20rpx;
  text-align: center;
  box-sizing: border-box;
  z-index: 99;
  right: 30rpx;
  top: -5rpx;
  padding: 0 6rpx;
}

/* 针对超过99的情况显示99+ */
.notice-badge-large {
  min-width: 48rpx;
}

