.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #f5f5f5;
}

.custom-nav {
  display: flex;
  align-items: center;
  height: 140rpx;
  margin-bottom: 20rpx;
  background-color: #2E82FF;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 0 20rpx;
  padding-top: 44px;
}

.back-icon {
  position: fixed;
  top: 130rpx;
  left: 30rpx;
  z-index: 999;
  width: 40rpx;
  height: 40rpx;
}
/* 
.nav-title {
  flex: 1;
  text-align: center;
  font-size: 34rpx;
  color: #fff;
} */

.notice-list {
  flex: 1;
  padding: 12rpx;
  margin-top: 6rpx;
}

.notice-item {
  display: flex;
  background-color: white;
  border-radius: 16rpx;
  padding: 30rpx 20rpx;
  margin-bottom: 20rpx;
  position: relative;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  max-height: 200rpx;
  overflow: hidden;
}

.notice-left {
  position: relative;
  margin-right: 20rpx;
}

.notice-icon {
  width: 60rpx;
  height: 60rpx;
  padding: 30rpx 0 30rpx 0;
}

.notice-content {
  flex: 1;
  overflow: hidden;
  padding-right: 80rpx;
  display: flex;
  flex-direction: column;
  max-height: 200rpx;
}

.notice-title {
  font-size: 32rpx !important;
  font-weight: 500;
  margin-bottom: 10rpx;
  color: rgba(46, 48, 56, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-desc {
  font-size: 30rpx !important;
  color: rgba(104, 108, 128, 1);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  max-height: 84rpx;
}

.notice-date {
  font-size: 24rpx;
  color: #999;
  position: absolute;
  top: 30rpx;
  right: 20rpx;
}

.notice-footer {
  text-align: center;
  font-size: 24rpx;
  color: #999;
  padding: 20rpx 0;
  margin-bottom: 20rpx;
}

/* 添加Tab样式 */
.tab-container {
  display: flex;
  width: 100%;
  margin-top: 175rpx;
  justify-content: space-around;
  align-items: center;
  border-bottom: 1rpx solid #eee;
  background-color: rgba(46, 130, 255, 1);
  z-index: 999;
}

.tab-item {
  position: relative;
  flex: 1;
  height: 80rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20rpx;
}

.tab-text {
  text-align: center;
  font-size: 32rpx;
  font-weight: 400;
  color: white;

  z-index: 9;
}

.tab-right {
  position: absolute;
  right: 20rpx;
  display: flex;
  align-items: center;
}

.unread-badge {
  position: absolute;
  right: 80rpx;
  top: -7rpx;
  min-width: 32rpx;
  height: 32rpx;
  background: #ff4d4f;
  color: white;
  border-radius: 16rpx;
  font-size: 20rpx;
  text-align: center;
  line-height: 32rpx;
  padding: 0 6rpx;
}

.clean-icon {
  width: 36rpx;
  height: 36rpx;
  margin-left: 15rpx;
  background-color: rgba(46, 130, 255, 0.15);
  border-radius: 50%;
  padding: 10rpx;
  box-sizing: content-box;
  box-shadow: 0 0 8rpx rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.clean-icon:active {
  transform: scale(1.1);
  background-color: rgba(46, 130, 255, 0.25);
}

.tab-item.active {
  color: #1890ff;
  border-bottom: 4rpx solid #220af7;
}

/* 未读消息红点 */
.unread-dot {
  position: absolute;
  top: 25rpx;
  right: 0rpx;
  width: 16rpx;
  height: 16rpx;
  background-color: #ff4d4f;
  border-radius: 50%;
}

.notice-content {
  flex: 1;
}

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

.notice-desc {
  font-size: 28rpx;
  color: #666;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

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

.tab-divider {
  width: 2rpx;
  height: 40rpx;
  background-color: rgba(247, 248, 249, 1);
  margin: 0 10rpx;
}
