.notification-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 120rpx;

  &__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32rpx 32rpx 24rpx;
    background: #fff;

    &-left {
      display: flex;
      align-items: center;
      gap: 16rpx;
    }
  }

  &__title {
    font-size: 40rpx;
    font-weight: 700;
    color: #333;
  }

  &__badge {
    background: #ff4d4f;
    color: #fff;
    font-size: 22rpx;
    padding: 4rpx 12rpx;
    border-radius: 20rpx;
    min-width: 36rpx;
    text-align: center;
  }

  &__mark-read {
    font-size: 28rpx;
    color: #667eea;
  }

  // Tab
  &__tabs {
    display: flex;
    padding: 0 32rpx 24rpx;
    background: #fff;
    gap: 24rpx;
  }

  &__tab {
    font-size: 28rpx;
    color: #666;
    padding-bottom: 8rpx;
    border-bottom: 4rpx solid transparent;

    &.active {
      color: #667eea;
      border-bottom-color: #667eea;
    }
  }

  // 列表
  &__list {
    padding: 24rpx 32rpx;
  }

  &__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120rpx 0;

    &-icon {
      font-size: 120rpx;
      margin-bottom: 32rpx;
    }

    &-text {
      font-size: 30rpx;
      color: #999;
    }
  }

  &__loading,
  &__no-more {
    display: flex;
    justify-content: center;
    padding: 32rpx 0;

    text {
      font-size: 26rpx;
      color: #999;
    }
  }
}

// 通知卡片
.notification-card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 16rpx;
  padding: 28rpx;
  margin-bottom: 20rpx;
  box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
  position: relative;

  &.unread {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
  }

  &.read {
    opacity: 0.8;
  }

  &__icon {
    width: 80rpx;
    height: 80rpx;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40rpx;
    margin-right: 24rpx;
    flex-shrink: 0;
  }

  &__content {
    flex: 1;
    min-width: 0;
  }

  &__header {
    display: flex;
    align-items: center;
    gap: 12rpx;
    margin-bottom: 8rpx;
  }

  &__title {
    font-size: 30rpx;
    font-weight: 600;
    color: #333;
  }

  &__dot {
    width: 16rpx;
    height: 16rpx;
    border-radius: 50%;
    background: #ff4d4f;
    flex-shrink: 0;
  }

  &__body {
    font-size: 28rpx;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12rpx;
  }

  &__time {
    font-size: 24rpx;
    color: #999;
  }

  &__delete {
    position: absolute;
    top: 16rpx;
    right: 16rpx;
    width: 48rpx;
    height: 48rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36rpx;
    color: #ccc;

    &:active {
      color: #999;
    }
  }
}
